Added Scene.set_frame RNA function to get immediate scene update.

Changing Scene.current_frame doesn't work in this case because it adds 
a notifier.

Also added RNA_property_update call in pyrna_struct_setattro so that 
notifiers are added when a property changes.
This commit is contained in:
2009-07-11 11:58:50 +00:00
parent 3ad64726ee
commit f221d9128d
8 changed files with 79 additions and 7 deletions

View File

@@ -100,6 +100,8 @@ void rna_def_action(BlenderRNA *brna)
RNA_def_property_collection_sdna(prop, NULL, "markers", NULL);
RNA_def_property_struct_type(prop, "TimelineMarker");
RNA_def_property_ui_text(prop, "Pose Markers", "Markers specific to this Action, for labeling poses.");
RNA_api_action(srna);
}
/* --------- */