Fix Shot_Builder
fails to invoke with correct project root directory
#8
@ -171,7 +171,11 @@ class SHOTBUILDER_OT_NewShotFile(bpy.types.Operator):
|
|||||||
self.production_name = project.name
|
self.production_name = project.name
|
||||||
|
|
||||||
|
|
||||||
ensure_loaded_production(context)
|
if not ensure_loaded_production(context):
|
||||||
|
self.report(
|
||||||
|
{'ERROR'}, "Shot builder configuration files not found in current project directory. \nCheck addon preferences to ensure project root contains shot_builder config.")
|
||||||
|
return {'CANCELLED'}
|
||||||
|
|
||||||
production = get_active_production()
|
production = get_active_production()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user