From 255bc067ec76f53d650322a4030b900112a2ea09 Mon Sep 17 00:00:00 2001 From: Hamed Zaghaghi Date: Sun, 30 Nov 2008 19:52:21 +0000 Subject: * changed NULL properties into UnknownProperty * added rna_property.c and rna_actuator * enabled access to properties and actuators from object Note that because we have RNA_Property in the RNA itself, you can find properties in gamelogic of and object under the name of RNA_GameProperty --- source/blender/makesrna/intern/rna_controller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/intern/rna_controller.c') diff --git a/source/blender/makesrna/intern/rna_controller.c b/source/blender/makesrna/intern/rna_controller.c index 38d5f93e476..ec4ca1216a0 100644 --- a/source/blender/makesrna/intern/rna_controller.c +++ b/source/blender/makesrna/intern/rna_controller.c @@ -43,13 +43,13 @@ static struct StructRNA* rna_Controller_data_type(struct PointerRNA *ptr) case CONT_LOGIC_NOR: case CONT_LOGIC_XOR: case CONT_LOGIC_XNOR: - return NULL; + return &RNA_UnknownType; case CONT_EXPRESSION: return &RNA_ExpressionCont; case CONT_PYTHON: return &RNA_PythonCont; } - return NULL; + return &RNA_UnknownType; } #else -- cgit v1.2.3