Commit Graph

27706 Commits

Author SHA1 Message Date
wmayer
fce7e11636 Gui: Attach PythonConsole to parameter group and handle changes in its OnChange() method
This avoids code duplications and makes sure the group name is used only once.
The parameters are saved to the group 'PythonConsole' instead of 'General'.
2022-02-21 19:26:44 +01:00
wmayer
71a6ffde35 Gui: move Python console specific settings to its own tab because General is quite overloaded 2022-02-21 17:49:27 +01:00
Uwe
39c03863b5 [Part] compile fix for precompiled header
For an unknown reason BRepFill_Generator.hxx must be load explicitly for precompiled headers.
2022-02-21 16:52:41 +01:00
Chris Hennes
52af09de85 Core: Remove accidentally-committed FindOCC.cmake 2022-02-21 09:22:57 -06:00
wmayer
ae2331b316 Gui: fix warning -Wunused-parameter
The function PropertyEditor::recomputeDocument() accepts a pointer to App::Document that is passed by the calling instance closeTransaction().
Since this is the active document there is no need for PropertyEditor::recomputeDocument() to ignore the argument and determine the active document again.
2022-02-21 15:41:28 +01:00
Uwe
7b7a0aa4bf [PD] remove some more unused includes 2022-02-21 15:13:54 +01:00
Yorik van Havre
df45db45f0 Added updatets.py log files to gitignore 2022-02-21 14:53:39 +01:00
Uwe
d981efa198 [Robot] fix a typo reported by spellchecker CI 2022-02-21 14:16:01 +01:00
Zheng, Lei
2895f8f631 App: fix undo/redo of dynamic property add/remove/change 2022-02-21 14:04:12 +01:00
Uwe
e074b63650 [Arch] fix typo reported by spellchecker CI 2022-02-21 13:47:46 +01:00
Uwe
933484e387 fix more typos to silence the spellchecker CI 2022-02-21 13:20:06 +01:00
Uwe
e2dd2627e8 fix some typos to silence the spellchecker CI 2022-02-21 13:09:29 +01:00
wmayer
b0d8601562 OpenSCAD: make sure all unit tests pass in command line mode 2022-02-21 12:38:50 +01:00
Zheng Lei
170a12089c App: fix property ordering problem when undo/redo (#3255)
* Part: fix Placement/Shape onChanged() handling

* App: fix property ordering problem when undo/redo
See https://tracker.freecadweb.org/view.php?id=4265#c14271

* Gui: fix undo/redo signaling
Make sure to signal after all properties has been restored
2022-02-21 12:29:01 +01:00
Zheng Lei
f12ae8a13c Gui: improve PropertyEditor refresh (#3535)
* Gui: fix PropertyView 'Add property' action

* Gui: fix property view font color for linked property

* Gui: improve PropertyEditor refresh

* Gui: show real property name in property view tool tip

* Gui: improve property view tool tip

* Gui: fix auto recompute in property view

* Gui: remove duplicated PropertyModel signal of dataChanged()

* Gui: fix property view update on property change
Including changes in document properties

* Gui: fix transaction closing on property editor change
On editing row removal and on model reset.

* Gui: fix property view auto expansion of previous selected item

* Gui: improve property editor navigation using tab/shift+tab
2022-02-21 12:26:21 +01:00
Yorik van Havre
83f0f6c3bb Removed leftover log files 2022-02-21 12:05:28 +01:00
wmayer
e73020e8d2 Gui: [skip ci] fix warning -Winconsistent-missing-override 2022-02-21 11:50:38 +01:00
Yorik van Havre
07783e463d Merge pull request #6406 from marioalexis84/draft-drawing_techdraw
Draft: Replace Drawing functions with TechDraw functions
2022-02-21 11:10:36 +01:00
Roy
84b3003e8e Draft: Housekeeping: call 'make' functions with new name (4) 2022-02-20 22:31:08 -06:00
Chris Hennes
3ecd0cd0f0 Preference Packs: Add revert to backup option 2022-02-20 22:12:09 -06:00
Chris Hennes
ff67ebce8a Addon Manager: Add GUI for enabling/disabling addons 2022-02-20 22:09:57 -06:00
Chris Hennes
ec90b7f954 Core: Add mechanism to disable addon 2022-02-20 22:09:57 -06:00
Zheng, Lei
cd7c208177 Spreadsheet: fix auto completer triggering 2022-02-20 22:09:07 -06:00
luz paz
79d2a192fc [GUI] Adjust Preferences dialog display position to be fully visible.
based on [commit](b1effe2250)
forum thread [thread](https://forum.freecadweb.org/viewtopic.php?f=8&t=66410)  
This PR replaces #6398
2022-02-20 21:55:12 -06:00
Uwe
b2f9713732 [Gui] minor header work 2022-02-21 04:49:20 +01:00
Uwe
2b76f1f89e [Part] remove some unused includes and sorting 2022-02-21 04:29:28 +01:00
Uwe
f129bd7da7 [Part] FaceMaker, Command and Extrusion: remove unused includes 2022-02-21 03:33:01 +01:00
Uwe
1d58c674a2 [PD] some more work to remove unused includes 2022-02-21 02:50:16 +01:00
Uwe
19bdfc16b8 [PD] more work to remove unused includes 2022-02-21 02:18:17 +01:00
Uwe
a68e017f19 [PD] Gui: Boolean to Groove: remove unused includes 2022-02-21 01:33:04 +01:00
Uwe
783655a4e3 [PD] Boolean to Groove: remove unused includes 2022-02-21 01:07:36 +01:00
Uwe
aa78832048 [Gui] Widgets and Window: remove unused includes 2022-02-21 00:39:24 +01:00
Chris Hennes
0f2a471930 GitHub: Shorten Feature Request template 2022-02-20 17:17:33 -06:00
Uwe
6a0a6e006c [Gui] more work to remove unused includes 2022-02-21 00:03:13 +01:00
luz paz
a937fa7ee2 AddonManager: move superfluous whitespace out of translation [skip ci] 2022-02-20 16:40:40 -06:00
Uwe
9d2692ff1b [Gui] Action: re-add an include 2022-02-20 23:35:30 +01:00
Uwe
e655ef820b [Gui] Application, command etc: remove unused includes 2022-02-20 22:41:34 +01:00
Uwe
7a4caf06f8 [PD] Workbench and Command: remove unused includes 2022-02-20 21:55:15 +01:00
Uwe
f5da0f3c56 [PD] Body and utils: remove unused includes 2022-02-20 21:23:05 +01:00
Uwe
f498cd1d32 [PD] App: remove unused includes 2022-02-20 20:41:46 +01:00
marioalexis
b4c20bce20 Draft: Replace Drawing functions with TechDraw functions 2022-02-20 16:34:29 -03:00
Syres916
5bf382eb0a [PartDesign] OCC7.3 regression replace include.. (#6402)
* [PD] OCC 7.3 needs Precision.hxx in header
2022-02-20 18:44:06 +01:00
luz paz
5c9e629db7 TD: Substitute string 'Dxf' for 'DXF' [skip ci]
This fix was suggested by translators on crowdin.
2022-02-20 09:33:56 -05:00
wmayer
531028ed27 Tools: [skip ci] Adjust comment about the creation of a bitmap handle 2022-02-20 11:11:34 +01:00
Uwe
213e5b4b76 [PD] Datums: remove unused includes 2022-02-19 19:32:00 +01:00
Uwe
791b50c3b7 [PD] remove unused and empty files 2022-02-19 19:04:07 +01:00
Uwe
037b2796b3 [PD] Hole, Pipe and Revolution: remove unused includes 2022-02-19 18:47:26 +01:00
Uwe
34ea32928b [PD] Pad and Pocket: remove unused includes 2022-02-19 17:57:11 +01:00
Uwe
99d469f68e [PD] Helix: remove unused includes 2022-02-19 17:18:45 +01:00
Ajinkya Dahale
61a7654094 [Sketcher] Allow multiplicity change of B-Spline end knots
The first and last knots (which are often also poles) of a B-Spline are not
represented in sketcher as knots, but as end points of the curve. This creates a
problem when we want to change the multiplicities of those knots. As a
workaround, these points are treated differently.

NOTE: While it is technically possible to have end knots in a non-periodic
spline with degree <= degree of the curve, `Geom_BSplineCurve::RemoveKnot()`
fails for the first and last knots, so we are stuck with this. So, this commit
effectively only makes knot multiplicity change possible for periodic splines.
For non-periodic splines this commit just changes the confusing "no knot is
selected" message to an unhelpful "multiplicity modification failed".
2022-02-19 16:10:43 +01:00