[Bf-blender-cvs] [d0128f7] gooseberry: Fix for wrong ID code used in RNA->idcode mapping.
Lukas Tönne
noreply at git.blender.org
Mon Mar 23 13:03:58 CET 2015
Commit: d0128f7c7c9529b2d3e87878570dc9108d33ebeb
Author: Lukas Tönne
Date: Wed Mar 18 13:33:10 2015 +0100
Branches: gooseberry
https://developer.blender.org/rBd0128f7c7c9529b2d3e87878570dc9108d33ebeb
Fix for wrong ID code used in RNA->idcode mapping.
===================================================================
M source/blender/makesrna/intern/rna_ID.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c
index 6619f26..b8eda09 100644
--- a/source/blender/makesrna/intern/rna_ID.c
+++ b/source/blender/makesrna/intern/rna_ID.c
@@ -131,7 +131,7 @@ short RNA_type_to_ID_code(StructRNA *type)
if (RNA_struct_is_a(type, &RNA_Action)) return ID_AC;
if (RNA_struct_is_a(type, &RNA_Armature)) return ID_AR;
if (RNA_struct_is_a(type, &RNA_Brush)) return ID_BR;
- if (RNA_struct_is_a(type, &RNA_CacheLibrary)) return ID_CU;
+ if (RNA_struct_is_a(type, &RNA_CacheLibrary)) return ID_CL;
if (RNA_struct_is_a(type, &RNA_Camera)) return ID_CA;
if (RNA_struct_is_a(type, &RNA_Curve)) return ID_CU;
if (RNA_struct_is_a(type, &RNA_GreasePencil)) return ID_GD;
More information about the Bf-blender-cvs
mailing list