IMPORTANT: critical upgrade to Fredo6 scripts (grayout menu)

IMPORTANT: critical upgrade to Fredo6 scripts (grayout menu)

Postby fredo6 » Thu May 06, 2010 11:52 pm

I am sorry to say that some of my scripts were heavy contributors to the problem of menu gray-out which has been reported by many users (see thread http://forums.sketchucation.com/viewtopic.php?f=15&t=27941#p242263. I fixed the faulty code.

WHETHER YOU USE MY SCRIPTS OR NOT, I would strongly advised users to upgrade the following scripts to their latest versions, all dated 6 May 10.

LibFredo6 --> v3.4c (the most critical)
ToolsOnSurface --> 1.6a
RevertCurve --> version 6 May 10
DxfTransformation --> version 6 May 10
MarkVertices --> version 6 May 10

In principle, you don't need to upgrade the other scripts (FredoScale, RoundCorner, HoverSelect, GhostComp, JointPushPull, BezierSpline, etc...).

Again, receive my apologies for the inconvenience.

Fredo

PS: even if you don't use the scripts, you still need to upgrade because the faulty code is executed whenever you do a right click in the SU selection tool (This small code is the one that makes the contextual menu appear for FredoScale and other scripts).
1
Last edited by fredo6 on Fri May 07, 2010 6:23 pm, edited 1 time in total.
User avatar
fredo6 
Premium Member
Premium Member
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby jhauswirth » Fri May 07, 2010 12:29 am

BIG THANKS from the Google Team for getting a fix out so quick!!!
0

jhauswirth 
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby Chris Fullmer » Fri May 07, 2010 12:48 am

Awesome! Thanks so much Fredo! (now to rememeber to go through my scripts and see if any of mine are guilty of it too :roll: )

Chris
0
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer 
SketchUp Team
SketchUp Team
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby snicolo » Fri May 07, 2010 1:00 am

Nice Job Fredo.

Quick turnaround fix.

Simone.
0
Simone Nicolo
QA Manager
www.sketchup.com
User avatar
snicolo 
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby honoluludesktop » Fri May 07, 2010 1:29 am

Fredo, Any rules of thumb to guide us lesser scripters?
0
User avatar
honoluludesktop 
In Remembrance
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby thomthom » Fri May 07, 2010 7:31 am

honoluludesktop wrote:Fredo, Any rules of thumb to guide us lesser scripters?

Apparently there is a limit of how many UI::Command objects one can create; 1000.
So the rule of thumb would be to sparse with these.
But the big no-no would be to never create UI::Command objects within the context handler.

I hope one of the Googlers can add warnings in the API docs about UI:Command objects.

Thanks Fredo for this very quick fix. Your plugins are part of my every day productivity, so it's nice to be able to enable them again. :thumb:
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby thomthom » Fri May 07, 2010 7:32 am

Fredo6 wrote:RevertCurve --> version 6 May 10
DxfTransformation --> version 6 May 10
MarkVertices --> version 6 May 10

:shock: I've never noticed these plugins...
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby remus » Fri May 07, 2010 8:09 am

Cheers for the fix :) and to the google chaps for finding the problem.
0

remus 
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby honoluludesktop » Fri May 07, 2010 8:16 am

See the date, comming in 4 days?

thomthom wrote:
Fredo6 wrote:RevertCurve --> version 6 May 10
DxfTransformation --> version 6 May 10
MarkVertices --> version 6 May 10

:shock: I've never noticed these plugins...
0
User avatar
honoluludesktop 
In Remembrance
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby thomthom » Fri May 07, 2010 8:21 am

I was reading that a sixth of May 2010...
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby honoluludesktop » Fri May 07, 2010 8:28 am

Hmmm..... Well, thats more logical. Guess I was trying too hard to figure it out :-)
0
Last edited by honoluludesktop on Fri May 07, 2010 11:26 am, edited 1 time in total.
User avatar
honoluludesktop 
In Remembrance
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby TIG » Fri May 07, 2010 8:54 am

Thanks for the quick solution...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby fredo6 » Fri May 07, 2010 12:44 pm

thomthom wrote:
Fredo6 wrote:RevertCurve --> version 6 May 10
DxfTransformation --> version 6 May 10
MarkVertices --> version 6 May 10

:shock: I've never noticed these plugins...

RevertCurve is published on SCF. See http://forums.sketchucation.com/viewtopic.php?f=323&t=25710&hilit=plugin

The two others are published elsewhere, but I will put them on SCF too.

These are small scripts, but they each add +1 in the count of commands when you do a right click.

Fredo
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: IMPORTANT: critical upgrade to Fredo6 scripts (grayout m

Postby brookefox » Mon May 10, 2010 7:48 pm

I have nothing to add but a humble pile of warm, clean compostable thanks

to all afflicted action figures

who figured this out and fixed it.
0
~ Brooke
User avatar
brookefox 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: paulasz19, Sanj Shettyy and 10 guests