mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-03-20 19:42:28 +01:00
Stop reset of MultiMesh properties on populate
ColorFormat and CustomFormat is not changed when populate is called.
This commit is contained in:
parent
106c45519b
commit
7126f79cc6
@ -190,7 +190,8 @@ void MultiMeshEditor::_populate() {
|
||||
int instance_count = populate_amount->get_value();
|
||||
|
||||
multimesh->set_transform_format(MultiMesh::TRANSFORM_3D);
|
||||
multimesh->set_color_format(MultiMesh::COLOR_NONE);
|
||||
multimesh->set_color_format(node->get_multimesh()->get_color_format());
|
||||
multimesh->set_custom_data_format(node->get_multimesh()->get_custom_data_format());
|
||||
multimesh->set_instance_count(instance_count);
|
||||
|
||||
float _tilt_random = populate_tilt_random->get_value();
|
||||
|
Loading…
Reference in New Issue
Block a user