Typo in commit... for some reason rna_xx.c files compile without warning?

This commit is contained in:
Ton Roosendaal 2010-11-24 15:05:54 +00:00
parent 7c7307edbf
commit 6470078bca

@ -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 */