Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_object.c
| Context not available. | |||||
| return ((Object *)value.id.data)->type == OB_CAMERA; | return ((Object *)value.id.data)->type == OB_CAMERA; | ||||
| } | } | ||||
| int rna_Lamp_object_poll(PointerRNA *UNUSED(ptr), PointerRNA value) | |||||
| { | |||||
| return ((Object *)value.id.data)->type == OB_LAMP; | |||||
| } | |||||
| int rna_DupliObject_index_get(PointerRNA *ptr) | int rna_DupliObject_index_get(PointerRNA *ptr) | ||||
| { | { | ||||
| DupliObject *dob = (DupliObject *)ptr->data; | DupliObject *dob = (DupliObject *)ptr->data; | ||||
| Context not available. | |||||