nicholas_yue Posted October 26, 2014 Share Posted October 26, 2014 Hi I like to check/get a group of primitive from one of the SOP input const GU_Detail* gdp0 = inputGeo(0); but I see the following const GA_PrimitiveGroup *parsePrimitiveGroups(const char *pattern, GU_Detail *pgdp, int allow_numeric=1, int ordered = 1, bool strict = false, int offset = 0); is there a reason for pgdp to be a non-const pointer ? Cheers Quote Link to comment Share on other sites More sharing options...
nicholas_yue Posted October 26, 2014 Author Share Posted October 26, 2014 Answering my own post : Use const GA_PrimitiveGroup *guidesGrp = gdp0->findPrimitiveGroup("blah"); instead Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.