2.5 Timeline:

* Added "Only selected" Option in View menu.
This commit is contained in:
Thomas Dinges
2009-08-17 11:45:24 +00:00
parent 3a4fd712c0
commit f1ec842cb2
2 changed files with 11 additions and 0 deletions

View File

@@ -80,7 +80,13 @@ class TIME_MT_view(bpy.types.Menu):
def draw(self, context):
layout = self.layout
st = context.space_data
layout.itemO("anim.time_toggle")
layout.itemS()
layout.itemR(st, "only_selected")
class TIME_MT_frame(bpy.types.Menu):
__space_type__ = "TIMELINE"

View File

@@ -1160,6 +1160,11 @@ static void rna_def_space_time(BlenderRNA *brna)
prop= RNA_def_property(srna, "continue_physics", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "redraws", TIME_CONTINUE_PHYSICS);
RNA_def_property_ui_text(prop, "Continue Physics", "During playblack, continue physics simulations regardless of the frame number");
prop= RNA_def_property(srna, "only_selected", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", TIME_ONLYACTSEL);
RNA_def_property_ui_text(prop, "Only Selected channels", "Show keyframes only from active/selected channels.");
RNA_def_property_update(prop, NC_WINDOW, NULL);
}
static void rna_def_console_line(BlenderRNA *brna)