getavalon / core

The safe post-production pipeline - https://getavalon.github.io/2.0
MIT License
213 stars 48 forks source link

Prompt proper message if no creator plugin been found #490

Closed davidlatwe closed 4 years ago

davidlatwe commented 4 years ago

What happened ?

If no creator plugin been registered, launching creator tool will raise following error

# Traceback (most recent call last):
#   File "...\avalon-core\avalon\tools\creator\app.py", line 302, in _on_data_changed
#     family = plugin.family.rsplit(".", 1)[-1]
# AttributeError: 'NoneType' object has no attribute 'family'

Should prompt a message instead.

What's changed ?

The "no creator plugin" scenario has been handled plus echoing a message on GUI.