Skip to content

Draft: Downgrade and upgrade causing error if nothing selected #33096

Description

@ErtugrulEge

Problem description

2026-09-30.17-19-12.mp4

Workbench affected?

Draft

Steps to reproduce

1.Open Draft WB
2.Create a line
3.Deselect line and press downgrade or upgrade while nothing selected
4.Press close button on taskbar
5.Select line

Expected behavior

Actual behavior

17:21:38  Select an object to upgrade
17:21:42  Traceback (most recent call last):
17:21:42    File "C:\Users\fatih\OneDrive\Desktop\FreeCAD_weekly-2026.09.30-Windows-x86_64\Mod\Draft\draftguitools\gui_tool_utils.py", line 212, in select_object
    App.activeDraftCommand.proceed()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17:21:42  AttributeError: 'NoneType' object has no attribute 'proceed'
17:21:42  Traceback (most recent call last):
17:21:43    File "C:\Users\fatih\OneDrive\Desktop\FreeCAD_weekly-2026.09.30-Windows-x86_64\Mod\Draft\draftguitools\gui_tool_utils.py", line 212, in select_object
    App.activeDraftCommand.proceed()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17:21:43  AttributeError: 'NoneType' object has no attribute 'proceed'
17:21:43  Traceback (most recent call last):
17:21:43    File "C:\Users\fatih\OneDrive\Desktop\FreeCAD_weekly-2026.09.30-Windows-x86_64\Mod\Draft\draftguitools\gui_tool_utils.py", line 212, in select_object
    App.activeDraftCommand.proceed()

Development version About Info (in Safe Mode)

OS: Windows 11 build 26200
Architecture: x86_64
Version: 26.3.0dev.20260929 (Git shallow)
Build date: 2026/09/29 22:39:08
Build type: Release
Branch: grafted,grafted
Hash: 3160daf1e2b62b0472854da4848255c6b3ad554c
Python 3.13.15, Qt 6.11.2, Coin 4.0.10 (bundled), Pivy 0.6.11 (bundled), Vtk 9.7.0, boost 1_90, Eigen3 5.0.1, PySide 6.11.2
shiboken 6.11.2, xerces-c 3.3.0, Clipper2 , IfcOpenShell 0.8.5, OCC 8.0.1
Locale: Turkish/Türkiye (tr_TR)
Stylesheet/Theme/QtStyle: FreeCAD.qss/FreeCAD Dark/
QPA/File dialog/Color dialog: windows/via Win32/via Qt
Navigation Style/Orbit Style/Rotation Mode: Blender/Rounded Arcball/Window center
Logical DPI/Physical DPI/Pixel Ratio: 96/81.5973/1
OpenGL version/vendor/renderer: 4.6.0 NVIDIA 597.06/NVIDIA Corporation/Quadro RTX 4000/PCIe/SSE2
Installed mods:
  * Curved Shapes 1.0.15
  * Curves workbench 0.6.81

Last known good version (optional)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Mod: DraftRelated to the Draft WorkbenchStatus: ConfirmedThe issue was confirmed by others

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions