Hi Carsten,

The attached file generates

#include "OpenSG/OSGVec2iFields.h"      // Position type
#include "OpenSG/OSGVec3iFields.h"      // Size type

Aloha, Andi



-----Original Message-----
From: Carsten Neumann [mailto:carsten_neum...@gmx.net] 
Sent: Mittwoch, 01. August 2012 17:05
To: opensg-users@lists.sourceforge.net
Subject: Re: [Opensg-users] type=Vec2i

        Hello Andreas,

On 08/01/2012 09:04 AM, Halm, Andreas wrote:
> Hello everybody,
>
> I just noticed a bug which is most likely in the fcd2code script, but since I 
> don't know python really I won't start to dig myself ...
>
>    <Field
>      name="position"
>      category="data"
>      type="Vec2i"
>
> will not be understood correctly, as the Vec2i type is not understood to be a 
> vector and therefore generates the wrong include (OSGVec2iFields.h instead of 
> OSGVecFields.h). This can of course be worked around by using fieldHeader=...

hmm, I can not reproduce the problem with the attached .fcd file, it creates 
the expected OSGVecFields.h include. Could you send a reproducer .fcd? I 
suspect there is some other setting that affects whether the bug shows up or 
not. Thanks!

        Cheers,
                Carsten

Attachment: MachineCore.fcd
Description: MachineCore.fcd

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to