[Bf-committers] Patch- 3d view Object sel menu
Campbell Barton
bf-committers@blender.org
Mon, 19 Jul 2004 09:53:14 +1000
Okay, object names have a fixed length so I dont realy see this as being
a problem but I could just add some error checking that checks that
there is enough room before adding a string.
how does that sound?
Alexander Ewering wrote:
> On Mon, 19 Jul 2004, Campbell Barton wrote:
>
>> Wheres the bug? how can I fix it?
>> - Cam
>
>
> Here:
>
>> > + char menuText[512] = "Select Object%t";
>
>
> And then the strcats and sprintfs. If I have more than
> 20 or so objects under the cursor, Blender will segfault :)
>
> | alexander ewering instinctive mediaworks
> | ae[@]instinctive[.]de http://www[.]instinctive[.]de
> _______________________________________________
> 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