提交 31d8b0ae 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #12268 from cg-cnu/blender-constants

moved flip axis constants to constants.py
......@@ -387,3 +387,10 @@ DBG_COLORS = (0xeeeeee, 0xee0000, 0x00ee00, 0x0000ee,
DOUBLE_SIDED = 'doubleSided'
EXPORT_SETTINGS_KEY = 'threeExportSettings'
# flips vectors
XZ_Y = "XZ_Y"
X_ZY = "X_ZY"
XYZ = "XYZ"
_XY_Z = "_XY_Z"
......@@ -14,12 +14,10 @@ from .. import constants, utilities, logger, exceptions
# flips vectors
#TODO: add these strings into constants.py
XZ_Y = "XZ_Y"
X_ZY = "X_ZY"
XYZ = "XYZ"
_XY_Z = "_XY_Z"
XZ_Y = constants.XZ_Y
X_ZY = constants.X_ZY
XYZ = constants.XYZ
_XY_Z = constants._XY_Z
def flip_axes (a, dir=XYZ):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册