-
Notifications
You must be signed in to change notification settings - Fork 129
Conversation
@@ -2156,6 +2156,10 @@ def load_capture_preset(path=None, data=None): | |||
for key in preset['Display Options']: | |||
if key.startswith('background'): | |||
disp_options[key] = preset['Display Options'][key] | |||
disp_options[key][0] = (float(disp_options[key][0])/255) | |||
disp_options[key][1] = (float(disp_options[key][1])/255) | |||
disp_options[key][2] = (float(disp_options[key][2])/255) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
@@ -2156,6 +2156,10 @@ def load_capture_preset(path=None, data=None): | |||
for key in preset['Display Options']: | |||
if key.startswith('background'): | |||
disp_options[key] = preset['Display Options'][key] | |||
disp_options[key][0] = (float(disp_options[key][0])/255) | |||
disp_options[key][1] = (float(disp_options[key][1])/255) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
@@ -2156,6 +2156,10 @@ def load_capture_preset(path=None, data=None): | |||
for key in preset['Display Options']: | |||
if key.startswith('background'): | |||
disp_options[key] = preset['Display Options'][key] | |||
disp_options[key][0] = (float(disp_options[key][0])/255) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
c[0], c[1], c[2]) | ||
(float(c[0])/256), | ||
(float(c[1])/256), | ||
(float(c[2])/256) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
@@ -81,7 +81,10 @@ def process_reference(self, context, name, namespace, options): | |||
if c is not None: | |||
cmds.setAttr(groupName + ".useOutlinerColor", 1) | |||
cmds.setAttr(groupName + ".outlinerColor", | |||
c[0], c[1], c[2]) | |||
(float(c[0])/256), | |||
(float(c[1])/256), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
@@ -62,7 +62,10 @@ def load(self, context, name=None, namespace=None, data=None): | |||
if c is not None: | |||
cmds.setAttr(root + ".useOutlinerColor", 1) | |||
cmds.setAttr(root + ".outlinerColor", | |||
c[0], c[1], c[2]) | |||
(float(c[0])/256), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
continuation line under-indented for visual indent
missing whitespace around arithmetic operator
c[0], c[1], c[2]) | ||
(float(c[0])/256), | ||
(float(c[1])/256), | ||
(float(c[2])/256) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
@@ -53,7 +53,10 @@ def load(self, context, name, namespace, data): | |||
if c is not None: | |||
cmds.setAttr("{0}.useOutlinerColor".format(group_node), 1) | |||
cmds.setAttr("{0}.outlinerColor".format(group_node), | |||
c[0], c[1], c[2]) | |||
(float(c[0])/256), | |||
(float(c[1])/256), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
@@ -53,7 +53,10 @@ def load(self, context, name, namespace, data): | |||
if c is not None: | |||
cmds.setAttr("{0}.useOutlinerColor".format(group_node), 1) | |||
cmds.setAttr("{0}.outlinerColor".format(group_node), | |||
c[0], c[1], c[2]) | |||
(float(c[0])/256), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
continuation line under-indented for visual indent
missing whitespace around arithmetic operator
c[0], c[1], c[2]) | ||
(float(c[0])/256), | ||
(float(c[1])/256), | ||
(float(c[2])/256) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing whitespace around arithmetic operator
Changes
template_maya_capture
toschema_maya_capture
as it's used at one place (and that probably won't change)