removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<Solution name="Fix_Repeats_Per_Meter">
<Project name="Fix_Repeats_Per_Meter" path="Fix_Repeats_Per_Meter\Fix_Repeats_Per_Meter.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,6 @@
<Project name="Fix_Repeats_Per_Meter" guid="D7F312DB-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D7F313B1-6C00-1014-B904-200204C60A89">
<Script name="Fix_Repeats_Per_Meter_1.lsl" guid="D7F333B1-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,47 @@
// :CATEGORY:Building
// :NAME:Fix_Repeats_Per_Meter
// :AUTHOR:NashBaldwin
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:38:53
// :ID:310
// :NUM:409
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Fix_Repeats_Per_Meter
// :CODE:
default
{
state_entry()
{
// round position to grid
float grid = 0.125;
vector pos = llGetPos();
pos.x = grid * llRound(pos.x / grid);
pos.y = grid * llRound(pos.y / grid);
pos.z = 27.750;
llSetPos(pos);
// round scale to twice grid
grid *= 2.0;
vector scale = llGetScale();
scale.x = grid * llRound(scale.x / grid);
if (scale.x == 0) { scale.x = grid; }
scale.y = grid * llRound(scale.y / grid);