Prevent caching issue when refreshing shot info from Attract

This commit is contained in:
2016-10-18 12:23:27 +02:00
parent 61a8db3f96
commit 54dccb20ba
2 changed files with 4 additions and 3 deletions

View File

@@ -215,7 +215,7 @@ class AttractOperatorMixin:
from .. import pillar
try:
node = pillar.sync_call(Node.find, atc_object_id)
node = pillar.sync_call(Node.find, atc_object_id, caching=False)
except (sdk_exceptions.ResourceNotFound, sdk_exceptions.MethodNotAllowed):
self.report({'ERROR'}, 'Shot %r not found on the Attract server, unable to relink.'
% atc_object_id)
@@ -257,6 +257,7 @@ class AttractShotSubmitNew(AttractOperatorMixin, Operator):
class AttractShotFetchUpdate(AttractOperatorMixin, Operator):
bl_idname = "attract.shot_fetch_update"
bl_label = "Fetch update from Attract"
bl_description = 'Update status, description & notes from Attract'
@classmethod
def poll(cls, context):