Asset Pipeline v2 #145
@ -171,6 +171,10 @@ class ASSETPIPE_OT_sync_with_publish(bpy.types.Operator):
|
|||||||
return {'CANCELLED'}
|
return {'CANCELLED'}
|
||||||
|
|
||||||
sync_target = core.find_sync_target(current_file)
|
sync_target = core.find_sync_target(current_file)
|
||||||
|
if not sync_target.exists():
|
||||||
|
self.report({'ERROR'}, "Sync Target could not be determined")
|
||||||
|
return {'CANCELLED'}
|
||||||
|
|
||||||
if self.pull:
|
if self.pull:
|
||||||
error_msg = core.merge_task_layer(
|
error_msg = core.merge_task_layer(
|
||||||
context,
|
context,
|
||||||
|
Loading…
Reference in New Issue
Block a user