mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-03 14:45:57 +01:00
Fix typo.
This commit is contained in:
parent
780e820b67
commit
f5dc24f4d5
@ -1789,7 +1789,7 @@ RID SpatialMaterial::get_material_rid_for_2d(bool p_shaded, bool p_transparent,
|
|||||||
material->set_billboard_mode(p_billboard_y ? BILLBOARD_FIXED_Y : BILLBOARD_ENABLED);
|
material->set_billboard_mode(p_billboard_y ? BILLBOARD_FIXED_Y : BILLBOARD_ENABLED);
|
||||||
}
|
}
|
||||||
|
|
||||||
materials_for_2d[version] = material;
|
materials_for_2d[hash] = material;
|
||||||
// flush before using so we can access the shader right away
|
// flush before using so we can access the shader right away
|
||||||
flush_changes();
|
flush_changes();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user