Fixed some counter confusion. Setting the primary and secondary projectors with correct variables.

This commit is contained in:
sixteenmillimeter 2020-01-19 01:39:57 -05:00
parent 529c275c0f
commit 35b8b0def2
2 changed files with 12 additions and 6 deletions

View File

@ -22,11 +22,11 @@
</div> </div>
<div class="cam2"> <div class="cam2">
<label>CAMERA</label> <label>CAMERA</label>
<input type="number" id="seq_cam_count_2" class="count" value="00000" onchange="gui.counterFormat(this, cam.pos);" onblur="gui.updateCam2(this);" /> <input type="number" id="seq_cam_2_count" class="count" value="00000" onchange="gui.counterFormat(this, cam.second.pos);" onblur="gui.updateCam2(this);" />
</div> </div>
<div class="proj2"> <div class="proj2">
<label>PROJECTOR 2</label> <label>PROJECTOR 2</label>
<input type="number" id="seq_proj_count_2" class="count" value="00000" onchange="gui.counterFormat(this, proj.pos);" onblur="gui.updateProj2(this);" /> <input type="number" id="seq_proj_2_count" class="count" value="00000" onchange="gui.counterFormat(this, proj.second.pos);" onblur="gui.updateProj2(this);" />
</div> </div>
<div class="proj"> <div class="proj">
<label>PROJECTOR</label> <label>PROJECTOR</label>
@ -179,11 +179,11 @@
<div id="counters_3" class="clearfix"> <div id="counters_3" class="clearfix">
<div class="cam2"> <div class="cam2">
<label>CAMERA 2</label> <label>CAMERA 2</label>
<input type="number" id="seq_cam_count_3" class="count" value="00000" onchange="gui.counterFormat(this, cam.pos);" onblur="gui.updateCam(this);" /> <input type="number" id="seq_cam_2_count_2" class="count" value="00000" onchange="gui.counterFormat(this, cam.second.pos);" onblur="gui.updateCam2(this);" />
</div> </div>
<div class="proj2"> <div class="proj2">
<label>PROJECTOR 2</label> <label>PROJECTOR 2</label>
<input type="number" id="seq_proj_count_3" class="count" value="00000" onchange="gui.counterFormat(this, proj.pos);" onblur="gui.updateProj(this);" /> <input type="number" id="seq_proj_2_count_2" class="count" value="00000" onchange="gui.counterFormat(this, proj.second.pos);" onblur="gui.updateProj2(this);" />
</div> </div>
</div> </div>
<div id="move_to_2" class="clearfix"> <div id="move_to_2" class="clearfix">

View File

@ -136,8 +136,14 @@ gui.updateState = function () {
$('#seq_cam_count').val(cpos).change(); $('#seq_cam_count').val(cpos).change();
$('#seq_proj_count').val(ppos).change(); $('#seq_proj_count').val(ppos).change();
$('#seq_cam_count_2').val(c2pos).change(); $('#seq_cam_count_2').val(cpos).change();
$('#seq_proj_count_2').val(p2pos).change(); $('#seq_proj_count_2').val(ppos).change();
$('#seq_cam_2_count').val(c2pos).change();
$('#seq_proj_2_count').val(p2pos).change();
$('#seq_cam_2_count_2').val(c2pos).change();
$('#seq_proj_2_count_2').val(p2pos).change();
}; };
gui.spinnerCfg = { gui.spinnerCfg = {
lines: 11, // The number of lines to draw lines: 11, // The number of lines to draw