From dcac192e9cc70ef81d997cb641889ae1179aeea0 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Fri, 5 Oct 2018 10:35:25 +0200 Subject: [PATCH] Validate V-Ray proxy frame range with generic frame range validator --- colorbleed/plugins/maya/publish/validate_frame_range.py | 3 ++- colorbleed/plugins/maya/publish/validate_vrayproxy.py | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/colorbleed/plugins/maya/publish/validate_frame_range.py b/colorbleed/plugins/maya/publish/validate_frame_range.py index 010422df38..05b64ccf17 100644 --- a/colorbleed/plugins/maya/publish/validate_frame_range.py +++ b/colorbleed/plugins/maya/publish/validate_frame_range.py @@ -20,7 +20,8 @@ class ValidateFrameRange(pyblish.api.InstancePlugin): families = ["colorbleed.animation", "colorbleed.pointcache", "colorbleed.camera", - "colorbleed.renderlayer"] + "colorbleed.renderlayer", + "oolorbleed.vrayproxy"] def process(self, instance): diff --git a/colorbleed/plugins/maya/publish/validate_vrayproxy.py b/colorbleed/plugins/maya/publish/validate_vrayproxy.py index 40c45094db..f722dc6129 100644 --- a/colorbleed/plugins/maya/publish/validate_vrayproxy.py +++ b/colorbleed/plugins/maya/publish/validate_vrayproxy.py @@ -21,7 +21,3 @@ class ValidateVrayProxy(pyblish.api.InstancePlugin): if not data["setMembers"]: cls.log.error("'%s' is empty! This is a bug" % instance.name) - - if data["animation"]: - if data["endFrame"] < data["startFrame"]: - cls.log.error("End frame is smaller than start frame")