From 149397fa349bcb78126e2a9958ba30cdf42311a0 Mon Sep 17 00:00:00 2001 From: korenkonder Date: Sat, 29 Jun 2024 21:34:29 +0300 Subject: [PATCH] Glitter Editor --- src/ReDIVA/data_edit/glitter_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ReDIVA/data_edit/glitter_editor.cpp b/src/ReDIVA/data_edit/glitter_editor.cpp index d70e3a87..1821b2ea 100644 --- a/src/ReDIVA/data_edit/glitter_editor.cpp +++ b/src/ReDIVA/data_edit/glitter_editor.cpp @@ -1606,7 +1606,7 @@ static void glitter_editor_load_file(GlitterEditor* glt_edt, const char* path, c if (!glt_edt->load_wait) { glitter_editor_enable = true; glt_edt->hash = Glitter::glt_particle_manager->LoadFile(glt_edt->load_glt_type, - &data_list[glt_edt->load_data_type], file, path, -1.0f, false); + &data_list[glt_edt->load_data_type], file, path, -1.0f, true); glt_edt->reset(); glt_edt->load_wait = true; return; @@ -2304,7 +2304,7 @@ static void glitter_editor_disp_wireframe_render_scene(GlitterEditor* glt_edt, rctx_ptr->glitter_batch_ubo.WriteMemory(shader_data); shaders_dev.set(SHADER_DEV_GLITTER_PT_WIREFRAME); - rctx_ptr->glitter_batch_ubo.Bind(2); + rctx_ptr->glitter_batch_ubo.Bind(3); switch (rend_group->type) { case Glitter::PARTICLE_QUAD: gl_state_bind_vertex_array(rend_group->vao);