Update
This commit is contained in:
@@ -56,7 +56,7 @@ class LayerEffects(Object):
|
||||
mirror_mask = mirror_dq = mirror_weights = everything
|
||||
|
||||
logger.info(
|
||||
"configure mirror: layer %s mask %r weights %r dq %r direction %r",
|
||||
"配置镜像: 图层 %s 遮罩 %r 权重 %r dq %r 方向 %r",
|
||||
self.__layer.name,
|
||||
mirror_mask,
|
||||
mirror_weights,
|
||||
@@ -103,7 +103,7 @@ class Layer(Object):
|
||||
@classmethod
|
||||
def load(cls, mesh, layer_id):
|
||||
if layer_id < 0:
|
||||
raise Exception("invalid layer ID: %s" % layer_id)
|
||||
raise Exception("无效图层 ID: %s" % layer_id)
|
||||
result = Layer(mesh, layer_id)
|
||||
result.reload()
|
||||
return result
|
||||
@@ -112,7 +112,7 @@ class Layer(Object):
|
||||
self.mesh = mesh
|
||||
self.id = id
|
||||
self.effects = LayerEffects(self) # type: LayerEffects
|
||||
"configure effects for this layer"
|
||||
"配置此图层的效果"
|
||||
|
||||
self.__state = None
|
||||
if state is not None:
|
||||
|
||||
Reference in New Issue
Block a user