[Bf-committers] OOPS Parenting & Patch
Campbell Barton
bf-committers@blender.org
Sat, 05 Jun 2004 08:19:25 +1000
What do you boffins have to say about having blue spline curves to show
constraints :-) (Like in the 3d view)
(I hope boffin is a good word in your respective coountries)
I copied and pasted almost Every keybord shortcut from the 3d view into oops
join, erase, dupe, DupeLinked..... copyAttrib, MakeTrack clear track. to
name a few.
Get the patch
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=3804&highlight=
duplicate needs to be fiddled with since it grabs the mouse cursor.
Its another command Id like to seperate into foo & foo_ui, so python and
oops can accsess it.
- Cam
car wrote:
> OOOO Love the curve! Sweet It helps a lot for selecting now. If only
> it could be a floating on the 3d view, as that would then let me use a
> Full size screen instead of it shrinking when their are to many
> windows open.
>
>
> On Jun 4, 2004, at 9:36 AM, Campbell Barton wrote:
>
>> Selecting an object from OOPS didnt always make it active.
>> Heres a patch to make it work as it should.
>>
>>
>> Index: source/blender/src/editoops.c
>> ===================================================================
>> RCS file: /cvsroot/bf-blender/blender/source/blender/src/editoops.c,v
>> retrieving revision 1.10
>> diff -u -r1.10 editoops.c
>> --- source/blender/src/editoops.c 3 Jun 2004 14:26:43 -0000 1.10
>> +++ source/blender/src/editoops.c 4 Jun 2004 13:16:02 -0000
>> @@ -111,7 +111,6 @@
>> while(base) {
>> if(base->flag != base->object->flag) {
>> base->flag= base->object->flag;
>> - set_active_base(base);
>> }
>> base= base->next;
>> }
>> @@ -430,6 +429,8 @@
>> void mouse_select_oops(void)
>> {
>> Oops *oops;
>> + Object *ob;
>> + Base *base;
>> extern float oopslastx, oopslasty; /* oops.c */
>>
>> if(G.soops==0) return;
>> @@ -456,7 +457,17 @@
>> oops->flag |= SELECT;
>> }
>> }
>> -
>> +
>> + /* Set the object active */
>> + base= FIRSTBASE;
>> + ob= (Object *)oops->id;
>> + while(base) {
>> + if(base->object == ob) {
>> + set_active_base(base);
>> + }
>> + base= base->next;
>> + }
>> +
>> oopslastx= oops->x;
>> oopslasty= oops->y;
>>
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
>
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton@metavr.com
phone: AU (03) 5229 0241