mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 08:58:02 +02:00
Fix natural dimensions check
This commit is contained in:
parent
0495833ca6
commit
2df850eb8d
1 changed files with 1 additions and 1 deletions
|
@ -961,7 +961,7 @@ PropertiesTool = function(opts) {
|
|||
|
||||
// If any of the natural dimensions are not 0, resize
|
||||
if (properties.type == "Model" && naturalDimensions.x == 0
|
||||
&& naturalDimensions.y == 0 || naturalDimensions.z == 0) {
|
||||
&& naturalDimensions.y == 0 && naturalDimensions.z == 0) {
|
||||
Window.alert("Cannot reset entity to its natural dimensions: Model URL"
|
||||
+ " is invalid or the model has not yet been loaded.");
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue