You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Merge pull request #90440 from Calinou/geometryinstance3d-fix-custom-aabb-assignment
Fix GeometryInstance3D Custom AABB assignment in the editor not working
This commit is contained in:
@@ -1029,7 +1029,6 @@ inline bool is_geometry_instance(RenderingServer::InstanceType p_type) {
|
|||||||
void RendererSceneCull::instance_set_custom_aabb(RID p_instance, AABB p_aabb) {
|
void RendererSceneCull::instance_set_custom_aabb(RID p_instance, AABB p_aabb) {
|
||||||
Instance *instance = instance_owner.get_or_null(p_instance);
|
Instance *instance = instance_owner.get_or_null(p_instance);
|
||||||
ERR_FAIL_NULL(instance);
|
ERR_FAIL_NULL(instance);
|
||||||
ERR_FAIL_COND(!is_geometry_instance(instance->base_type));
|
|
||||||
|
|
||||||
if (p_aabb != AABB()) {
|
if (p_aabb != AABB()) {
|
||||||
// Set custom AABB
|
// Set custom AABB
|
||||||
|
|||||||
Reference in New Issue
Block a user