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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-11-30 18:55:14 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-11-30 18:55:14 +0300
commit42aa747ec036821e1cfe8bd3c314a8fb69ed56cd (patch)
tree17310cddec292b39aad44e0592e4cb922790d492 /source/blender/makesrna/intern/rna_sensor.c
parent5464c2e4a8ef638b898f04e3bf0edade367fc0b6 (diff)
RNA
* DNA_radio_types.h: done. (patch by Jorge Bernal). Also adds some #defines in the radiosity DNA since it was using hardcoded values. * Added an "UnknownType" which has no properties, useful as a placeholder for pointers that have no defined type yet. * Sort a few lists in the code alphabetically.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sensor.c')
-rw-r--r--source/blender/makesrna/intern/rna_sensor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sensor.c b/source/blender/makesrna/intern/rna_sensor.c
index 1ffc3def450..c4a64235f3d 100644
--- a/source/blender/makesrna/intern/rna_sensor.c
+++ b/source/blender/makesrna/intern/rna_sensor.c
@@ -67,6 +67,8 @@ static struct StructRNA* rna_Sensor_data_type(struct PointerRNA *ptr)
return &RNA_ActuatorSensor;
case SENS_DELAY:
return &RNA_DelaySensor;
+ default:
+ return &RNA_UnknownType;
}
return NULL;