Commit Graph

7037 Commits

Author SHA1 Message Date
Mateusz Skowroński
a8d37dabbe QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
Mateusz Skowroński
596155061f QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:59 +02:00
Mateusz Skowroński
d73d7b1de7 Fix includes to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:44 +02:00
Mateusz Skowroński
b6bace2cc4 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-04-15 10:22:08 +02:00
wmayer
be665064b1 + nothing to moc for DAG RectItem class 2016-04-13 19:18:01 +02:00
wmayer
bc0d65e008 + translatable tab name of Start page 2016-04-13 19:05:31 +02:00
wmayer
6bc83bd64f + fix reported Qt warning 2016-04-13 17:16:32 +02:00
wmayer
f439a88c69 + remove 'using namespace Part' inside header file 2016-04-13 16:20:31 +02:00
wmayer
ab43e18b00 + remove 'using namespace Attacher' inside header file 2016-04-13 15:57:49 +02:00
wmayer
b6892c5424 + add missing license text 2016-04-13 15:20:41 +02:00
wmayer
6380881b58 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
wmayer
d604abdfc4 + consistent naming 2016-04-13 11:37:09 +02:00
wmayer
cbb9485afd + remove obsolete #pragma 2016-04-13 11:22:40 +02:00
Stefan Tröger
1bc2caebb4 remove unneeded orig files 2016-04-12 19:10:19 +02:00
Stefan Tröger
9c68424a1e Fix compilation issue in Attacher code 2016-04-12 18:12:24 +02:00
Stefan Tröger
71ec726161 Fix test cases by adopting to new behavior
Pad now does not have a Sketch property anymore but a profile property. Also due to changes in PropertyLinkSubList it ispossible that PropertyLinks get an empty list assigned, this must be supportet now.
2016-04-12 18:12:24 +02:00
Stefan Tröger
58056fa78c Remove unneeded files 2016-04-12 18:12:24 +02:00
Stefan Tröger
4f0f1449eb Part: Recalculate tessellation when requested 2016-04-12 18:12:23 +02:00
Stefan Tröger
c40d25c87f PartDesign: Fix body command 2016-04-12 18:12:23 +02:00
Stefan Tröger
97a51686c7 PartDesign: Adopt primitive preview
The preview was developed when the "one feature only" visibility rule was not yet introduced. This commit maks it work again.
2016-04-12 18:12:23 +02:00
Stefan Tröger
303578efc6 PartDesign: Fix attachment external references 2016-04-12 18:12:23 +02:00
Stefan Tröger
3e79c09d10 Fix rebase error 2016-04-12 18:12:23 +02:00
Stefan Tröger
ced37e29c1 Fix Windows build errors 2016-04-12 18:12:23 +02:00
Stefan Tröger
103ed524f5 PartDesign: Unify datum and shapebuilder visuals 2016-04-12 18:12:23 +02:00
Stefan Tröger
6fa3b94ff1 Override mode works with non-toplevel viewprovider
And adopt the part design body to handle the override mode correctly
2016-04-12 18:12:23 +02:00
Stefan Tröger
48b2bb86ab PartDesign: body is responsible for visuals
-Hide all visual properties of features when they are part of a body
-Propagate all body visual changes to features
-Separate display mode from body mode to enable setting display mode for both "tip" and "through" modes
-Use default visuals for body shape and only make "through" a new display mask mode for the children
2016-04-12 18:12:23 +02:00
Stefan Tröger
49489bfe62 Fix sketch positioning with part and body 2016-04-12 18:12:23 +02:00
Stefan Tröger
8cbf27dbd6 PartDesign: Fix context menus 2016-04-12 18:12:23 +02:00
Stefan Tröger
e64569aa2c PartDesign: prevent claiming features 2016-04-12 18:12:23 +02:00
Stefan Tröger
a6e885e867 Fix rebase error 2016-04-12 18:12:23 +02:00
Stefan Tröger
9ab137f3c9 PartDesign: prevent crash on delete and add body 2016-04-12 18:12:23 +02:00
Stefan Tröger
815a8e4d30 Remove ShapeBinder2D
As profile based features can work with faces and wires now ShapeBinder can do everything that needed ShapeBinder2D before.
2016-04-12 18:12:23 +02:00
Stefan Tröger
47985c4fc7 Fix workflow manager crash on windows 2016-04-12 18:12:23 +02:00
Stefan Tröger
12e793bde8 PartDesign: Adopt pattern to face based features 2016-04-12 18:12:22 +02:00
Stefan Tröger
ae9dac71d7 PartDesign: Modeling features work with faces
-Rename Sketchbased to ProfileBased to show new behavior
-Adopt ProfileBased to make the relevant helper functions work with faces too
-Adopt features for unified use of helper functions
-Adopt commands to allow face selection
2016-04-12 18:12:22 +02:00
Stefan Tröger
7e97cdaafe Datums not selectable during edit 2016-04-12 18:12:22 +02:00
Stefan Tröger
463070b1f6 Fix crash on aborted pattern external axis 2016-04-12 18:12:22 +02:00
Stefan Tröger
d6a2acbd3a prevent parts from being dragged into parts 2016-04-12 18:12:22 +02:00
Stefan Tröger
3c39410002 PartDesign: Adopt to new property status bits 2016-04-12 18:12:22 +02:00
Stefan Tröger
c027277128 no body allowed as body base feature 2016-04-12 18:12:22 +02:00
Stefan Tröger
063ffd8700 ShapeBinder: fix Null shape on recompute for copy 2016-04-12 18:12:22 +02:00
Stefan Tröger
a924d723c5 Fix shape binder placement
-- hidden for user
-- inherited by linked part
2016-04-12 18:12:22 +02:00
Stefan Tröger
73ab046ad6 Ensure only a single PartDesign feature is visible 2016-04-12 18:12:22 +02:00
Stefan Tröger
f392ed30d2 PartDesign mirror must work with base planes 2016-04-12 18:12:22 +02:00
Stefan Tröger
6b7b2176fb Fix transform feature crash on apply
-Redundant "reset edit" and command commit removed
-Redundant apply call removed
2016-04-12 18:12:22 +02:00
Stefan Tröger
7609c6e8c1 Add missing files 2016-04-12 18:12:22 +02:00
Stefan Tröger
0d4e941b0a fix reference selection of origin features 2016-04-12 18:12:22 +02:00
Stefan Tröger
732834c6d8 Handle external references for revolution et all
The reference selection, used in multiple part design features, treated body external references not corectly.
2016-04-12 18:12:22 +02:00
Stefan Tröger
846aa8febe Fix shutdown crash with primitives in the document
and cleanup the header
2016-04-12 18:12:22 +02:00
Stefan Tröger
cf4964fa8b Prevent dressup crash due to multi command commit
the same functionality is provided by upstream accept functions
2016-04-12 18:12:21 +02:00