Commit Graph

1243 Commits

Author SHA1 Message Date
bdieterm
abfe38e0e7 Gui: add explicit transparency specification 2024-01-21 17:41:31 +01:00
Chris Hennes
a36f6bbc0a Merge pull request #11883 from wavexx/pch_build_fix
Fix build with precompiled headers
2024-01-16 14:06:34 -06:00
bgbsww
bd1fc0fc03 Add support for OCCT 7.8.0 (#11909) 2024-01-09 19:47:25 -06:00
Chris Hennes
fce7dea6f7 Update translations (#11886)
* Update translations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-03 09:27:18 -06:00
Yuri D'Elia
755bad25da Part: Fix build with pch
Move QtAll inclusion (which includes GL itself) after manually including
<GL/glext.h> to correctly get ARB extensions.
2024-01-02 19:28:50 +01:00
Yorik van Havre
651fc54a8c merged crowdin translations 2023-12-20 09:27:37 +01:00
Yorik van Havre
1f65348080 Updated ts files 2023-12-20 09:27:37 +01:00
sliptonic
6af7c25117 Merge pull request #11633 from mwganson/partmirroring
[Part::Mirror] fix bug where selection gate was not getting removed o…
2023-12-11 11:05:56 -06:00
André Caldas
89dbab9b0e Avoids using getNameInDocument() to test if DocumentObject is attached to a Document.
This patch substitutes by isAttachedToDocument() (almost) everywhere where
getNameInDocument() is used for this purpose.

The very few places not touched by this patch demand a (just a little) less trivial change.
When we change the returning type of getNameInDocument() to std::string,
those places will be easily found, because they shall generate a compiler error
(converting std::string to bool).

Rationale:
The fact that getNameInDocument() return nullptr to indicate
that the object is not attached to a document is responsible for lots of bugs
where the developer does not check for "nullptr".

The idea is to eliminate all those uses of getNameInDocument() and, in the near future,
make getNameInDocument() return always a valid std::string.
2023-12-11 17:37:58 +01:00
mwganson
130755a98b [Part::Mirror] fix bug where selection gate was not getting removed on cancel button clicked 2023-12-04 12:40:10 -06:00
Rexbas
2e54b4c4f1 Part: Use vector.data() to get data pointer 2023-12-03 12:35:15 +01:00
Rexbas
6f16be76de Part: Use materialIndex.setValuesPointer() only if the new values are different 2023-12-03 12:35:15 +01:00
bgbsww
a5039ad697 Default freenet to true for sweep to fix rendering bug 2023-12-01 14:02:49 +01:00
Yorik van Havre
fac94ba932 Translations (#11551)
* Updated ts files

* merged crowdin translations

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 11:29:38 -06:00
mwganson
26f23c945b [Part::Mirroring] Add support for mirror plane reference object 2023-11-27 11:17:48 -06:00
bgbsww
26f3254a2f Setting on 89.9 as a limit, enforce in dialog and properties 2023-11-22 10:30:54 +01:00
bgbsww
10f257ac59 Prevent attempting to create an infinite helix 2023-11-22 10:30:54 +01:00
Chris Hennes
1372070452 Update translations 2023-11-20 13:46:22 -06:00
Chris Hennes
f25af97811 Update translations 2023-11-09 12:23:56 -06:00
Chris Hennes
37a8e348c6 Merge pull request #11231 from DeflateAwning/http-cleanup
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
Chris Hennes
590fb19f31 Merge pull request #10978 from FlachyJoe/modernize-type-check
Modernize type and derived type checking
2023-11-06 10:44:32 -06:00
wmayer
d2163579b2 Part: refactor SectionCut 2023-11-02 08:17:06 +01:00
wmayer
fd307e6e37 Part: fix crash in SectionCut 2023-11-02 08:17:06 +01:00
wmayer
554543df01 Part: refactor SectionCut::startCutting() 2023-11-01 16:58:35 +01:00
wmayer
e21a477522 Part: refactor SectionCut::collectObjects() 2023-11-01 16:58:35 +01:00
wmayer
864c5260b1 Part: fix manual formatting of SectionCut::setupConnections() 2023-11-01 16:58:35 +01:00
Chris Hennes
ce8f48967a Merge branch 'main' into modernize-type-check 2023-10-31 15:46:18 -05:00
wmayer
e3fe4cad87 Part: refactor constructor of SectionCut 2023-10-30 14:36:18 +01:00
wmayer
2495a29db3 Part: refactor onFlipXclicked, onFlipYclicked and onFlipZclicked of SectionCut 2023-10-30 14:36:18 +01:00
wmayer
0f5c28c09b Part: Fix Move enum to class with static members, fix & suppress some other lint warnnigs 2023-10-30 14:36:18 +01:00
wmayer
fc328c271b Part: Fix many lint warnings in SectionCut 2023-10-30 14:36:18 +01:00
wmayer
1b1b9173c3 Part: fix check with wrong pointer 2023-10-30 14:36:18 +01:00
DeflateAwning
46b3c02647 Change http to https in SVGs
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Include: *.svg
2023-10-29 22:32:59 -06:00
Florian Foinant-Willig
02731c7816 Part: modernize type checking 2023-10-23 18:12:03 +02:00
Roy-043
6fdd2d367f Updated 2023-10-23 09:19:59 +02:00
Roy-043
42ce9fdc09 Part: Filter selection GUI texts to sentence case 2023-10-23 09:19:59 +02:00
wmayer
cd6fcc0b99 PD: avoid creation of tmp. std::string in TaskAttacher::onRefName 2023-10-19 15:49:04 +02:00
Adrián Insaurralde Avalos
69f05d313c fix #9348 - Improve Part_Measure_Clear_All tooltip 2023-10-17 17:46:56 +02:00
wmayer
d305f306df Core: Revert superfluous changes made with PR #9521 2023-10-09 15:06:45 +02:00
AgCaliva
3ac69993c0 merge master via cli 2023-10-04 13:28:48 -03:00
wmayer
c4f355ad8d Part: move CmdSelectFilter and friends from core to Part module 2023-10-03 19:26:28 +02:00
wmayer
3c8f245e67 Part: handle Part_SectionCut in WorkbenchManipulator 2023-10-03 19:26:28 +02:00
wmayer
09148fa617 Part: handle Part_SectionCut in WorkbenchManipulator 2023-10-03 19:26:28 +02:00
wmayer
6e12bbf79a Part: add WorkbenchManipulator to Part module 2023-10-03 19:26:28 +02:00
liukaiwen
721b991b1c Merge remote-tracking branch 'origin/master' into remove_redundant_definition 2023-10-02 01:42:37 +08:00
Chris Hennes
6c9be93378 Update translations 2023-09-29 22:57:37 -05:00
liukaiwen
329904a055 [cmake] some definitions do not matter build now 2023-09-27 18:17:14 +08:00
AgCaliva
a4e90b2609 Merge branch 'master' into User/Document/Feature_level_units_selection_#7746 2023-09-25 22:58:23 -03:00
Chris Hennes
3f3ab1ae15 Update translations 2023-09-19 22:25:14 -05:00
AgCaliva
64f60721a9 merge master via cli 2023-09-16 02:12:58 -03:00