Skip to content
Snippets Groups Projects
Commit 96d9552a authored by Pablo Vazquez's avatar Pablo Vazquez
Browse files

Amaranth Addon

Frames indicator on timeline: better label while on start frame (show how many are left)
parent 8e56ffda
No related branches found
No related tags found
No related merge requests found
...@@ -264,7 +264,7 @@ def label_timeline_extra_info(self, context): ...@@ -264,7 +264,7 @@ def label_timeline_extra_info(self, context):
if (scene.frame_current > frame_end): if (scene.frame_current > frame_end):
row.label(text="%s Frames Ahead" % ((frame_end - scene.frame_current) * -1)) row.label(text="%s Frames Ahead" % ((frame_end - scene.frame_current) * -1))
elif (scene.frame_current == frame_start): elif (scene.frame_current == frame_start):
row.label(text="%s Start Frame" % scene.frame_current) row.label(text="Start Frame (%s left)" % (frame_end - scene.frame_current))
elif (scene.frame_current == frame_end): elif (scene.frame_current == frame_end):
row.label(text="%s End Frame" % scene.frame_current) row.label(text="%s End Frame" % scene.frame_current)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment