fix the name of Point Cache in the Project Setting

This commit is contained in:
Kayla Man 2022-07-27 21:56:36 +08:00
parent b057115378
commit 968151f343
3 changed files with 7 additions and 6 deletions

View file

@ -11,7 +11,8 @@ class CreateAnimation(plugin.Creator):
label = "Animation"
family = "animation"
icon = "male"
write_color_sets = False
write_color_sets = False
def __init__(self, *args, **kwargs):
super(CreateAnimation, self).__init__(*args, **kwargs)

View file

@ -11,9 +11,8 @@ class CreatePointCache(plugin.Creator):
label = "Point Cache"
family = "pointcache"
icon = "gears"
write_color_sets = False
write_color_sets = False
def __init__(self, *args, **kwargs):
super(CreatePointCache, self).__init__(*args, **kwargs)
@ -21,7 +20,8 @@ class CreatePointCache(plugin.Creator):
# Add animation data
self.data.update(lib.collect_animation_data())
self.data["writeColorSets"] = self.write_color_sets # Vertex colors with the geometry.
# Vertex colors with the geometry.
self.data["writeColorSets"] = self.write_color_sets
self.data["writeFaceSets"] = False # Vertex colors with the geometry.
self.data["renderableOnly"] = False # Only renderable visible shapes
self.data["visibleOnly"] = False # only nodes that are visible

View file

@ -172,7 +172,7 @@
"type": "dict",
"collapsible": true,
"key": "CreatePointCache",
"label": "Create Cache",
"label": "Create Point Cache",
"checkbox_key": "enabled",
"children": [
{