Commit: 3079019ec1367f522ebd6de688044e1030832eff
Author: Lukas Tönne
Date:   Wed Mar 18 13:33:10 2015 +0100
Branches: alembic_pointcache
https://developer.blender.org/rB3079019ec1367f522ebd6de688044e1030832eff

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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to