[HDK] - GU::Detail::notifyCache SYS_DEPRACATED?
2568 6 1- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- Ondrej
- Staff
- 1072 posts
- Joined: July 2005
- Offline
- neil_math_comp
- Member
- 1743 posts
- Joined: March 2012
- Offline
Ondrej's correct. It's not needed.
A possible exception (so far as I know, nobody's checked, so it might not really be an exception) is if you're using the GL1 or GL2 viewports, there's a chance that they may be out of date for some operations like selecting things. I don't think anybody knows for sure.
The big thing is that in the next major version of Houdini, it's certainly unnecessary, and may be eliminated. Of course, there is an obscure case that probably nobody is depending on, but if someone was using notifyCache to increment the meta cache count when switching between two different sets of expression local variables, it'd need to be replaced with gdp->incrementMetaCacheCount().
Hopefully that clears things up! :wink:
A possible exception (so far as I know, nobody's checked, so it might not really be an exception) is if you're using the GL1 or GL2 viewports, there's a chance that they may be out of date for some operations like selecting things. I don't think anybody knows for sure.
The big thing is that in the next major version of Houdini, it's certainly unnecessary, and may be eliminated. Of course, there is an obscure case that probably nobody is depending on, but if someone was using notifyCache to increment the meta cache count when switching between two different sets of expression local variables, it'd need to be replaced with gdp->incrementMetaCacheCount().
Hopefully that clears things up! :wink:
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- Ondrej
- Staff
- 1072 posts
- Joined: July 2005
- Offline
- neil_math_comp
- Member
- 1743 posts
- Joined: March 2012
- Offline
Ondrej… but the H11 viewport *isn't* in 13.0. (wink wink, shhhhhh) :shock:
I had forgotten about the old viewport. You'll also need to keep that call if you're using the H11 viewport for whatever reason in 13.0.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
I'm not using any H11 stuff anymore. Thanks to TWOD http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=29374&highlight=GUI [sidefx.com] I moved my four letters to OGL3 (and C++11) for any future expeditions.
As for notifyCache(), I'm cleaning my library of HDK stuff, and with it all the things that become depracated between 12.5<=>13, like not using gdp->primitives().entry(*primIT)->getNum() for retrieving index of prim which still relies on GEO_PrimList. Small changes here and there and right now I don't have any warnings beside some standard stuff that warns about precision loosing between some casts.
As for notifyCache(), I'm cleaning my library of HDK stuff, and with it all the things that become depracated between 12.5<=>13, like not using gdp->primitives().entry(*primIT)->getNum() for retrieving index of prim which still relies on GEO_PrimList. Small changes here and there and right now I don't have any warnings beside some standard stuff that warns about precision loosing between some casts.
-
- Quick Links