[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46478] trunk/blender/source/blender/ editors/render/render_shading.c: fix: #31374 Wrong/ Missleading hint texts in material assignment.

Campbell Barton ideasman42 at gmail.com
Wed May 9 21:03:17 CEST 2012


Don't think this is right, this operator applies to selected curves,
nurbs, 3d text too.

When being more general in these cases suggest to replace `faces` with
`geometry`.

On Wed, May 9, 2012 at 7:14 PM, Gaia Clary <gaia.clary at machinimatrix.org> wrote:
> Revision: 46478
>          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46478
> Author:   gaiaclary
> Date:     2012-05-09 17:14:16 +0000 (Wed, 09 May 2012)
> Log Message:
> -----------
> fix: #31374 Wrong/Missleading hint texts in material assignment.
>
> Modified Paths:
> --------------
>    trunk/blender/source/blender/editors/render/render_shading.c
>
> Modified: trunk/blender/source/blender/editors/render/render_shading.c
> ===================================================================
> --- trunk/blender/source/blender/editors/render/render_shading.c        2012-05-09 16:43:09 UTC (rev 46477)
> +++ trunk/blender/source/blender/editors/render/render_shading.c        2012-05-09 17:14:16 UTC (rev 46478)
> @@ -208,7 +208,7 @@
>        /* identifiers */
>        ot->name = "Assign Material Slot";
>        ot->idname = "OBJECT_OT_material_slot_assign";
> -       ot->description = "Assign the material in the selected material slot to the selected vertices";
> +       ot->description = "Assign active material to selected faces";
>
>        /* api callbacks */
>        ot->exec = material_slot_assign_exec;
> @@ -292,7 +292,7 @@
>        /* identifiers */
>        ot->name = "Select Material Slot";
>        ot->idname = "OBJECT_OT_material_slot_select";
> -       ot->description = "Select vertices assigned to the selected material slot";
> +       ot->description = "Select all faces with active material";
>
>        /* api callbacks */
>        ot->exec = material_slot_select_exec;
> @@ -311,7 +311,7 @@
>        /* identifiers */
>        ot->name = "Deselect Material Slot";
>        ot->idname = "OBJECT_OT_material_slot_deselect";
> -       ot->description = "Deselect vertices assigned to the selected material slot";
> +       ot->description = "Deselect all faces with active material";
>
>        /* api callbacks */
>        ot->exec = material_slot_deselect_exec;
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs



-- 
- Campbell


More information about the Bf-committers mailing list