Merge with trunk r39928
[blender-staging.git] / source / blender / makesrna / intern / rna_space.c
index 3536091001547cb4c2a8ffd8b6154acbc876727d..884018da868ffd2b9a64d066722dfc5b3155ece8 100644 (file)
@@ -2167,6 +2167,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)