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@iem.at
http://lists.puredata.info/listinfo/gem-dev
_______________________________________________
GEM-dev mailing list
GEM-dev@iem.at
http://lists.puredata.info/listinfo/gem-dev