If user does not select a path to apply Tag dressup to, but instead for example selects the stock or model, the following red ink errors occur:
`Tags.ERROR: The selected object is not a path
08:03:02 Running the Python command 'CAM_DressupTag' failed:
Traceback (most recent call last):
File "/home/spanner888/Documents/_source/_APPS/ondsel/squashfs-root/usr/Mod/CAM/Path/Dressup/Gui/Tags.py", line 592, in Activated
FreeCADGui.doCommand(
File "", line 1, in
File "/home/spanner888/Documents/_source/_APPS/ondsel/squashfs-root/usr/Mod/CAM/Path/Dressup/Gui/Tags.py", line 556, in Create
obj.ViewObject.Proxy = PathDressupTagViewProvider(obj.ViewObject)
^^^^^^^^^^^^^^
'NoneType' object has no attribute 'ViewObject'`
Suggest Tag dressup should have same behaviour as other dressups that are disabled if incorrect object selected (or not enabled until valid object selected.
Is there an existing issue for this?
Problem description
If user does not select a path to apply Tag dressup to, but instead for example selects the stock or model, the following red ink errors occur:
`Tags.ERROR: The selected object is not a path
08:03:02 Running the Python command 'CAM_DressupTag' failed: Traceback (most recent call last): File "/home/spanner888/Documents/_source/_APPS/ondsel/squashfs-root/usr/Mod/CAM/Path/Dressup/Gui/Tags.py", line 592, in Activated FreeCADGui.doCommand( File "", line 1, in
File "/home/spanner888/Documents/_source/_APPS/ondsel/squashfs-root/usr/Mod/CAM/Path/Dressup/Gui/Tags.py", line 556, in Create
obj.ViewObject.Proxy = PathDressupTagViewProvider(obj.ViewObject)
^^^^^^^^^^^^^^
'NoneType' object has no attribute 'ViewObject'`
Suggest Tag dressup should have same behaviour as other dressups that are disabled if incorrect object selected (or not enabled until valid object selected.
Full version info
Subproject(s) affected?
None
Anything else?
No response
Code of Conduct