This is a bug in the property host. Looks like the only
alternative is to use a data blob. I'll log a bug for that
one.
thanks
-mab
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] On Behalf Of Christopher
Crouzet
Sent: May 22, 2007 4:34 AM
To: XSI Mailing
List
Subject: Problem with GetUserData inside PPGEvent
(C++)
Hello,
I wanted to do some tests on user datas associated with
custom properties, and I was wondering why the GetUserData() function don't work
inside the PPGEvent callback.
When I'm doing a LogMessage of the pointer
address of the data, it returns '00000000'.
However, all works fine
inside the Term callback.
I know that I could use UserDataBlob
instead, but this would be a less convenient
way.
Thanks,
Christopher.