Commit Graph

39460 Commits

Author SHA1 Message Date
wmayer
53d39c6c91 App: Apply clang format (part 3) 2024-11-29 07:14:32 +01:00
wmayer
a372678e98 Gui: Support of converting 64-bit images 2024-11-28 19:41:18 +01:00
wmayer
b9cc17b2fd Gui: Add a new display mode for image without shading 2024-11-28 19:39:00 +01:00
wmayer
238390127b Gui: Allow to override onBeforeChange in view objects 2024-11-28 19:38:10 +01:00
wmayer
597e42d12f Test: Add unit test to read in 3MF file 2024-11-28 19:36:58 +01:00
wmayer
c534e655f9 Mesh: Improve 3MF format to support files from 'Make World' 2024-11-28 19:36:58 +01:00
wwmayer
c0b9191cf5 Add doc string to SoFCTransform
Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
2024-11-28 19:31:44 +01:00
wmayer
f7da5f8505 Core: Implement SoFCTransform node
In its doAction() method it only sets the model matrix if it's not the identity matrix.
This improves the issue #7606
2024-11-28 19:31:44 +01:00
wmayer
f51804729e Start: Fix extracting thumbnails on Windows 2024-11-28 18:56:37 +01:00
wmayer
5202748c0a Gui: Fix some linter warnings 2024-11-28 18:41:42 +01:00
wmayer
f741655bf6 Gui: Apply clang-format 2024-11-28 18:41:42 +01:00
wmayer
82b4dcd58a Gui: Fixes #16637: Can no longer set transparency of Link faces 2024-11-28 18:41:42 +01:00
wmayer
601637320d PD: Add test case to show the fix for the crash with active objects 2024-11-28 17:15:39 +01:00
wmayer
d798901515 Core: Fix crash in ActiveObjectList
Forum: https://forum.freecad.org/viewtopic.php?t=91823
2024-11-28 17:15:39 +01:00
wmayer
92e96839c9 PD: Avoid touching the document when opening pad or pocket dialog 2024-11-28 17:11:42 +01:00
wmayer
d795acc378 Mesh: Add comment explaining the workaround 2024-11-28 17:07:34 +01:00
wmayer
8f18cfaf3a Mesh: Workaround to load 3mf files not supported by zipios library 2024-11-28 17:07:34 +01:00
Roy-043
0cf2cec816 Draft: Fix cursor scaling for xcb platform
Forum topic:
https://forum.freecad.org/viewtopic.php?t=92281

Apparently the extra scaling for the "xcb" platform is wrong.
2024-11-28 14:01:52 +01:00
wmayer
3595c301b7 Gui: Refactor PreferencePackManager & DlgPreferencePackManagementImp 2024-11-27 20:29:44 -05:00
Jacob Oursland
354d095787 CMake: emit message when ccache is detected. 2024-11-27 20:24:43 -05:00
Ladislav Michl
6860aab7ee Gui: propertyeditor: use std::string setPropertyValue
Avoid std::string->QString->std::string where possible.
2024-11-27 17:28:16 +01:00
Ladislav Michl
a80c87c3a7 Gui: propertyeditor: add setPropertyValue with std::string argument 2024-11-27 17:28:16 +01:00
Ladislav Michl
7c2acdbf09 Gui: propertyeditor: Reformat, fix line endings
Instead of fixing whitespaces do a full reformat according to
current rules. No other changes.
2024-11-27 17:28:16 +01:00
Yury Shvedov
8e04c0a3dd Gui: take in account module-path argument
Use paths passed with `--module-path` argument to search for preference
packs

Change-Id: If168dbd99a826757290ee6b918f5b712305fe2bb
2024-11-27 15:43:28 +01:00
Jacob Oursland
fb7ce6405b CMake: Add missing target_link_directories() for OCCT. 2024-11-26 16:03:08 -05:00
Chris Hennes
33a83f0ee4 Update versions in SECURITY.md 2024-11-26 19:55:10 +01:00
wmayer
370c08213c Core: Fix unicode path names under Windows 2024-11-26 11:22:11 -05:00
wmayer
55d5123b9a Start: Implement Thumbnail Managing Standard
as specified here: https://specifications.freedesktop.org/thumbnail-spec/0.8.0/

The changes are:
* use MD5 as hashing algorithm
* write thumbnails to ~/.cache/thumbnails/normal
2024-11-26 11:14:52 -05:00
Jacob Oursland
e8e82c4ff6 App: Reduce BOOST_VERSION workaround to fix boost symbol linker error on Win-Qt5. 2024-11-26 11:13:21 -05:00
Jacob Oursland
d7e8cc8a54 Mesh: Add template type to WM4 TRational variables. 2024-11-26 11:10:13 -05:00
Jacob Oursland
ae89309329 Mesh: move counter declaration to loop-local. 2024-11-26 11:10:13 -05:00
PaddleStroke
5eb09c8e45 Core: GetGlobalPlacement: empty subname should not return. 2024-11-26 10:59:48 -05:00
Roy-043
6b1131dd5a Draft: fix focus behavior of radius input
Fixes #16249.

The input did receive the focus, but the existing value was not selected.

The circle, arc, trim and offset tools had a related issue. The whole radius/distance value, including the unit string, was selected, instead of just the numerical portion.
2024-11-26 16:48:35 +01:00
wmayer
3070832e54 Start: Show thumbnail if filename contains a dot
Fixes #18109
2024-11-26 09:42:05 -05:00
wmayer
7912dc2a62 Gui: Fix issues in About dialog 2024-11-26 09:41:24 -05:00
BMaxV
d365d66413 Change button text to confirm copy. (#17696)
* Change button text to confirm copy.
* translation and timer->reset
* timer->single shot + text variable

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-11-25 13:59:49 -06:00
Max Wilfinger
3ef47da598 Merge pull request #18125 from Ondsel-Development/core_LCS1
Core Datum : Card 1 : icons
2024-11-25 20:58:42 +01:00
Roy-043
9d38f0e857 Draft: Legacy DXF importer: fix layer block behavior
Fixes #16550.
Fixes #16552.

* Layer blocks receive a name with the "LayerBlock_" prefix.
* They are put in a layer if the "Use layer" import option is checked.
* If Draft or Sketch objects are created a Part_Compound instead of a Draft_Block is created. This was done because a Draft_Block does not claim its children. I am not sure about this change. Maybe the behavior of the Draft_Block should be changed instead.

@yorikvanhavre: do you know why a Draft_Block does not claim its children?
2024-11-25 20:15:16 +01:00
Kacper Donat
710542d121 Assembly: Refactor get/setDraggerPlacement
It seems that Base has very handy helpers for converting between various
types. This simplifies code of ViewProviderAssembly::get/setDraggerPlacement a
lot.
2024-11-25 12:27:35 -05:00
Florian Foinant-Willig
5969df37f4 Sketcher infinite axes 2024-11-25 18:27:10 +01:00
PaddleStroke
fbd7f7090c Sketcher: ViewProviderSketch remove unecessary updateColor and applyCursor. 2024-11-25 12:25:58 -05:00
wmayer
eb3ce44b58 Core: Do not detach object from document before the call of breakDependency
This fixes #17900
2024-11-25 18:25:17 +01:00
Roy-043
9ec977f89d Draft: Allow selection of subelements for Draft_Fillet
Fixes #17505.
2024-11-25 18:21:50 +01:00
PaddleStroke
99b2f23214 Assembly: Fix joints not being deleted when subassembly is deleted. 2024-11-25 18:20:46 +01:00
Benjamin Nauck
8945260a7e Add two options to disable addons
Addons can be disabled in two ways:
 * by adding a command line argument `--disable-addon <addon>`
 * and by creating a `ALL_ADDONS_DISABLED` file in the mod root of the addons to disable
2024-11-25 12:16:43 -05:00
bgbsww
7c1a5ebd69 Tweak VSCode debug port to work with current versions 2024-11-25 12:09:28 -05:00
PaddleStroke
a9bc28daa0 Add Std_Point.svg icon for datum points 2024-11-25 18:06:28 +01:00
PaddleStroke
93c807b6a6 Update Std_Axis.svg as it had poor visibility in dark themes: planes and axis looked both like planes. 2024-11-25 18:06:27 +01:00
wmayer
c32628ec0d Part: Fix alpha <> transparency conversion 2024-11-25 12:05:25 -05:00
Chris Hennes
e3f6fc5708 Merge pull request #14362 from je-cook/fix_deprecated_import_style
Fem: Fix deprecated import style
2024-11-25 12:02:11 -05:00