Fix T52401: "Export Keying Set" operator generated incorrect ID's for shapekeys
To be backported.
This commit is contained in:
parent
d48f4b61c9
commit
7b397cdfc8
Notes:
blender-bot
2023-02-14 06:41:40 +01:00
Referenced by issue #54088, Blender 2.79a crashes immediately on Laptop Referenced by issue #53567, denoising artifacts with normal mapping in diffuse Referenced by issue #52704, Ctrl+P Automatic Weights Freezes Blender Referenced by issue #52678, Blender crashes rotating grease pencil strokes when the frame is locked Referenced by issue #52660, CUDA error: Not found in cuModuleGetTexRef(&texref, cuModule, bind_name.c_str()). line 710 Referenced by issue #52671, Flipped names don't weight properly with Mirror Modifier Referenced by issue #52652, Cycles 3/6 textures reversed on cube with generated co-ordinates and box mapping Referenced by issue #52653, Render output of linked scenes conflicts with other scenes with the same name Referenced by issue #52639, Crash - Using Smooth weight tool Referenced by issue #52643, Rendered Viewport after Quick Smoke crashes Blender Referenced by issue #52626, Scene too complex to fit in available memory. (allocating buffer Denoising XtWY failed.) Referenced by issue #52605, FBX Exporter not scaling properly Referenced by issue #52571, NLA Tracks cause lower performance with Armature Ghost Referenced by issue #52580, principled BSDF Reflected Roughness bug. Referenced by issue #52562, Opacity slider of scene strip or image strip not reacting Referenced by issue #52567, Limit to selection to visible function (problem) Referenced by issue #52544, Blender crash. Problem with ShrinkWrap or Subsurf Lvl 2 Referenced by issue #52551, undo causes crash after enabling a new rigid body when scene uses a referenced rigid body world Referenced by issue #52533, Blender Shuts down when rendering duplicated smoke domain. Referenced by issue #52526, Alembic importing broken Referenced by issue #52489, Oculus Legacy VR Flashing and 2d burnin Referenced by issue #52490, NDOF device does not lock into orthogonal view (top, front, right, etc) in 2.79RC2 as in prev versions Referenced by issue #52436, Importing keyconfig mess up blender configuration SHIFT + A opens ADD menu and at the same time popups new external 3D window Referenced by issue #52417, Cannot seem to export Vertex Color with Alembic for Maya nor Houdini
|
@ -137,6 +137,9 @@ class ANIM_OT_keying_set_export(Operator):
|
|||
break
|
||||
else:
|
||||
self.report({'WARN'}, "Could not find scene using Compositor Node Tree - %s" % (ksp.id))
|
||||
elif ksp.id.bl_rna.name == "Key":
|
||||
# "keys" conflicts with a Python keyword, hence the simple solution won't work
|
||||
id_bpy_path = "bpy.data.shape_keys[\"%s\"]" % (ksp.id.name)
|
||||
else:
|
||||
idtype_list = ksp.id.bl_rna.name.lower() + "s"
|
||||
id_bpy_path = "bpy.data.%s[\"%s\"]" % (idtype_list, ksp.id.name)
|
||||
|
|
Loading…
Reference in New Issue