Asset Pipeline v2 #145
@ -49,6 +49,8 @@ class ASSETPIPE_OT_sync_with_publish(bpy.types.Operator):
|
|||||||
self.report({'ERROR'}, "Current File Name doesn't contain valid task layer")
|
self.report({'ERROR'}, "Current File Name doesn't contain valid task layer")
|
||||||
return {'CANCELLED'}
|
return {'CANCELLED'}
|
||||||
self._new_transfer_data = core.get_ownership(local_col, task_layer_name)
|
self._new_transfer_data = core.get_ownership(local_col, task_layer_name)
|
||||||
|
|
||||||
|
# Default behaviour is to pull before pushing
|
||||||
if self.push:
|
if self.push:
|
||||||
self.pull = True
|
self.pull = True
|
||||||
return context.window_manager.invoke_props_dialog(self, width=400)
|
return context.window_manager.invoke_props_dialog(self, width=400)
|
||||||
|
Loading…
Reference in New Issue
Block a user