Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2020-01-23 12:34:29 +0300
committerWilliam Reynish <billrey@me.com>2020-01-23 12:34:29 +0300
commitfe772bf8186c5fc990752c4199a4ec38128e0816 (patch)
treea5c3065e92ab215bc1ae720ecc4a7411a654f058 /source/blender/makesrna/intern/rna_space.c
parentc5c46e5b74a0c52f042d7fb61d3e4b401110cc5e (diff)
UI: Change 'Lock Time to Other Windows' > 'Sync Visible Range' + add to Sequencer
As pointed out by user @Peter Fog (tintwotin): The current name for this property is wrong for two reasons: - Because it makes incorrect use of the term 'window' (in Blender these are called 'editors') - 'Lock Time' is incorrect, because it has nothing to do with locking the time at all. In Blender, the time is already locked and always the same across editors, no matter what. This property only syncs the visible range, which is something quite different. For this reason, this is changed to 'Sync Visible Range' instead. I also added a tooltip, which was completely missing. This patch also adds this property to the Sequencer, where it was missing. Differential Revision: https://developer.blender.org/D6632 Reviewed by Julian Eisel
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r--source/blender/makesrna/intern/rna_space.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index a6622356831..5a671ab146c 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -2647,7 +2647,9 @@ static void rna_def_space(BlenderRNA *brna)
/* access to V2D_VIEWSYNC_SCREEN_TIME */
prop = RNA_def_property(srna, "show_locked_time", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_funcs(prop, "rna_Space_view2d_sync_get", "rna_Space_view2d_sync_set");
- RNA_def_property_ui_text(prop, "Lock Time to Other Windows", "");
+ RNA_def_property_ui_text(prop,
+ "Sync Visible Range",
+ "Syncronize the visible timeline range with other time-based editors");
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_TIME, "rna_Space_view2d_sync_update");
rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_HEADER));