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

Cyrille Henry ch at chnry.net
Sun Mar 25 14:44:38 CEST 2012


hello,

things changed a lot in the way to handle the draw message since last time i look at this objects.
i need a bit of help in order to understand the bug in the drawing style message.
(in this 2 objects, the draw messages did not do anything)

trying to find where the problem does come from, I add a
post("draw type GEMshape = %i", m_drawType);
at the end of the typeMess fonction in GemShape.cpp :
this post the correct number when a draw message is send to the primitive.

adding :
post("draw type %i", m_drawType);
at the beginning of the curve3d render function did not give the same result : it always print the same number.

i don't really understand why this 2 post did not post the same value.

did anyone have any pointer that could help debugging?

thanks
Cyrille



More information about the GEM-dev mailing list