Commit Graph

17819 Commits

Author SHA1 Message Date
Pablo Gil
d6352bb1bd New Darker stylesheet 2019-08-20 10:31:35 -03:00
Pablo Gil
b61aa576f0 update to v2.20:
- minor fixes
- new background icon
2019-08-20 10:31:35 -03:00
Pablo Gil
a2f359b9a7 new background icon 2019-08-20 10:31:35 -03:00
Pablo Gil
afe9f03f47 add missing icon for light themes 2019-08-20 10:31:35 -03:00
vocx-fc
18727135d8 Draft: _PointArray, removed the tabs, and replaced with four spaces; mixing spaces and tabs may cause a syntax error in Python 3 2019-08-20 10:31:01 -03:00
luz.paz
cc6ea681c0 AddonManager: Add workfeature icon
Closes https://github.com/Rentlau/WorkFeature-WB/issues/9
2019-08-20 10:30:16 -03:00
carlopav
d9e60c0471 Draft Edit: enable Part::Line editing
Implemented editing part lines. Preview still to come.
2019-08-20 10:29:50 -03:00
carlopav
a1e6019f82 Draft Edit: enable editing Part::Box
Added code to handle editing of part objects, ATM only for Part::Box
2019-08-20 10:29:50 -03:00
carlopav
5d75d68f64 Draft Edit: bugfix when Draft is activated without document
Fixed bug when Draft is activated but no document is active
2019-08-20 10:29:50 -03:00
carlopav
ec3a6ba0d9 [Draft] Small bugfix in bezcurve editing
Solved bug when clicking on empty space while editing continuity.
2019-08-20 10:29:50 -03:00
carlopav
9aac2df1a7 [Draft] Draft Edit: completed subcommand key event
Completed subcommand key edit
2019-08-20 10:29:50 -03:00
carlopav
13e605912c [Draft] Draft Edit - various fixes (fixes #3537)
https://forum.freecadweb.org/viewtopic.php?f=3&t=29743&start=70
To solve issue with Hidpi display  (fixes #3537), but also to improve node selection, I used some of @looo code from pivy graphics into the tool. 
So:
- i got rid of the action function
- i separated selection and editing callbacks
- i got the mouse position from the callback event and not from FreeCADGui.ActiveDocument.ActiveView.getCursorPos()
- i rewrote the node selection mechanism using soraypickaction instead of getObjectInfo() and getObjectsInfo()
- i tried to put a bit of order in all the mess i made and try to document it.
- also fixed some of the preview code.
- i'm really really sorry for not being able to split the commit in multiple one, but the changes are huge and i was just able to separate minor things...
2019-08-20 10:29:50 -03:00
wmayer
12dc2e9146 work around to fix build failure with clang 3.4 2019-08-20 14:24:27 +02:00
Dion Moult
ada37401b4 Add undefined IFC type data - this is special to freecad and not part of the IFC spec 2019-08-20 13:31:57 +02:00
Dion Moult
ad4f4f071e Convert old json files to include more metadata as per IFC4 standard 2019-08-20 13:31:38 +02:00
Dion Moult
bdfdf77ffc Add contexts file for IFC2X3 2019-08-20 13:31:33 +02:00
Yorik van Havre
89961a33d4 Draft: removed degub message 2019-08-19 13:42:29 -03:00
Bernd Hahnebach
ea97b43499 Arch: workaround to make Arch loading without errors, but still this needs to be fixed 2019-08-19 09:14:49 +02:00
sliptonic
503ecc57ce Merge pull request #2434 from dubstar-04/fixes/tooltable
[Path] Ensure the tool parameters are saved
2019-08-18 22:32:29 -05:00
sliptonic
b5da3e32bc Merge branch 'master' into fixes/tooltable 2019-08-18 12:32:35 -05:00
wmayer
7e60631239 add missing header and forward declaration 2019-08-17 23:14:45 +02:00
Dubstar_04
32b0f86167 Ensure the tool parameters are saved
Ensure the tool parameters are saved to the tool table
2019-08-17 19:51:45 +01:00
wmayer
7022f41bb1 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
+ fix -Wunused-private-field
2019-08-17 19:53:39 +02:00
wmayer
3759b83b7c Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
2019-08-17 19:53:21 +02:00
wmayer
a731566661 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
2019-08-17 19:53:07 +02:00
wmayer
4c648caaa8 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
2019-08-17 19:52:49 +02:00
wmayer
67b06d7a36 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
+ fix -Wpessimizing-move (Geometry::clone: moving a temporary object prevents copy elision -> remove std::move call here)
2019-08-17 19:52:32 +02:00
wmayer
5172c3bc08 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
+ fix -Wunused-variable
+ fix -Wbraced-scalar-init
+ fix -Wparentheses (View3DInventorViewer::checkGroupOnTop: operator '?:' has lower precedence than '+'; '+' will be evaluated first)
+ fix -Wundefined-bool-conversion (MainWindow::updateActions)
+ suppress -Woverloaded-virtual but fix later
2019-08-17 19:52:12 +02:00
wmayer
3e6ae0d027 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
+ fix -Wunused-private-field
+ suppress -Woverloaded-virtual but fix later
2019-08-17 19:51:51 +02:00
wmayer
7e70438ae3 fix -Winconsistent-missing-override 2019-08-17 19:51:33 +02:00
wmayer
9c69c886a4 fix MSVC compiler warnings 2019-08-17 19:35:21 +02:00
wmayer
1995f9d0ba fix msvc build failure 2019-08-17 17:12:42 +02:00
Zheng, Lei
cf5438fbef Gui: sort property by name in property view 2019-08-17 15:32:51 +02:00
Zheng, Lei
20c628fc0c Gui: fix tree view selection focus problem 2019-08-17 15:32:51 +02:00
Zheng, Lei
0a2d8dc5ca App: do not throw on recursive recompute 2019-08-17 15:32:51 +02:00
Zheng, Lei
dd8c4d84a6 Gui: fix missing de-highlight when (pre)selection is disabled 2019-08-17 15:32:51 +02:00
Zheng, Lei
8162c9b67e Draft: fix PathLinkArray 2019-08-17 15:32:51 +02:00
Zheng, Lei
e9a4f97150 Import: fix version header path 2019-08-17 15:32:51 +02:00
Zheng, Lei
5509a9b438 Draft: fix Link(Path)Array 2019-08-17 15:32:51 +02:00
Zheng, Lei
54a8136d5c App: fix rollback of dynamic property changes 2019-08-17 15:32:51 +02:00
Zheng, Lei
c555a8222e TechDraw: fix face based projection direction detection 2019-08-17 15:32:51 +02:00
Zheng, Lei
62423cb79a TechDraw: fix projection group editing update 2019-08-17 15:32:51 +02:00
Zheng, Lei
f243db0d5b TechDraw: fix drawing update on undo/redo 2019-08-17 15:32:51 +02:00
Zheng, Lei
d0ca893b3e Command: disable auto transaction if triggering editing
Each command will create an App::AutoTransaction to auto create and
commit a transaction for proper undo/redo. But if the command starts
editing, the current transaction may be required to out live the current
command.

Note that the command can only detect editing if the code calls
Gui::Document::setEdit(). There are objects that starts editing by
calling its own ViewProvider::setEdit(), e.g. various TechDraw
ViewProviders. In this case, to avoid auto committing, one can call
App::Application::setActiveTransaction() with the second argument set to
true, or call App::AutoTransaction::setEnable(false).
2019-08-17 15:32:51 +02:00
Zheng, Lei
78ce18ace4 TreeView: update status on manual object touch 2019-08-17 15:32:51 +02:00
Zheng, Lei
d4f066f4e9 TreeView: fix selection sync problem 2019-08-17 15:32:50 +02:00
Zheng, Lei
4ba326fae0 Draft: fix for python2 2019-08-17 15:32:50 +02:00
Zheng, Lei
a228f3c11b App: fix xml indentation in PropertyContainer::Save 2019-08-17 15:32:50 +02:00
Zheng, Lei
75f974b1a1 Gui: fix selection change handling in PropertyView 2019-08-17 15:32:50 +02:00
Zheng, Lei
5a96db6483 App: fix property type matching in transaction 2019-08-17 15:32:50 +02:00