blendercam icon indicating copy to clipboard operation
blendercam copied to clipboard

cam_operation_add should handle exception if there is no object in scene

Open eastshores opened this issue 1 year ago • 1 comments

If the user attempts to add an operation with no objects in the scene an exception is thrown. This should be handled to either inform the user that they must add an object or possibly prompt the user to ask if they would like to add a default object - this could allow them to choose from one of several default object types (mesh, curve, etc)

image

eastshores avatar Jun 16 '23 11:06 eastshores

If no object is in the scene active_object will be none. Rather than raise an exception, this is handled through a self report error asking the user to add an object for the operation.

image

eastshores avatar Oct 30 '23 20:10 eastshores