mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Merge pull request #82416 from Calinou/decal-fix-clamp-extents
Fix Decal clamping to positive values not being applied to RenderingServer
This commit is contained in:
commit
545d1c0adb
@ -32,7 +32,7 @@
|
||||
|
||||
void Decal::set_size(const Vector3 &p_size) {
|
||||
size = Vector3(MAX(0.001, p_size.x), MAX(0.001, p_size.y), MAX(0.001, p_size.z));
|
||||
RS::get_singleton()->decal_set_size(decal, p_size);
|
||||
RS::get_singleton()->decal_set_size(decal, size);
|
||||
update_gizmos();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user