Merged changes in the trunk up to revision 52191.
[blender.git] / source / blender / editors / interface / interface_templates.c
index 68d85aab80f0510d0df610fe85bb57dd6f5f6c1f..dbb401c898bdfd6c9fcb58c1871a8e4d74bfb947 100644 (file)
@@ -867,7 +867,7 @@ static uiLayout *draw_modifier(uiLayout *layout, Scene *scene, Object *ob,
                                uiLayoutSetOperatorContext(row, WM_OP_INVOKE_DEFAULT);
                                uiItemEnumO(row, "OBJECT_OT_modifier_apply", IFACE_("Apply"), 0, "apply_as", MODIFIER_APPLY_DATA);
                                
-                               if (modifier_sameTopology(md) && !modifier_nonGeometrical(md))
+                               if (modifier_isSameTopology(md) && !modifier_isNonGeometrical(md))
                                        uiItemEnumO(row, "OBJECT_OT_modifier_apply", IFACE_("Apply as Shape Key"), 0, "apply_as", MODIFIER_APPLY_SHAPE);
                        }