nestumkiller Posted May 7, 2008 Share Posted May 7, 2008 Hi guys! I was doing some small HelloSOP on Windows, however I'm getting a null gdp on the cookmySOP(). Isn't it supposed to have the gdp initialized at this point? Here goes the method: OP_ERROR SOP_GeoInformation::cookMySop(OP_Context &context) { float now = context.myTime; // Before we do anything, we must lock our inputs. Before returning, // we have to make sure that the inputs get unlocked. if (lockInputs(context) >= UT_ERROR_ABORT) return error(); // Duplicate incoming geometry. if( duplicateSource( 0, context ) > UT_ERROR_NONE ) return error(); if ( gdp == NULL) { cerr << "Null GDP" << endl; return error(); } ... ... unlockInputs(); return error(); } Quote Link to comment Share on other sites More sharing options...
nestumkiller Posted May 7, 2008 Author Share Posted May 7, 2008 Sorry guys, I was still using H9.0.725 and there was probably a bug. I've installed the 9.1.179 and it seems to work now . 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.