[GEM-dev] help trying to debug the draw message in curve3d and surface3d

Cyrille Henry ch at chnry.net
Mon Mar 26 10:43:16 CEST 2012


ok, thanks for the fix and the explanation.
cheers
Cyrille


Le 25/03/2012 22:00, IOhannes m zmölnig a écrit :
> On 03/25/12 14:44, Cyrille Henry wrote:
>> hello,
>
>> i don't really understand why this 2 post did not post the same value.
>>
>> did anyone have any pointer that could help debugging?
>>
>
> you are experiencing the joys of inheritance in oop languages:
> m_drawType is a member variable of GemShape.
> it will get updated whenever you send a "draw" message to a GemShape object (and is referred to in GemShape.cpp)
>
> now, in (curve|surface)3d.h you declare _another_ variable "m_drawType", which will get referenced whenever you call it in the curve3d class.
>
> i pushed a fix for the problem to the "master" branch.
>
> fgamdsr
> IOhannes
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>



More information about the GEM-dev mailing list