[Sidefx-houdini-list] HDK: op:/ magic
szymon.kapeniak at gmail.com
Wed Jan 19 06:58:59 EST 2011
thanks for fast response. Well, I must be doing something stupid,
because it doesn't.
const char *file = (const char *) argv;
if (gdp.load(file, 0) < 0) return ;
while works fine with disk paths, doesn't work with op:/'ed one.
2011/1/19 Olex P <hoknamahn at gmail.com>:
> Hi Szymon,
> I don't think that you need any magic. op: syntax has to be handled
> automagically when you using
> [code]virtual int load(const char *, const UT_Options
> On Wed, Jan 19, 2011 at 11:41 AM, Szymon Kapeniak <szymon.kapeniak at gmail.com
>> what is a magic to let my GU_Detail class to ::load() both files from
>> disk as operator's streams with op:/path syntax? I can see load()
>> with an UT_IStream as argument, but I have no idea how to use it. Does
>> any of UT_Stream versions handle both files and steams or the logic is
>> on my side?
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list