PDA

View Full Version : selmode() - working?



Matt
02-14-2010, 08:30 AM
I'm modifying a script of mine that scales stuff.

Currently it scales everything on the layer regardless of selection.

I want to add the ability to scale _only_ what is selected.

I've tried setting selmode() to DIRECT, USER and GLOBAL, but none seem to stop the scale() command from scaling everything.

Is it broken or am I using it in the wrong way?

Cheers
Matt

Matt
02-14-2010, 08:51 AM
Nevermind, I had an errant selpoint(CLEAR) command further down, which made it look like selmode() wasn't working!