Commit 181b5dea authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

shiftspeed based on zFar

parent a51778f6
......@@ -406,6 +406,13 @@ function deep_init(){
if (!Scene._X3DOM_SCENE_INIT_DONE&&(cnt==0)){
var ss = 10/Scene.element.runtime.viewpoint().getFar();
ss = ss.toFixed(4);
$("#shiftspeed").val(ss);
$("#shiftspeed").change();
//Scene.initResize();
// now then all shapes are parsed and accessible
......
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