Forum

#1 2018-06-20 21:55:18

rbousquet
New member

[Python] types.getname discrepancy

Hi,

I noticed a discrepancy with the class types. Its getname method return "LUIPSTypeFloat" which is not part of the validTypes.

I am simply wondering if it can be fixed on your side or if I have to manage this exception in my code.


python example:


import guerilla

floatType = guerilla.types("float")

print floatType.getname()


otherType = guerilla.types("LUIPSTypeFloat")  -> raises ValueError


Thanks,
Renaud

Offline

 

#2 2018-06-20 22:34:56

Ben
Guerilla dev, the guy to hug

Re: [Python] types.getname discrepancy

Hi Renaud,

Yes, this is an error on our side. The types wrapping in Python is a bit problematic, but this should not happen.
Can you submit a ticket for this, so we can keep a track of this?
Thanks!

Ben


Benjamin 'Ben' Legros
Guerilla developer
http://www.guerillarender.com

Offline

 

#3 2018-06-20 23:00:46

rbousquet
New member

Re: [Python] types.getname discrepancy

Hi Ben,

Thanks for the prompt reply. Will do!

Cheers,
Renaud

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB