You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Some code changed with Clang-Tidy
This commit is contained in:
@@ -3387,11 +3387,7 @@ void VisualServerScene::_update_dirty_instance(Instance *p_instance) {
|
||||
|
||||
RID mat = VSG::storage->immediate_get_material(p_instance->base);
|
||||
|
||||
if (!mat.is_valid() || VSG::storage->material_casts_shadows(mat)) {
|
||||
can_cast_shadows = true;
|
||||
} else {
|
||||
can_cast_shadows = false;
|
||||
}
|
||||
can_cast_shadows = !mat.is_valid() || VSG::storage->material_casts_shadows(mat);
|
||||
|
||||
if (mat.is_valid() && VSG::storage->material_is_animated(mat)) {
|
||||
is_animated = true;
|
||||
|
||||
Reference in New Issue
Block a user