Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
mgear_core: attribute module log error wrong flags Fixes #29
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed Apr 2, 2019
1 parent dcd5004 commit fc37064
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/mgear/core/attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def addAttribute(node,
str: The long name of the new attribute
"""
if node.hasAttr(longName):
mgear.log("Attribute already exists", mgear.error)
mgear.log("Attribute already exists", mgear.sev_error)
return

data = {}
Expand Down Expand Up @@ -116,7 +116,7 @@ def addColorAttribute(node,
"""
if node.hasAttr(longName):
mgear.log("Attribute already exists", mgear.error)
mgear.log("Attribute already exists", mgear.sev_error)
return

data = {}
Expand Down Expand Up @@ -501,7 +501,7 @@ def setRotOrder(node, s="XYZ"):
a = ["XYZ", "YZX", "ZXY", "XZY", "YXZ", "ZYX"]

if s not in a:
mgear.log("Invalid Rotorder : " + s, mgear.siError)
mgear.log("Invalid Rotorder : " + s, mgear.sev_error)
return False

# Unless Softimage there is no event on the rotorder parameter to
Expand Down Expand Up @@ -538,7 +538,7 @@ def setInvertMirror(node, invList=None):

for axis in invList:
if axis not in aDic:
mgear.log("Invalid Invert Axis : " + axis, mgear.siError)
mgear.log("Invalid Invert Axis : " + axis, mgear.sev_error)
return False

node.setAttr(aDic[axis], True)
Expand Down

0 comments on commit fc37064

Please sign in to comment.