diff options
author | Ton Roosendaal <ton@blender.org> | 2010-11-24 18:05:54 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-11-24 18:05:54 +0300 |
commit | 6470078bca543f3cc03f5d32d84a93a7eae54c82 (patch) | |
tree | 1328120fdb841973d12452847275e55806ce40a0 /source/blender/makesrna | |
parent | 7c7307edbfc52f38559ad883c50eec967fe7872c (diff) |
Typo in commit... for some reason rna_xx.c files compile without warning?
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_actuator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_actuator.c b/source/blender/makesrna/intern/rna_actuator.c index ea3188b2c5e..fa5397e669e 100644 --- a/source/blender/makesrna/intern/rna_actuator.c +++ b/source/blender/makesrna/intern/rna_actuator.c @@ -362,7 +362,7 @@ EnumPropertyItem *rna_Actuator_type_itemf(bContext *C, PointerRNA *ptr, int *fre /* hardcoded exceptions, for these cases code below needs to find the id.data */ /* otherwise buttons never give all options for selected */ - if (ptr->type==&RNA_Actuator || ptr->type==&RNA_ArmatureActuator || ptr->type==RNA_ShapeActionActuator) { + if (ptr->type==&RNA_Actuator || ptr->type==&RNA_ArmatureActuator || ptr->type==&RNA_ShapeActionActuator) { ob = (Object *)ptr->id.data; } else { /* can't use ob from ptr->id.data because that enum is also used by operators */ |