i'm getting a little "!" error in Lemur Editor.
using destroyobject(obj)
please see attached screen grab.
Thanks for all your good help!
Scripting error with LemurEditor 5.0.3
-
- Newbie
- Posts:45
- Joined:03 Feb 2013 15:08
Re: Scripting error with LemurEditor 5.0.3
I dont think destroyobject(obj) is supported officially - I might be wrong though
-
- Newbie
- Posts:45
- Joined:03 Feb 2013 15:08
Re: Scripting error with LemurEditor 5.0.3
Anyone know for sure or know a workaround?
-
- Regular
- Posts:315
- Joined:02 Nov 2013 11:19
Re: Scripting error with LemurEditor 5.0.3
What are you trying to accomplish with destroyobject? Simply freeing up resources?mssngmrblz wrote:Anyone know for sure or know a workaround?
-
- Newbie
- Posts:45
- Joined:03 Feb 2013 15:08
Re: Scripting error with LemurEditor 5.0.3
I have a page in my template for loading custom controls. When I launch a new scene in live that loads controls the page is first wiped clean to make way for the new bank of controls.
it's also used in Mu. I stole it from there. Mu has the same script and is displaying the same error.
Thanks for your time and thought.
Pat
it's also used in Mu. I stole it from there. Mu has the same script and is displaying the same error.
Thanks for your time and thought.
Pat
Re: Scripting error with LemurEditor 5.0.3
Hi
Yes i am pretty sure it was deprecated with create object though they are looking at keeping that
From memory they were used together to get around the memory issues on hardware lemurs.
With the sizes possible now i guess it would be a case of rewriting Mu to simply have all those subpages in the one project and simply page them in and out of view as needed
Yes i am pretty sure it was deprecated with create object though they are looking at keeping that
From memory they were used together to get around the memory issues on hardware lemurs.
With the sizes possible now i guess it would be a case of rewriting Mu to simply have all those subpages in the one project and simply page them in and out of view as needed
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
-
- Regular
- Posts:315
- Joined:02 Nov 2013 11:19
Re: Scripting error with LemurEditor 5.0.3
Got it. That's good programming practice for sure. From my (limited) experiences with Lemur on iOS programming, resource management may be done 'under the hood', but in general I've tried to define a set of controls and then either use hide/show type operations to bring them into view or use setattribute() type commands to relabel/resize/reposition them as needed.mssngmrblz wrote:I have a page in my template for loading custom controls. When I launch a new scene in live that loads controls the page is first wiped clean to make way for the new bank of controls.
it's also used in Mu. I stole it from there. Mu has the same script and is displaying the same error.
Thanks for your time and thought.
Pat
I can certainly see how the sheer number of objects needed for large templates could cause memory issues, although there was a recent maximum template size increase in one of the 5.0.x updates.