mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
revert a change from previous fixes -- non-dynamic things should have to opt-into being grabbable. dynamic things have to opt-out
This commit is contained in:
parent
8fecb51dde
commit
009c288745
1 changed files with 3 additions and 0 deletions
|
@ -739,6 +739,9 @@ function MyController(hand) {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.propsArePhysical = function(props) {
|
this.propsArePhysical = function(props) {
|
||||||
|
if (!props.dynamic) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
var isPhysical = (props.shapeType && props.shapeType != 'none');
|
var isPhysical = (props.shapeType && props.shapeType != 'none');
|
||||||
return isPhysical;
|
return isPhysical;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue