Commit b86414fa authored by David E. DeMarle's avatar David E. DeMarle

Revert "Use full precision instead of format strings for times"

This reverts commit 472f6c21.

The export scene path needs to be changed to use full precision
and the ParaView importer needs to be changed to read databases
with string or full precision times.
parent 5826ba64
......@@ -525,7 +525,7 @@ def make_cinema_store(proxies,
"color"+proxy_name, 'vis', [proxy_name])
fnp = ""
if forcetime is not False:
if forcetime:
# time specified, use it, being careful to append if already a list
tvalues.append(forcetime)
tprop = store.make_parameter('time', tvalues)
......@@ -689,11 +689,7 @@ def project_to_at(eye, fp, cr):
return at
def explore(cs,
proxies,
iSave=True,
currentTime=None,
userDefined={},
def explore(cs, proxies, iSave=True, currentTime=None, userDefined={},
specLevel="A",
camType='phi-theta',
tracking={},
......@@ -738,7 +734,7 @@ def explore(cs,
ctime_float = None
if currentTime:
ctime_float = currentTime['time']
ctime_float = float(currentTime['time'])
# hide all annotations
view_proxy.OrientationAxesVisibility = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment