Skip to content

Different fixes#1606

Merged
glebmish merged 5 commits intoappleseedhq:masterfrom
glebmish:different-fixes
Aug 25, 2017
Merged

Different fixes#1606
glebmish merged 5 commits intoappleseedhq:masterfrom
glebmish:different-fixes

Conversation

@glebmish
Copy link
Copy Markdown
Contributor

@glebmish glebmish commented Aug 25, 2017

Minor fixes for different parts of Python bindings

project = studio.current_project()

if project is None:
raise Exception('No project is opened')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should throw. If no project is open there are no textures to convert and no work to do.
Maybe simply return?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, ok

@glebmish glebmish merged commit 5c9d509 into appleseedhq:master Aug 25, 2017
@glebmish glebmish deleted the different-fixes branch August 25, 2017 19:35
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

Successfully merging this pull request may close these issues.

2 participants