New Apr-26 beta now available
 1-5  6-25  26-45  46-48

Previous
Next
 From:  Jesse
568.46 In reply to 568.45 

Hi Michael.

Thanks for the script. I also put paste in as a non-repeatable command.

What I find unexpected is that paste continues to paste on a right click after hide has been used...not knowing too much about UI conventions
I considered hide to be a command, so from my perspective, hide should cancel paste.
Copy, paste and hide are different that the other edit tools and other tools in general because they only change the number of objects or the visibility of them.
I understand that hide isn't the same as a command that changes the geometry of an object, so it does make sense in a way.
Would you say that hide, copy, paste aren't considered regular *commands*, but are instead, another sort of tool or feature?
History seems to be in a category of it's own, so I can see that copy and paste could be as well.
Thanks for the script. I also put copy and paste in as a non-repeating command. :-) so I guess it's just a matter of personal preference.

Jesse

EDITED: 30 Apr 2007 by JESSE

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
568.47 In reply to 568.46 
Ok, I follow what you mean now.

Yes, hide is not technically a "real command", it's more like an inline script macro. This is to allow for the ability to hide or show something while you are already running in the middle of some other command.

Someday I should be able to fix things up so that it behaves as you'd expect anyway despite this technical distinction. But it will be a little while before I can get to that.

Actually copy and paste are regular commands. The only ones that aren't are some other things that are also set up so that they can be used while inside some already running command: Edit/Hide, View/Reset All, Select All, Deselect All and Invert.

So currently as a side effect of that none of those particular ones will repeat with a right mouse click.

It's not especially intentional, it's just a slight bug due to the way things work right now.


Also undo, redo, and delete are set by default to not repeat in the .ini file under
[Commands]
NonRepeatingCommands=delete undo redo

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Jesse
568.48 In reply to 568.47 
Hi Michael,

I appreciate the explanation about inline script macros. I learned a little more about how scripting works
and it motivated me to set up a few keyboard shortcuts for hiding and unhiding curves and surfaces,
something I hadn't bothered to do before.
The repeating paste thing isn't really a big deal, I just didn't understand why it was happening.

Thanks,

-Jesse
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-5  6-25  26-45  46-48