Cleanup: use shorter name for shader config
[blender.git] / source / blender / draw / modes / edit_metaball_mode.c
index a61745b09ad4114b279f57cbb6462e4a40cf1bf7..0af1ab9ecd8511b8b5aaff493c93aeedd287cb17 100644 (file)
@@ -121,7 +121,7 @@ static void EDIT_METABALL_cache_init(void *vedata)
                psl->pass = DRW_pass_create("My Pass", state);
 
                /* Create a shadingGroup using a function in draw_common.c or custom one */
-               stl->g_data->group = shgroup_instance_mball_handles(psl->pass, draw_ctx->shader_cfg);
+               stl->g_data->group = shgroup_instance_mball_handles(psl->pass, draw_ctx->sh_cfg);
        }
 }