Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHamed Zaghaghi <hamed.zaghaghi@gmail.com>2008-11-30 22:52:21 +0300
committerHamed Zaghaghi <hamed.zaghaghi@gmail.com>2008-11-30 22:52:21 +0300
commit255bc067ec76f53d650322a4030b900112a2ea09 (patch)
treed67dddf9fa6e10f84082d00c995ff8557c7175ac /source/blender/makesrna/intern/rna_controller.c
parent9cb9bf7da311ca22b62efdee63ca4c0e76371f1a (diff)
* 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
Diffstat (limited to 'source/blender/makesrna/intern/rna_controller.c')
-rw-r--r--source/blender/makesrna/intern/rna_controller.c4
1 files changed, 2 insertions, 2 deletions
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