mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-07 04:21:48 +02:00
Fix typo.
This commit is contained in:
parent
4f62ea4b8e
commit
a02d73b035
@ -559,7 +559,7 @@ Ref<Material> ProceduralTreeMesh::get_twig_material() const {
|
|||||||
void ProceduralTreeMesh::set_trunk_material(const Ref<Material> &p_material) {
|
void ProceduralTreeMesh::set_trunk_material(const Ref<Material> &p_material) {
|
||||||
_surfaces[TREE_SURFACE_TRUNK].material = p_material;
|
_surfaces[TREE_SURFACE_TRUNK].material = p_material;
|
||||||
if (!pending_request) {
|
if (!pending_request) {
|
||||||
int si = _surfaces[TREE_SURFACE_TWIG].surface_index;
|
int si = _surfaces[TREE_SURFACE_TRUNK].surface_index;
|
||||||
|
|
||||||
if (si != -1) {
|
if (si != -1) {
|
||||||
// just apply it, else it'll happen when _update is called.
|
// just apply it, else it'll happen when _update is called.
|
||||||
|
Loading…
Reference in New Issue
Block a user