Warning Re: 'DAZ3D is giving away three 3D-Apps for free'

Paul Hibbert lc at pbh.on-rev.com
Sun Feb 12 06:23:03 EST 2012


A big THANK YOU Ken,

I was really struggling with LC, I could open the script editor, but it took two clicks to launch and the breakpoints didn't work, but it was just about useable.

Paul

On 11 Feb 2012, at 22:25, Ken Ray wrote:

> If you take advantage of downloading the DAZ3D software for Mac 64-bit computers, you need to be aware of a "gotcha":
> 
> It turns out that after installing the 64-bit versions of DAZ3D on my Mac that LiveCode can't open a script editor window anymore. This turned out to be because it inserted two "bad" environment variables: ($DAZSTUDIOVERSION_4-64 and $DAZSTUDIO_4-64) which LC would error out on when trying to work with global variables. The "-" in these globals is what did it…
> 
> So if you've installed these and find yourself in a situation trying to open a script window and seeing nothing but "revNewScriptEditor 1" in the Windows menu, you'll need to either (a) wait until RunRev fixes it, (b) find another copy of LC on another machine or install the MetaCard IDE and then edit the revDebugger.rev file (in Contents/Tools/Toolset), go to the "revDebuggerValidGlobalNames" function and change it to add:
> 
>    filter tGlobalsRaw without "*-*"
> 
> It should look like this:
> 
> function revDebuggerValidGlobalNames
>  local tGlobalsRaw
>  put the globals into tGlobalsRaw
> 
>  replace comma with return in tGlobalsRaw
> 
>  # For now we just filter out the Vista 64 bit ones. Really we should remove anything that is not a valid Rev identifier
>  # according to lextable.cpp, but that can easily be added in later as this is the only place in the IDE this is done.
>  filter tGlobalsRaw without "*(x86)"
>  filter tGlobalsRaw without "*/*"
>  filter tGlobalsRaw without "*-*"
> 
>  replace return with comma in tGlobalsRaw
> 
>  return tGlobalsRaw
> end revDebuggerValidGlobalNames
> 
> I'm sure RunRev will add this line in soon, but in the meantime it's a "gotcha" you should be aware of…
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/	
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list