From 9397e30ce5fe3f6af9212a93b490836b04fdfffa Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Thu, 27 Aug 2009 20:23:34 -0700 Subject: Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder. --- rsScriptC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsScriptC.cpp') diff --git a/rsScriptC.cpp b/rsScriptC.cpp index 94198297..0c7ac184 100644 --- a/rsScriptC.cpp +++ b/rsScriptC.cpp @@ -334,7 +334,7 @@ RsScript rsi_ScriptCCreate(Context * rsc) ss->runCompiler(rsc); ScriptC *s = new ScriptC(); - s->incRef(); + s->incUserRef(); s->mAccScript = ss->mAccScript; ss->mAccScript = NULL; s->mEnviroment = ss->mEnviroment; -- cgit v1.2.3