diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_ID.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_ID.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index e4692d32338..eed178b238d 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -143,6 +143,7 @@ short RNA_type_to_ID_code(StructRNA *type) if(RNA_struct_is_a(type, &RNA_VectorFont)) return ID_VF; if(RNA_struct_is_a(type, &RNA_World)) return ID_WO; if(RNA_struct_is_a(type, &RNA_WindowManager)) return ID_WM; + if(RNA_struct_is_a(type, &RNA_MovieClip)) return ID_MC; return 0; } @@ -177,6 +178,7 @@ StructRNA *ID_code_to_RNA_type(short idcode) case ID_VF: return &RNA_VectorFont; case ID_WO: return &RNA_World; case ID_WM: return &RNA_WindowManager; + case ID_MC: return &RNA_MovieClip; default: return &RNA_ID; } } |