mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 12:54:30 +02:00
reduce log spam
This commit is contained in:
parent
e5159ad213
commit
8817bbea09
1 changed files with 1 additions and 1 deletions
|
@ -984,7 +984,7 @@ function MyController(hand) {
|
||||||
var props = this.entityPropertyCache.getProps(entityID);
|
var props = this.entityPropertyCache.getProps(entityID);
|
||||||
var distance = Vec3.distance(props.position, handPosition);
|
var distance = Vec3.distance(props.position, handPosition);
|
||||||
var grabProps = this.entityPropertyCache.getGrabProps(entityID);
|
var grabProps = this.entityPropertyCache.getGrabProps(entityID);
|
||||||
var debug = true;//(WANT_DEBUG_SEARCH_NAME && props.name === WANT_DEBUG_SEARCH_NAME);
|
var debug = (WANT_DEBUG_SEARCH_NAME && props.name === WANT_DEBUG_SEARCH_NAME);
|
||||||
|
|
||||||
var refCount = ("refCount" in grabProps) ? grabProps.refCount : 0;
|
var refCount = ("refCount" in grabProps) ? grabProps.refCount : 0;
|
||||||
if (refCount > 0) {
|
if (refCount > 0) {
|
||||||
|
|
Loading…
Reference in a new issue