diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-13 18:42:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-13 18:42:45 +0400 |
commit | f35efbc95af7bb85adeb19c451e492daf477683d (patch) | |
tree | 2477d6301022f832b5541556580c371511602e85 /source/blender/makesrna/intern/rna_access.c | |
parent | ab56b4b5b9226698483e662c17241b1274898126 (diff) |
- remove WM_operatortype_exists since its almost the same as WM_operatortype_find
- hopefully fix reported problem with MSVC.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 8e7a2a8cab3..050f00b6a38 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -574,7 +574,7 @@ FunctionRNA *RNA_struct_find_function(PointerRNA *ptr, const char *identifier) FunctionRNA *func; StructRNA *type; for(type= ptr->type; type; type= type->base) { - func= BLI_findstring_ptr(&type->functions, identifier, offsetof(FunctionRNA, identifier)); + func= (FunctionRNA *)BLI_findstring_ptr(&type->functions, identifier, offsetof(FunctionRNA, identifier)); if(func) { return func; } |