Merge with trunk r41625
[blender.git] / source / blender / makesrna / intern / rna_space.c
index bb07fa8..928ed15 100644 (file)
@@ -2385,6 +2385,11 @@ static void rna_def_space_time(BlenderRNA *brna)
        RNA_def_property_boolean_sdna(prop, NULL, "cache_display", TIME_CACHE_SMOKE);
        RNA_def_property_ui_text(prop, "Smoke", "Show the active object's smoke cache");        
        RNA_def_property_update(prop, NC_SPACE|ND_SPACE_TIME, NULL);
+               
+       prop= RNA_def_property(srna, "cache_dynamicpaint", PROP_BOOLEAN, PROP_NONE);
+       RNA_def_property_boolean_sdna(prop, NULL, "cache_display", TIME_CACHE_DYNAMICPAINT);
+       RNA_def_property_ui_text(prop, "Dynamic Paint", "Show the active object's Dynamic Paint cache");        
+       RNA_def_property_update(prop, NC_SPACE|ND_SPACE_TIME, NULL);
 }
 
 static void rna_def_console_line(BlenderRNA *brna)