[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24544] trunk/blender/source/blender/ editors/mesh/mesh_ops.c: temp disable fix from r24541, constrains extruding verts

joe joeedh at gmail.com
Fri Nov 13 19:34:04 CET 2009


You can't override it though in the current system.  That falls under
the heading of hacking the macro system to be functional, which iirc
is a definite no no (and is why I didn't get it working in bmesh).

Joe

On Fri, Nov 13, 2009 at 10:22 AM, Martin Poirier <theeth at yahoo.com> wrote:
> Macros are normal operators too, I'd be surprised if they don't have a poll function (or at least a default one that polls all operators in the macro).
>
> Martin
>
> --- On Fri, 11/13/09, joe <joeedh at gmail.com> wrote:
>
>> From: joe <joeedh at gmail.com>
>> Subject: Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24544] trunk/blender/source/blender/ editors/mesh/mesh_ops.c: temp disable fix from r24541, constrains extruding verts
>> To: "bf-blender developers" <bf-committers at blender.org>
>> Received: Friday, November 13, 2009, 1:20 PM
>> How would that work with macros?
>>
>> On Fri, Nov 13, 2009 at 10:17 AM, Martin Poirier <theeth at yahoo.com>
>> wrote:
>> > Or just add a poll function for extrude along normals
>> that restricts it to face select mode.
>> >
>> > Martin
>> >
>> > --- On Fri, 11/13/09, joe <joeedh at gmail.com>
>> wrote:
>> >
>> >> From: joe <joeedh at gmail.com>
>> >> Subject: Re: [Bf-committers] [Bf-blender-cvs] SVN
>> commit: /data/svn/bf-blender [24544]
>> trunk/blender/source/blender/ editors/mesh/mesh_ops.c: temp
>> disable fix from r24541, constrains extruding verts
>> >> To: bf-committers at blender.org
>> >> Received: Friday, November 13, 2009, 1:14 PM
>> >> Can we just not use macros for
>> >> extrude at all? This is what I was
>> >> forced to do in the bmesh branch; since the macro
>> system is
>> >> incomplete
>> >> and not particularly usable, I think we need to
>> either go
>> >> back to the
>> >> old hackish invoke method, or fix the macro
>> system.
>> >>
>> >> Joe
>> >>
>> >> On Fri, Nov 13, 2009 at 2:53 AM, Campbell Barton
>> <ideasman42 at gmail.com>
>> >> wrote:
>> >> > Revision: 24544
>> >> >          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24544
>> >> > Author:   campbellbarton
>> >> > Date:     2009-11-13 11:53:58 +0100 (Fri,
>> 13 Nov
>> >> 2009)
>> >> >
>> >> > Log Message:
>> >> > -----------
>> >> > temp disable fix from r24541, constrains
>> extruding
>> >> verts
>> >> >
>> >> > Modified Paths:
>> >> > --------------
>> >> >
>> >>
>>  trunk/blender/source/blender/editors/mesh/mesh_ops.c
>> >> >
>> >> > Modified:
>> >>
>> trunk/blender/source/blender/editors/mesh/mesh_ops.c
>> >> >
>> >>
>> ===================================================================
>> >> > ---
>> >>
>> trunk/blender/source/blender/editors/mesh/mesh_ops.c
>> >>    2009-11-13 09:28:05 UTC (rev 24543)
>> >> > +++
>> >>
>> trunk/blender/source/blender/editors/mesh/mesh_ops.c
>> >>    2009-11-13 10:53:58 UTC (rev 24544)
>> >> > @@ -180,8 +180,10 @@
>> >> >        WM_operatortype_macro_define(ot,
>> >> "MESH_OT_extrude");
>> >> >        otmacro=
>> WM_operatortype_macro_define(ot,
>> >> "TFM_OT_translate");
>> >> >
>>  RNA_enum_set(otmacro->ptr,
>> >> "proportional", 0);
>> >> > +#if 0  // works in SOME cases but when
>> extruding
>> >> verts its very annoying, temp disable
>> >> >
>>  RNA_enum_set(otmacro->ptr,
>> >> "constraint_orientation", V3D_MANIP_NORMAL);
>> >> >
>> >>  RNA_boolean_set_array(otmacro->ptr,
>> "constraint_axis",
>> >> constraint_axis);
>> >> > +#endif
>> >> >  }
>> >> >
>> >> >  /* note mesh keymap also for other space?
>> */
>> >> >
>> >> >
>> >> >
>> _______________________________________________
>> >> > Bf-blender-cvs mailing list
>> >> > Bf-blender-cvs at blender.org
>> >> > http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>> >> >
>> >> _______________________________________________
>> >> Bf-committers mailing list
>> >> Bf-committers at blender.org
>> >> http://lists.blender.org/mailman/listinfo/bf-committers
>> >>
>> >
>> >
>> >
>>  __________________________________________________________________
>> > Be smarter than spam. See how smart SpamGuard is at
>> giving junk email the boot with the All-new Yahoo! Mail.
>>  Click on Options in Mail and switch to New Mail today or
>> register for free at http://mail.yahoo.ca
>> > _______________________________________________
>> > Bf-committers mailing list
>> > Bf-committers at blender.org
>> > http://lists.blender.org/mailman/listinfo/bf-committers
>> >
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>
>      __________________________________________________________________
> Reclaim your name @ymail.com or @rocketmail.com. Get your new email address now! Go to http://ca.promos.yahoo.com/jacko/
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list