2.5 Timeline:
* Added "Only selected" Option in View menu.
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user