New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft WB UI: inconsistent temporary Object creation in the Tree View #13700
Comments
Hello, @marcuspollio , could you please add more images. |
Hi @farleyrunkel just added some screenshots in the collapsed section of the first post. |
That temporary object was there basically so the tool could snap to itself. Which I think is still a good thing. But indeed the temp object is annoying. Two possibilities:
I'm inclined to the short path. What do you think @Roy-043 ? |
I agree. |
Thank you for having a look ! With PR 13778 (or commit b45bf9b) applied, it only fixes this issue for the Line and the Cubic Bézier Curve tools. For the Polyline, the B-Spline and the Bézier Curve, now there is an even more odd item in the Tree View when using these three tools : How to reproduce:
Any clue why is it the case ? |
FreeCAD#13778 introduced `self.obj.ViewObject.ShowInTree = False` to hide the temporary object. But objects that are hidden in the tree are displayed in the tree when they are selected in the 3D view. This selection occurs during commands that take more than 2 points. The solution is to change `self.obj.ViewObject.Selectable` on mouse button up/down. Fixes FreeCAD#13700.
#13778 introduced `self.obj.ViewObject.ShowInTree = False` to hide the temporary object. But objects that are hidden in the tree are displayed in the tree when they are selected in the 3D view. This selection occurs during commands that take more than 2 points. The solution is to change `self.obj.ViewObject.Selectable` on mouse button up/down. Fixes #13700.
Is there an existing issue for this?
Problem description
When creating Drafting Objects (via Toolbar, Shortcuts or Menu), the Line, Polyline, B-Spline and Bézier curve Tools create a temporary "Part_3D_object" icon in the Tree View, while the other Tools (such as Arc, Circle, Rectangle, etc.) do not.
When the Task is finished (e.g. your Line is fully drawn), the icon in the Tree View changes to either Wire (N-Linear), Curve or Polygon.
How to recreate:
Screenshots
Proposed solution:
Full version info
Subproject(s) affected?
Draft
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: