fix Scene.shouldRender* debugging checkboxes

This commit is contained in:
humbletim 2017-06-21 12:59:05 -04:00
parent 2a8b91e45e
commit 294d588fc4
2 changed files with 8 additions and 0 deletions

View file

@ -100,6 +100,8 @@ var APPLICATION_SETTINGS = {
menu: 'Developer > Enable LookAt Snapping',
object: [ MyAvatar, 'lookAtSnappingEnabled' ]
},
'Scene/shouldRenderEntities': { object: [ Scene, 'shouldRenderEntities' ] },
'Scene/shouldRenderAvatars': { object: [ Scene, 'shouldRenderAvatars' ] },
'camera-move-enabled': {
get: function() {
return cameraControls && cameraControls.enabled;

View file

@ -465,6 +465,12 @@ try {
toggles <b>Scene.shouldRenderEntities</b>
</span>
</label>
<label class="off-red"><input data-for="Scene/shouldRenderAvatars" type="checkbox" />
Render Avatars (debug)
<span class="tooltip">
toggles <b>Scene.shouldRenderAvatars</b>
</span>
</label>
<label class="on-red"><input id="jitter-test" type="checkbox" />
Jitter Rotation Test (debug)
<span class="tooltip">