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
<?xml version="1.0"?>

<FieldContainer
   name="Light"
   parent="Group"
   library="System"
   pointerfieldtypes="both"
   structure="concrete"
   systemcomponent="true"
   parentsystemcomponent="true"
   isNodeCore="true"
   decoratable="false"
   useLocalIncludes="false"
   docGroupBase="GrpSystemNodeCoreGroups"
   >

  <Field
	 name="position"
	 type="Vec2i"
	 cardinality="single"
	 visibility="external"
	 defaultValue="0, 0"
	 access="public"
	 >
	The light's ambient component.
  </Field>
</FieldContainer>
------------------------------------------------------------------------------
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