tetektoza
bbcdb77003
TechDraw: Return text fields directly as childs of QGISVGTemplate
...
As the title says. I've noticed during reproducing of #18921 , that
after in `PagePrinter::renderPage` we call `setTemplateMarkers`
twice, which results in deleting `childItems` allocated memory
(in `setTemplateMarkers`->`setMarkers`->`updateView`->`clearClickHandles`),
and then we are calling `setTemplateMarkers` (also in `PagePrinter::renderPage`) second time,
accessing `textFields` in `setMarkers` method, which still contain hanging pointers
from the previous deallocation. This results in segfaults as we iterate through `textFields`.
So, instead of keeping sychronization between childs of QGISVGTemplate
and textFields vector - this patch removes this variable at all and uses
childs directly to return text fields.
2025-04-23 16:32:31 +02:00
Abdelhadi Wael
b31a6d8b69
Remove filter excluding Spreadsheet objects
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
e1fcd129b8
Update src/Gui/CommandStructure.cpp
...
Co-authored-by: Florian Foinant-Willig <FlachyJoe@users.noreply.github.com >
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
70529c9a11
Update CommandStructure.cpp
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
37fec30977
Update src/Gui/CommandStructure.cpp
...
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2025-04-22 21:37:17 -05:00
Abdelhadi-Wael
d6273b078f
fixed warning
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
bde06bdb0c
Updated PR with fixes
2025-04-22 21:37:17 -05:00
Abdelhadi Wael
d92a52e48b
Fix: Only add objects when multiple are selected
2025-04-22 21:37:17 -05:00
Pieter Hijma
2c477fcb25
Remove requirements.txt
2025-04-22 20:28:27 -05:00
Kacper Donat
b24af528d5
Merge pull request #20778 from FlachyJoe/LockedProperty2
...
Prevent user to remove core properties
2025-04-23 00:23:37 +02:00
Pieter Hijma
039cbbe1a5
[Core] Make enum FrameOption boolean
...
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com >
2025-04-22 23:56:07 +02:00
Pieter Hijma
c15140e825
[Core] Enable a frame in VarSet dialog value field
...
The Add Property Dialog for VarSets creates an editor based on the type.
This editor has no frame by default because it is mostly used in the
property view as part of a table. With this change we enable the frame
for the editor (the value field)
2025-04-22 23:56:07 +02:00
Pieter Hijma
a1239688af
[Core] Allow creating an editor with a frame
...
The default is to not have a frame as is custom before this change.
2025-04-22 23:56:07 +02:00
Florian Foinant-Willig
4726c2c0c3
TemplatePyMod: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
e5b6848fc6
Points: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
2729cfa0df
PartDesign: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
b4c41d8c62
Part: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
c7c768995b
OpenSCAD: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
d5ba39d0ca
Measure: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
3064c7705f
Fem: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
36b8e9a703
Draft: Prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
8a4c61ec5a
BIM: prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
d5e2fdf8fd
Assembly: prevent user to remove core properties
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
700c9a8a38
Add locked keyword to ViewProvider::addProperty
2025-04-22 23:52:17 +02:00
Florian Foinant-Willig
d6958ea1e6
Add locked keyword argument to DocumentObject::addProperty
2025-04-22 23:52:17 +02:00
Pieter Hijma
c16935dce4
[Gui] Fix "Select dependent objects" with cycles
...
Doing "Add dependent objects to selection" in the context menu of an
object that has cyclic dependencies triggered an infinite recursive
loop. This has been solved by using the function to get an outlist
recursively.
2025-04-22 17:23:38 -03:00
3x380V
ad244bf8d4
Fix SolverCalculiX object refactor ( #20913 )
...
Rename original SolverCalculix.ui to SolverCcxTools.ui to prevent
collision on case insensitive filesystems.
Fixes: 4f7a835e22 ("Fem: SolverCalculiX object refactor")
2025-04-22 16:53:58 -03:00
Pieter Hijma
05364b9eb4
[Doc] Process comments from review
...
Co-authored-by: Benjamin Nauck <benjamin@nauck.se >
2025-04-22 13:42:50 +02:00
Pieter Hijma
519b78d775
[Doc] Improve documentation PropertyContainer
2025-04-22 13:42:50 +02:00
Pieter Hijma
8956c56235
[Doc] Add documentation top-level namespace App
2025-04-22 13:42:50 +02:00
Jackson Oursland
4c600f20d4
pixi: Match developer dependencies with weekly build and update. ( #20711 )
2025-04-21 20:56:33 -03:00
theo-vt
f2cc750250
PartDesign: Center holes on sketch points as well as circles and arcs ( #20583 )
...
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
2025-04-21 23:30:57 +02:00
Kacper Donat
75bc5eed1c
Sketcher: Remove not-needed print statements
2025-04-21 15:08:33 -05:00
Chris Hennes
b2e3659efe
Start: Apply reviewer suggestion
...
Co-authored-by: Pieter Hijma <pieterhijma@users.noreply.github.com >
2025-04-21 21:21:52 +02:00
Chris Hennes
71932ac724
Start: Refactor f3d to use worker threads
2025-04-21 21:21:52 +02:00
Adrian Insaurralde Avalos
5635c41ed5
Start: refactor f3d previews, use caching and configurable f3d path
2025-04-21 21:21:52 +02:00
MaxiV
5f3c1aa5e8
Start: Switch to using QProcess, not std::system
2025-04-21 21:21:52 +02:00
MaxiV
55dd1f875d
Start: add f3d previews
2025-04-21 21:21:52 +02:00
FilippoR
e165d808f7
App: cmake: add missing Coin_INCLUDE_DIR after #20487 ( #20863 )
2025-04-21 15:01:03 -03:00
Frank Martinez
bbd59caea4
[Core] Fix Color transparency misinterpretation
2025-04-21 11:12:37 -05:00
dependabot[bot]
54c9efafdb
Bump github/issue-metrics from 3.1.1 to 3.18.4
...
Bumps [github/issue-metrics](https://github.com/github/issue-metrics ) from 3.1.1 to 3.18.4.
- [Release notes](https://github.com/github/issue-metrics/releases )
- [Commits](4f29f34d9d...ed6e4b2b46 )
---
updated-dependencies:
- dependency-name: github/issue-metrics
dependency-version: 3.18.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-21 11:04:34 -05:00
dependabot[bot]
54f7099254
Bump peter-evans/create-issue-from-file from 4.0.1 to 5.0.1
...
Bumps [peter-evans/create-issue-from-file](https://github.com/peter-evans/create-issue-from-file ) from 4.0.1 to 5.0.1.
- [Release notes](https://github.com/peter-evans/create-issue-from-file/releases )
- [Commits](433e51abf7...e8ef132d6d )
---
updated-dependencies:
- dependency-name: peter-evans/create-issue-from-file
dependency-version: 5.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-21 11:04:08 -05:00
Chris Hennes
cc1c6c2ab0
Merge pull request #20609 from marioalexis84/fem-ccx_refactor
...
Fem: SolverCalculiX refactor - Add option to import results as pipeline - Fixes #20541
2025-04-21 11:01:23 -05:00
Chris Hennes
f1ef2159ee
Merge pull request #20835 from oursland/python-binding-generator-const
...
python: Make const methods declared const in C++.
2025-04-21 10:58:21 -05:00
Lothaire Sicot
1a5bfdb2e9
Sketcher: Prevent bad constraint names ( #20717 )
...
* Sketcher: Prevent bad constraint names
Ensures the constraint names only contains alphanumericals and
underscores so that they can always be used in expressions.
That way, there cannot be any unicode character or quotes that
would need to be escaped.
Fixes: https://github.com/FreeCAD/FreeCAD/issues/19767
* Add helper function to check constraint names
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: Lothaire Sicot <lothaire.sicot@telecom-paris.fr >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-21 17:53:37 +02:00
Florian Foinant-Willig
ef0ca1cff3
Core: Part::PartFeature should be Part::Feature
2025-04-21 10:51:15 -05:00
Luz Paz
914e756cf0
FEM: fix source typos
...
ConstraintDisplacmentPrescribed → ConstraintDisplacementPrescribed
FemConstraintDisplacment → FemConstraintDisplacement
2025-04-21 10:12:49 -05:00
mosfet80
a8a2b24532
Update sub_lint.yml
...
removing non-existent folders
2025-04-21 10:12:17 -05:00
marcuspollio
1647852305
BIM: cleanup encoding
2025-04-21 10:10:26 -05:00
Alfredo Monclus
db40acce72
refactor: add disambiguation to clearance hole names and use names from the standard ( #19869 )
...
* PD: refactor: threadFit use standard naming and add disambiguation
* PD: fix: do not use variables for tr
2025-04-21 09:54:23 -05:00