mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-11 19:00:04 +01:00
better handling of speed display, remove debug output
This commit is contained in:
@@ -69,7 +69,10 @@ class ShaderLoopRecordPlugin(ActionsPlugin,SequencePlugin,DisplayPlugin):
|
||||
display.display_text.insert(END, status)
|
||||
display.display_text.insert(END, ("Position:\t{:03.2f}%\t[{:15s}]".format(self.position,("#"*int(self.position*15)))))
|
||||
display.display_text.insert(END, (" Speed: {:03.2f}%\n".format(self.speed)))
|
||||
display.display_text.insert(END, ("Duration:\t{:03.2f}s\n".format(((self.duration/1000)/self.speed)/4)))
|
||||
if self.speed==0.0:
|
||||
display.display_text.insert(END, ("Duration:\tinfinity!\n"))
|
||||
else:
|
||||
display.display_text.insert(END, ("Duration:\t{:03.2f}s\n".format(((self.duration/1000)/self.speed)/4)))
|
||||
#distance s = d/t d = s*t t = d/s
|
||||
|
||||
status = "\nEnabled clips:\t"
|
||||
|
||||
@@ -87,7 +87,7 @@ class Frame:
|
||||
|
||||
from data_centre.plugin_collection import AutomationSourcePlugin
|
||||
for plugin in self.pc.get_plugins(AutomationSourcePlugin):
|
||||
print("recalling for plugin %s with data %s" % (plugin, self.f.get(plugin.frame_key)))
|
||||
#print("recalling for plugin %s with data %s" % (plugin, self.f.get(plugin.frame_key)))
|
||||
plugin.recall_frame_data(self.f.get(plugin.frame_key))
|
||||
|
||||
def recall_frame(self):
|
||||
|
||||
Reference in New Issue
Block a user