Max Wilfinger
f59398e6a0
Mesh: Update UI strings for consistency
2025-06-30 10:34:36 -05:00
bofdahof
ba2c2ca5ad
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Kacper Donat
4bd2cdeb2a
Mesh: Use freecad_cast whenever possible
2025-04-26 14:23:25 +02:00
Chris Hennes
9c7c62063a
Mesh: catch exceptions in destructor
2025-03-25 09:45:25 +01:00
Kacper Donat
13fbab9e42
Base: Move App::Color to Base
...
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
Benjamin Nauck
2107e60304
Mod: Use new GroupExtension::addObject<T>(...)
2025-02-10 18:35:38 +01:00
Benjamin Nauck
265b58c034
Mod: Use new addObject<T>(...) using regex
2025-02-10 18:35:38 +01:00
tritao
551c2e48fb
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
Kacper Donat
954b729b56
Gui: Use getObject<T>() helpers in classes
...
This commit is generated using regex based find and replace:
```
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*getObject\(\s*\)\)/getObject<$1>/
s/[\w:]+_cast\s*<([^>]+)\*>\s*\(\s*([^)]*)\s*->\s*getObject\(\s*\)\)/$2->getObject<$1>()/
```
To regenerate if needed.
2024-12-06 18:29:39 +01:00
wmayer
fbd9eac848
Mesh: Fix linter warnings
2024-11-21 18:30:22 +01:00
wmayer
3c1bf8e864
Core: Extend Color API
...
* Fix issues with alpha value <> transparency
* Use type traits to convert between different color classes (fixes #14515 )
2024-11-15 12:25:25 -05:00
wmayer
cf46809efd
Remove color bar from SoFCColorBarNotifier to decrease reference counter
2024-07-15 18:05:30 +02:00
wmayer
68ae3c95dc
Core: Update color bar when changing preferences
...
This solves one part of issue #10717
2024-07-01 10:55:21 -05:00
wmayer
a7ae00237d
Mesh: fix many linter warnings
2024-03-12 00:36:28 +01:00
Florian Foinant-Willig
bce19a969c
Mesh: modernize type checking
2023-10-23 18:08:06 +02:00
wmayer
a364141c58
Mesh: C++ core guidelines
2023-09-26 11:20:35 +02:00
wmayer
28ae0831cb
Mesh: Apply clang-format
2023-09-23 14:03:11 +02:00
wmayer
d11fdf3ba9
Mesh: modernize C++: use equals default
2023-08-21 18:39:59 +02:00
wmayer
7f49080952
Mesh: modernize C++: use range-based for loop
2023-08-15 10:56:30 +02:00
wmayer
337991cbc7
Gui: use Color::asPackedRGB<QColor>()
2023-02-26 10:11:53 +01: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
1a4babd936
[Mesh] Gui: ViewProvider*: remove unused includes
...
- also some sorting
2022-12-04 17:25:24 +01:00
marioalexis
6dc262d44c
Mesh: Replace C cast
2022-09-18 11:06:51 -05:00
berniev
47ac049e14
Mod: use emplace_back
2022-08-05 10:36:16 +02:00
Uwe
2bde1e6923
[Mesh] remove superfluous nullptr checks
2022-07-18 02:37:33 +02:00
wmayer
9a8a1795fb
Mesh: fix (Qt) issues found by clang's clazy tool
2022-06-30 13:14:03 +02:00
wmayer
a138706ed4
Mesh: replace several reinterpret_cast with static_cast
2022-05-17 14:33:44 +02:00
wmayer
259cf03b25
Fem/Mesh: force update of shape nodes when changing the transparencies of a color plot
2022-04-01 16:40:34 +02:00
wmayer
f797292ea6
Mesh: change ViewProviderMeshCurvature::setVertexCurvatureMode to use the alpha value of the returned color for transparency
2022-04-01 12:07:03 +02:00
Chris Hennes
3ecd16e0bd
Mesh: PR6497 move return statement to new line
2022-03-29 12:36:30 -05:00
wmayer
59e605e6b8
Mesh: modernize C++11
...
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 18:05:02 +01:00
wmayer
2295c4b9a3
Mesh: define the typenames FacetIndex and PointIndex to distinguish between facet and point related indexes
2021-09-14 23:01:29 +02:00
wmayer
9ed3ddc0eb
Mesh: [skip-ci] fix wrongly computed curvature values for meshes in analysis tool
2020-01-30 17:09:28 +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
wmayer
eb5e791835
fixes #0003169 : Mesh Design WB tools does not work on translated object
2017-10-16 20:13:43 +02:00
Stefan Tröger
9cda1b53bc
Allow interchangable use of link properties and their derivatives
2017-09-09 16:47:07 +02:00
wmayer
f6e1cb6025
fix -Wextra in Mesh
2016-09-23 17:24:00 +02:00
Mateusz Skowroński
c275b35d48
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
0695552cff
QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
Alexander Golubev
c30aeb06c1
App/DocumentObserver: make slot methods unimplemented rather pure-virtual and clenup derived classes accordingly
2015-09-02 13:54:44 +02:00
wmayer
6e0287ff17
+ remove SoFCSelection from ViewProviderGeometryObject
2015-05-20 21:44:27 +02:00
wmayer
2cbf57259f
+ Use new icons in Mesh workbench
2013-12-20 16:28:14 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00