mirror of
https://github.com/overte-org/overte.git
synced 2025-06-03 08:51:27 +02:00
also ignore picking on the material entity
This commit is contained in:
parent
15066faaf7
commit
80f5cbc8ab
1 changed files with 1 additions and 0 deletions
|
@ -147,6 +147,7 @@ EntityShape.prototype = {
|
||||||
priority: 1,
|
priority: 1,
|
||||||
materialMappingMode: PROJECTED_MATERIALS ? "projected" : "uv",
|
materialMappingMode: PROJECTED_MATERIALS ? "projected" : "uv",
|
||||||
materialURL: Script.resolvePath("../assets/images/materials/GridPattern.json"),
|
materialURL: Script.resolvePath("../assets/images/materials/GridPattern.json"),
|
||||||
|
ignorePickIntersection: true,
|
||||||
}, "local");
|
}, "local");
|
||||||
},
|
},
|
||||||
update: function() {
|
update: function() {
|
||||||
|
|
Loading…
Reference in a new issue