Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Setting Sculpt properties.

Micky Silvercloud
Registered User
Join date: 14 Feb 2009
Posts: 1
06-08-2009 14:24
Hi there!

OK I have no clue what the syntax is for making PRIM_SCULPT_FLAG_MIRROR true or false with scripting. Or is there no way? Like where would I apply the flag?

The LSL Wiki says:

http://wiki.secondlife.com/wiki/PRIM_SCULPT_FLAG_MIRROR
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Constant: integer PRIM_SCULPT_FLAG_MIRROR = 128;

The integer constant PRIM_SCULPT_FLAG_MIRROR has the value 128

PRIM_SCULPT_FLAG_MIRROR will cause a mirror of the sculpted prim to rendered. The sculpted prim is mirrored over the X axis.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When I try to put it in place of the stitching type... it reverts the stitching type to "none" and doesn't even mirror the sculptmap... Could someone help me please or give me any information...

Thanks in advance.
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
06-08-2009 14:33
It's a flag, it's OR-ed in with the stitching type:

PRIM_SCULPT_TYPE_PLANE|PRIM_SCULPT_FLAG_MIRROR
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
06-08-2009 14:42
Read all about it: http://wiki.secondlife.com/wiki/LlSetPrimitiveParams
_____________________
From Studio Dora