소스 검색

meshviewer index fix

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 11 년 전
부모
커밋
1148bdda55
1개의 변경된 파일8개의 추가작업 그리고 7개의 파일을 삭제
  1. +8
    -7
      test/meshviewer.index.html

+ 8
- 7
test/meshviewer.index.html 파일 보기

@@ -127,21 +127,22 @@ function machinchose() { return 'test machin '; }
function IsUsingNaCl() { return window.chrome; }
</script>

<script src="./javascript/utils.js"></script>
<script src="./javascript/progressstatus.js"></script>
<script src="../javascript/utils.js"></script>
<script src="../javascript/progressstatus.js"></script>
<script type="text/javascript">
//Used by typedictionnary.js
function GetCmdDictionnary() { return CodeDictionnary[g_code_id]; }
g_code_id = 1;
</script>
<script src="./javascript/typedictionnary.js"></script>
<script src="../javascript/typedictionnary.js"></script>
<!-- Init Scene setup dictionnary -->
<script type="text/javascript">
CodeDictionnary[g_code_id--] = new TypeDictionnary("SceneSetup");
CodeDictionnary[g_code_id] = new TypeDictionnary("SceneSetup");
</script>
<script src="./scenesetupdictionnary.js"></script>
<!-- Init Easy mesh dictionnary -->
<script type="text/javascript">
g_code_id--;
CodeDictionnary[g_code_id] = new TypeDictionnary("EasyMesh");
</script>
<script src="./easymeshdictionnary.js"></script>
@@ -208,7 +209,7 @@ function machinchose() { return 'test machin '; }
//NaCl Specific
if (IsUsingNaCl())
{
DynLoadFile("./javascript/naclloading.js");
DynLoadFile("../javascript/naclloading.js");
g_frame_embed.src = 'meshviewer.nacl.html';
}
else
@@ -291,10 +292,10 @@ function machinchose() { return 'test machin '; }
<table border="0" cellpadding="0" cellspacing="0" width="772">
<tr>
<td align="left">
<div><button onclick="SendMessageToModule()">Send Mesh Command !</button></div>
<div><button onclick="SendMessageToModule()">Send Mesh Command</button></div>
</td>
<td align="right">
<div><button onclick="ExchangeSetup()">Edit Scene Setup.</button></div>
<div><button onclick="ExchangeSetup()">Edit Scene Setup</button></div>
</td>
</tr>
</table>


불러오는 중...
취소
저장