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

Ken Ray kray at sonsothunder.com
Sat Feb 11 17:25:47 EST 2012


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/	




More information about the use-livecode mailing list