Commit Graph

51 Commits

Author SHA1 Message Date
wmayer
68ae3c95dc Core: Update color bar when changing preferences
This solves one part of issue #10717
2024-07-01 10:55:21 -05:00
Florian Foinant-Willig
fbf0d48dd8 Inspection: modernize type checking 2023-10-23 18:09:39 +02:00
wmayer
d305f306df Core: Revert superfluous changes made with PR #9521 2023-10-09 15:06:45 +02:00
AgCaliva
64f60721a9 merge master via cli 2023-09-16 02:12:58 -03:00
pre-commit-ci[bot]
e92ed45df9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
AgCaliva
93679b2729 Fix DOMDocument redefinition error 2023-09-08 09:12:52 -03:00
wmayer
28e113bc17 Inspection: apply clang format 2023-09-02 00:59:42 +02:00
wmayer
769a1bb3a4 Inspection: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
1bbcb519b5 Inspection: modernize C++: use equals default 2023-08-21 15:06:40 +02:00
wmayer
452aee7c6f Inspection: modernize C++: use range-based for loop 2023-08-15 08:37:17 +02:00
wmayer
184afd9761 Gui: fix View3DInventorViewer's getViewProviderByPath, getViewProviderByPathFromTail, getViewProvidersOfType
The View3DInventorViewer only contains the top-level view providers which caused unexpected behaviour when using the three methods above. Thus, in client code they haven't been used any more.
Now the methods internally invoke the corresponding methods of the document. This allows it in client code to directly call the appropriate methods again (LoD).
2022-12-12 16:41:58 +01:00
Uwe
7c7eee26c1 [Inspection] remove unused includes
- also some sorting
2022-11-29 03:34:22 +01:00
wmayer
7dc67b7a01 Inspection: support display of lines, avoid explicit type checks 2022-09-15 11:46:20 +02:00
wmayer
1309b86ea5 App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy 2022-09-15 09:52:14 +02:00
wmayer
9c6e38033d Inspection: support of shape with edges only 2022-09-13 17:05:21 +02:00
berniev
180edfa3cc Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
berniev
71dc5ead2f Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
47ac049e14 Mod: use emplace_back 2022-08-05 10:36:16 +02:00
Uwe
8b99abd81b [Image] [Inspection] remove superfluous nullptr checks 2022-07-18 01:54:09 +02:00
wmayer
d5340a82ab Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
wmayer
f76c121c28 Inspection: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
eff0d02ac1 [Inspection] remove unused headers and Xerces
- also sort our some includes to PreCompiled.h
2022-03-20 22:17:34 +01:00
Uwe
4f5c29edd6 [Gui] Quarter: remove unused includes 2022-03-09 01:12:15 +01:00
wmayer
8b7dadc1ab Gui: do not include generated ui file inside header file 2021-11-22 16:50:21 +01:00
wmayer
45e0673645 LGTM: [skip ci] fix: Declaration hides parameter
A local variable hides a parameter. This may be confusing. Consider renaming one of them.
2020-07-27 10:57:34 +02:00
wmayer
4e02de80c0 Inspection: multi-threaded calculation 2020-01-29 11:55:49 +01:00
wmayer
ae5a6a2350 [skip ci] tmp. disable selection when switching to curvature or inspection info modus 2019-11-09 11:31:51 +01:00
wmayer
a128489ea3 [skip ci] for curvature and inspection objects set default selection style to BBOX 2019-11-09 11:21:18 +01:00
wmayer
67be01f3ac make mesh picking working for view providers underneath a Part container 2019-11-09 11:16:23 +01:00
Zheng, Lei
5214f5b7ce Gui: add coinRemoveAllChildren to work around Coin3D bug
See bug description:
https://bitbucket.org/Coin3D/coin/pull-requests/119/fix-sochildlist-auditing/diff

Because of path based rendering (SoFCPathAnnotation) in mouse over
highlight, this bug causes crash more frequently here comparing to
upstream.

All C++ calling of SoGroup::removeAllChildren() is replaced by
Gui::coinRemoveAllChildren(), and python code is fixed by monkey
patching SoGroup.removeAllChildren() in FreeCADGuiInit.py.
2019-08-17 14:52:11 +02:00
luzpaz
985980648c Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
Stefan Tröger
9cda1b53bc Allow interchangable use of link properties and their derivatives 2017-09-09 16:47:07 +02:00
wmayer
9127fea207 use normals if available 2017-01-03 19:58:26 +01:00
wmayer
df39ff171f compute signed distances of points to shape, show results of visual inspection for point clouds 2017-01-03 17:02:50 +01:00
wmayer
677ec6cd30 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
1139d9adbb fix -Wextra in Inspection 2016-09-23 18:10:27 +02:00
wmayer
cc97241969 Coverity issues: fix Mesh, Points and Inspection module 2016-08-17 14:08:47 +02:00
wmayer
99ebff917c + replace old C cast with static_cast 2016-02-09 16:02:44 +01:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
cab441cf2a + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
Stefan Tröger
512a2b94d2 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
jriegel
ec0a5ccb0c Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
ecae7fac7f Further doubel suggestions from Jan
Moved Gui/InputVector,Placement,Transform from float to double
Moved Sketcher from float to double
more suggestions for moving float -> double
2013-09-24 11:01:01 +02:00
jriegel
00ea24e07e Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
wmayer
2f2b2e8a1b Add framebuffer support to Inventor viewer 2013-05-02 17:37:56 +02:00
wmayer
9505f0db99 0001087: Inventor Navigation continues with released Mouse Button 2013-04-27 22:10:59 +02:00
wmayer
bb63f7a4d5 Remove FileVersion from RestoreDocFile, convert point data back to floats 2013-03-29 15:23:51 +01:00
jrheinlaender
69c13b1ae4 more suggestions for moving float -> double 2013-03-25 20:40:41 +04:30
wmayer
ef890db848 Move from float to double 2013-03-23 15:12:04 +01:00