Commit Graph

37129 Commits

Author SHA1 Message Date
bgbsww
d7ade12dc3 Ensure we set up a valid sketch even with invalid external references 2024-05-06 17:42:38 +02:00
wmayer
4ea1ad58c8 PD: Fix crash when adding sketch to loft via tree view
The underlying problem is the method DocumentItem::updateItemSelection() where
the selection is altered. This may cause the destruction and recreation of the
DocumentObjectItems so that the passed pointer can become dangling.

The issue is fixed in two steps:
1. Add the method 'DocumentObjectItem *findItem(App::DocumentObject* obj, const std::string& subname) const'
   to safely re-access the item.
2. Add a boolean flag 'dirtyFlag' and the methods insertItem() and removeItem() to DocumentObjectData.
   This is needed to check when the iterator over the container becomes invalid.
2024-05-06 17:38:59 +02:00
sliptonic
92a9b3061d Merge pull request #13668 from Ondsel-Development/RefactorPostCommand
Refactor post command
2024-05-06 09:49:28 -05:00
sliptonic
6b25433fbf Merge pull request #13667 from Ondsel-Development/refactorsanity
refactor Sanity
2024-05-06 09:48:59 -05:00
WandererFan
644020f000 Merge pull request #13842 from WandererFan/fixDimRotation3
[TD]fix dimension autocorrect
2024-05-06 08:44:03 -04:00
Furgo
cf59ec5ade Revert missed change on the last commit 2024-05-06 11:32:10 +02:00
Furgo
5179a4b9c5 Look up materials with full path. Revert changes to the Material namespace 2024-05-06 11:32:10 +02:00
Furgo
4448f25923 Arch: adapt materials to new Materials path scheme 2024-05-06 11:32:10 +02:00
Roy-043
bd39f4396d Clean up... 2024-05-06 11:07:23 +02:00
Roy-043
34afffc148 More files are involved... 2024-05-06 11:07:23 +02:00
Roy-043
22dc172154 Draft: Do not show temporary line object in tree (additional)
#13778 introduced `self.obj.ViewObject.ShowInTree = False` to hide the temporary object. But objects that are hidden in the tree are displayed in the tree when they are selected in the 3D view. This selection occurs during commands that take more than 2 points. The solution is to change `self.obj.ViewObject.Selectable` on mouse button up/down.

Fixes #13700.
2024-05-06 11:07:23 +02:00
Chris Hennes
fb513587b7 cMake: Restore wrappers for QtWebEngine 2024-05-06 08:08:35 +02:00
wandererfan
d2d93458e9 [TD]fix dimension autocorrect
- autocorrect was not handling scaled and rotated reference geometry
  properly.
2024-05-05 20:38:14 -04:00
Chris Hennes
15b612ebca Themes: Explicitly remove Editor/Text setting in Classic 2024-05-05 13:46:14 +02:00
sliptonic
7d841c05f0 More work on unit tests
Avoid unnecessary reloads from disk
2024-05-04 08:24:00 -05:00
WandererFan
9bd19ff43a Merge pull request #13790 from pavltom/techdraw_split_sheet_autofill
[TechDraw] Issue #13661 - Split sheet autofill to separate values
2024-05-04 09:15:04 -04:00
Max Wilfinger
f74bfc4620 Changing the stop icon from a green one to a red one. 2024-05-03 14:50:59 -05:00
Chris Hennes
a75350b688 Merge pull request #13773 from bgbsww/bgbsww-toponamingMissingAppMethods
Toponaming: Add toponaming missing methods in app
2024-05-03 13:44:09 -05:00
bgbsww
2bff3f5343 Lint corrections 2024-05-03 12:07:02 -04:00
sliptonic
26e9d396d9 add generic post processor 2024-05-03 10:16:41 -05:00
sliptonic
205d6339cb Make Job gui work with new PostProcessor class 2024-05-03 10:16:41 -05:00
sliptonic
72cfbe02df fix test script 2024-05-03 10:16:41 -05:00
sliptonic
0514163ec7 Major refactor on post stack 2024-05-03 10:16:41 -05:00
sliptonic
7c3ca87e4a findParentJob will now return the original object if it is a job rather than None 2024-05-03 10:16:41 -05:00
wmayer
ede6c811fd Core: Set tab title for MDIViewPyWrap 2024-05-03 14:18:00 +02:00
Dov Grobgeld
960998ed42 Add <algorithm> include and remove explicit 3rdparty/GSL include reference 2024-05-03 14:17:09 +02:00
Roy-043
ede724366e Merge pull request #13803 from Roy-043/Arch-Arch-Schedule-allow-2-and-3-in-unit-string
Arch: Arch Schedule allow ^2 and ^3 in unit string
2024-05-03 10:04:27 +02:00
bgbsww
d861b81c51 Merge branch 'main' into bgbsww-toponamingMissingAppMethods 2024-05-02 22:43:36 -04:00
WandererFan
af2b8b661f Merge pull request #13784 from WandererFan/defaultTemplate
[TD]add fallback default template
2024-05-02 22:15:00 -04:00
bgbsww
928e9897eb Performance measurement tools 2024-05-02 18:53:39 -05:00
bgbsww
ad0cb61656 Toponaming/Part: unify revolution changes 2024-05-02 18:50:02 -05:00
Roy-043
5607f5d52e Merge pull request #13798 from paullee0/ArchCurtainWall_01_add_self-Type
[ArchCurtainWall] add self.Type definition like other Arch Objects
2024-05-02 22:31:40 +02:00
Roy-043
b45bf9ba13 Merge pull request #13778 from yorikvanhavre/draft-hide-templine
Draft: Do not show temporary line object in tree
2024-05-02 22:28:11 +02:00
Roy-043
c792effb06 Arch: Arch Schedule allow ^2 and ^3 in unit string
Fixes #13796.
2024-05-02 21:31:26 +02:00
paullee
d8ab9467c3 [ArchCurtainWall] add self.Type definition like other Arch Objects
All Arch Objects have self.Type defined, add here for Arch Curtain Wall.

        self.Type = "Axis"
        self.Type = "AxisSystem"
        self.Type = "Building"
        self.Type = "BuildingPart"
        self.Type = "Component"
        self.Type = "Equipment"
        self.Type = "Fence"
        self.Type = "Floor"
        self.Type = "Frame"
        self.Type = "Grid"
        self.Type = "MaterialContainer"
        self.Type = "Panel"
        self.Type = "Pipe"
        self.Type = "Precast"
        self.Type = "Profile"
        self.Type = "Project"
        self.Type = "Rebar"
        self.Type = "Reference"
        self.Type = "Roof"
        self.Type = "Schedule"
        self.Type = "SectionPlane"
        self.Type = "Site"
        self.Type = "Space"
        self.Type = "Stairs"
        self.Type = "Structure"
        self.Type = "Truss"
        self.Type = "Wall"
        self.Type = "Window"

FC Forum Discussion - https://forum.freecad.org/viewtopic.php?t=87210
2024-05-03 01:20:10 +08:00
pavltom
b3413926a8 [TechDraw] Issue #13661 - Split sheet autofill to separate values 2024-05-02 15:34:38 +02:00
wandererfan
dc1245aef0 [TD]add fallback default template 2024-05-02 07:06:58 -04:00
Yorik van Havre
b731b8a9e8 Draft: Do not show temporary line object in tree - fixes #13700 2024-05-02 11:04:15 +02:00
wandererfan
e4eb859849 [Admin]add privacy policy 2024-05-02 10:13:25 +02:00
Roy-043
107964c2c1 Draft: update Draft Point viewprovider to account for ShapeAppearance
Without this mod there is an error when opening a V0.21 file with a Draft Point. As well as when creating a Draft Point in V0.22.
2024-05-02 10:09:28 +02:00
Adrián Insaurralde Avalos
368b91e035 Measure: write init message to log instead 2024-05-02 08:09:39 +02:00
bgbsww
f9b65e563d Test for changed Sketches avoiding TNP 2024-05-01 20:29:26 -04:00
Zheng, Lei
47635c0507 Methods to support Toponaming element maps 2024-05-01 18:02:04 -04:00
tomate44
c7c07f28c6 add unit test for edge split method 2024-05-01 22:15:09 +02:00
tomate44
2a07bce5b5 Preserve pcurves in TopoShapeEdge.split 2024-05-01 22:15:09 +02:00
0penBrain
502f78e111 Make: use single dash argument for Apple toolchain 2024-05-01 14:04:45 -04:00
Reqrefusion
7cf7922079 Add myself as contributor 2024-05-01 10:33:01 -05:00
Chris Hennes
0af3ee4851 Merge pull request #13727 from wwmayer/fix_warnings
Fix compiler warnings
2024-05-01 10:29:21 -05:00
Chris Hennes
d0a4cb9a33 Tests: Disable DocumentObserverTest pending refactor
The 'normalized' test fails on Windows Conda, and the overall test class needs work.
2024-05-01 10:28:08 -05:00
wmayer
02df1c86b7 Gui: fix possible build failure 2024-05-01 09:47:33 +02:00