Commit Graph

32 Commits

Author SHA1 Message Date
wmayer
3d5551c6b8 Port: Include changes of FreeBSD port 2024-09-13 08:31:54 -05:00
Chris Hennes
5addf9d91b MacOS: Modify OS detection macro (#15924)
* Fixes #15904
* MacOS: Always use Q_OS_MACOS to detect MacOS because the Conda builds do not define Q_OS_APPLE
2024-08-18 08:29:40 -05:00
Chris Hennes
ea9f0c7a67 GUI: Update MacOS detection macros
For GUI-specific things use Q_OS_MACOS, and for other things use
Q_OS_APPLE.
2024-08-12 11:34:39 -04:00
Kacper Donat
cf31f0c7ae Gui: Fix rendering order of transorm gizmo
Transform gizmo (dragger) used SoAnnotation which disables GL_DEPTH_TEST
resulting in rendering elements in wrong order. This PR introduces new
coin node: So3DAnnotation that delays rendering and clears depth buffer before
drawing which results in proper order of elements. As this destroys
information in the depth buffer it is crucial to run this action after
the scene is rendered.
2024-06-03 11:27:22 -05:00
PaddleStroke
29628d2817 Gui: SoFCCSysDragger : replace SoPickStyle::SHAPE by SoPickStyle::SHAPE_ON_TOP, to avoid the impossibility to select the dragger if selection is not disabled and a solid is behind the dragger. In transform tool it does not happen because selection is disabled. 2024-05-06 18:32:00 +02:00
Camille
6b9ddb5719 with this solution, we have traded a crash for a memory leak. so it is only activated for MAC OS where we have the crash, until we find a better solution. 2023-10-27 18:07:20 +02:00
Camille
2d400a4d5f Fix issue #9465 [Problem] Coin version on Mac Conda builds causes transform crash - see issue for detailed explanation. 2023-10-27 18:07:20 +02:00
wmayer
1cdff85086 MSVC: fix warnings and build failure 2023-09-23 19:10:32 +02:00
qewer33
cdf69d692f Gui: Transform dragger fix lint warnings 2023-09-19 21:04:25 +03:00
qewer33
53e3af5f98 Gui: Transform dragger fixes 2023-09-19 18:24:19 +03:00
qewer
01ff476b2f Gui: Transform dragger improvements (#10706)
* Gui: Improve transform dragger appereance

* Gui: Implement axis color parameters

* Gui: Implement plane draggers for the Transform tool

* Gui: Clean comments in Transform dragger files
2023-09-18 10:34:26 -05:00
wmayer
6beace8da6 Gui: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
0penBrain
b2911de02a [Bugfix]Gui: in draggers, remove/detach all callbacks + add checks and asserts, hopefully fixes #9465 2023-08-02 21:04:22 +00:00
0penBrain
e499d44d02 [Bugfix]Gui: detach field sensor of draggers and handle post-call of callbacks, fixes #9465 2023-07-23 19:38:56 +00:00
berniev
ae53c9b0a4 Gui: Use auto and range-based for (#7481)
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto. 
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
wmayer
fd5558f295 Fix several clazy issue:
* Using copy-ctor but class SbMatrix/SbViewportRegion has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
2022-07-24 19:38:59 +02:00
Uwe
bb2b49fb1f [Gui] remove superfluous nullptr checks 2022-07-18 03:17:42 +02:00
wmayer
d5340a82ab Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
1178df06b4 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
66dd0f62a5 [Gui] So headers: remove some unused includes
- also sort out some headers for precompiled headers
2022-03-14 15:13:13 +01:00
Zheng, Lei
b81485d72d Gui: improve scale handling in SoFCCSysDragger
Because of the scale transformion in Link, the dragger may have
undesired behavior. This patch checks scaling factor in scenegraph
transformation, and auto scale the dragger axis accordingly.
2019-10-08 10:27:56 +02:00
wmayer
5ae635ac64 fix various flaws detected by PVS 2019-03-01 22:52:41 +01:00
wmayer
332baed6a6 Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] 2019-02-11 16:12:50 +01:00
wmayer
c64aec5fd2 simplify creation of strings 2019-02-11 13:46:58 +01:00
luz.paz
550a60c43f Crowdin: Several more various fixes 2019-01-30 11:08:03 -02:00
wmayer
d69887130e fix crash when creating a second view and closing the first view while the dragger task panel is open 2016-10-09 22:16:21 +02:00
wmayer
f4e0a21045 move disabling of some commands to task panel 2016-10-09 19:45:30 +02:00
wmayer
4d6d8e71f4 issue #0002687: zoomin/out during transform 2016-10-09 18:32:18 +02:00
wmayer
e2398b4b06 fix Coverity issues 2016-08-21 14:03:02 +02:00
wmayer
fb7a22036e + fix build failures & warnings 2016-05-07 23:18:59 +02:00
blobfish
a17b762f10 Core: Gui: SoFCSysDragger: adding SoFCSysDragger. 2016-05-07 23:06:53 +02:00