[Bf-blender-cvs] [1f7baa41e1a] temp-greasepencil-vfx: Cleanup: Fix comments
Antonio Vazquez
noreply at git.blender.org
Fri Jun 29 12:33:43 CEST 2018
Commit: 1f7baa41e1a7723b66a7809ed97a0c1c4723a6fd
Author: Antonio Vazquez
Date: Fri Jun 29 12:33:29 2018 +0200
Branches: temp-greasepencil-vfx
https://developer.blender.org/rB1f7baa41e1a7723b66a7809ed97a0c1c4723a6fd
Cleanup: Fix comments
===================================================================
M source/blender/editors/interface/interface_templates.c
===================================================================
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index 2402693a236..f1b431cad2b 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -1689,7 +1689,7 @@ static uiLayout *gpencil_draw_shaderfx(uiLayout *layout, Object *ob,
uiItemL(row, "", RNA_struct_ui_icon(ptr.type));
UI_block_emboss_set(block, UI_EMBOSS);
- /* modifier name */
+ /* effect name */
if (mti->isDisabled && mti->isDisabled(md, 0)) {
uiLayoutSetRedAlert(row, true);
}
@@ -1719,16 +1719,16 @@ static uiLayout *gpencil_draw_shaderfx(uiLayout *layout, Object *ob,
uiItemO(row, "", ICON_X, "OBJECT_OT_shaderfx_remove");
UI_block_emboss_set(block, UI_EMBOSS);
- /* modifier settings (under the header) --------------------------------------------------- */
+ /* effect settings (under the header) --------------------------------------------------- */
if (md->mode & eShaderFxMode_Expanded) {
/* apply/convert/copy */
box = uiLayoutBox(column);
row = uiLayoutRow(box, false);
- /* only here obdata, the rest of modifiers is ob level */
+ /* only here obdata, the rest of effect is ob level */
UI_block_lock_set(block, BKE_object_obdata_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
- /* result is the layout block inside the box, that we return so that modifier settings can be drawn */
+ /* result is the layout block inside the box, that we return so that effect settings can be drawn */
result = uiLayoutColumn(box, false);
block = uiLayoutAbsoluteBlock(box);
}
More information about the Bf-blender-cvs
mailing list