RE: Problem with GetUserData inside PPGEvent (C++)

Date : Tue, 22 May 2007 10:27:48 -0400
To : <XSI(at)Softimage.COM>
From : Marc-André Belzile <mbelzile(at)Softimage.COM>
Subject : RE: Problem with GetUserData inside PPGEvent (C++)
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.

Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.