Merge with trunk r37849
[blender.git] / source / blender / makesrna / intern / rna_space.c
index f4753e2efbe9bfa3836d3f62ffd96515a288919a..cc6874a14aa472ff6a0b8105850cc125f52cef06 100644 (file)
@@ -2158,6 +2158,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)