Skip to content
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

cam_operation_add should handle exception if there is no object in scene #242

Open
eastshores opened this issue Jun 16, 2023 · 1 comment

Comments

@eastshores
Copy link
Contributor

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant