dont select generated bricks; ctrl+select generated bricks selects parent; remove copy
This commit is contained in:
@ -212,6 +212,10 @@ function ND_Selection::startStackSelection(%this, %brick, %direction, %limited)
|
||||
if(%queueCount >= %brickLimit)
|
||||
continue;
|
||||
|
||||
// Skip generated bricks
|
||||
if(%nextBrick.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%nextBrick, %group, %bl_id, %admin))
|
||||
{
|
||||
@ -239,6 +243,10 @@ function ND_Selection::startStackSelection(%this, %brick, %direction, %limited)
|
||||
if(%queueCount >= %brickLimit)
|
||||
continue;
|
||||
|
||||
// Skip generated bricks
|
||||
if(%nextBrick.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%nextBrick, %group, %bl_id, %admin))
|
||||
{
|
||||
@ -268,6 +276,10 @@ function ND_Selection::startStackSelection(%this, %brick, %direction, %limited)
|
||||
if(%queueCount >= %brickLimit)
|
||||
continue;
|
||||
|
||||
// Skip generated bricks
|
||||
if(%nextBrick.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%nextBrick, %group, %bl_id, %admin))
|
||||
{
|
||||
@ -364,6 +376,10 @@ function ND_Selection::startStackSelectionAdditive(%this, %brick, %direction, %l
|
||||
if(%queueCount >= %brickLimit)
|
||||
continue;
|
||||
|
||||
// Skip generated bricks
|
||||
if(%nextBrick.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%nextBrick, %group, %bl_id, %admin))
|
||||
{
|
||||
@ -409,6 +425,10 @@ function ND_Selection::startStackSelectionAdditive(%this, %brick, %direction, %l
|
||||
if(%queueCount >= %brickLimit)
|
||||
continue;
|
||||
|
||||
// Skip generated bricks
|
||||
if(%nextBrick.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%nextBrick, %group, %bl_id, %admin))
|
||||
{
|
||||
@ -456,6 +476,10 @@ function ND_Selection::startStackSelectionAdditive(%this, %brick, %direction, %l
|
||||
if(%queueCount >= %brickLimit)
|
||||
continue;
|
||||
|
||||
// Skip generated bricks
|
||||
if(%nextBrick.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%nextBrick, %group, %bl_id, %admin))
|
||||
{
|
||||
@ -570,6 +594,10 @@ function ND_Selection::tickStackSelection(%this, %direction, %limited, %heightLi
|
||||
if(%queueCount >= %brickLimit)
|
||||
continue;
|
||||
|
||||
// Skip generated bricks
|
||||
if(%nextBrick.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%nextBrick, %group, %bl_id, %admin))
|
||||
{
|
||||
@ -603,6 +631,10 @@ function ND_Selection::tickStackSelection(%this, %direction, %limited, %heightLi
|
||||
if(%queueCount >= %brickLimit)
|
||||
continue;
|
||||
|
||||
// Skip generated bricks
|
||||
if(%nextBrick.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%nextBrick, %group, %bl_id, %admin))
|
||||
{
|
||||
@ -652,6 +684,10 @@ function ND_Selection::tickStackSelection(%this, %direction, %limited, %heightLi
|
||||
if(%queueCount >= %brickLimit)
|
||||
continue;
|
||||
|
||||
// Skip generated bricks
|
||||
if(%nextBrick.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%nextBrick, %group, %bl_id, %admin))
|
||||
{
|
||||
@ -883,6 +919,10 @@ function ND_Selection::tickBoxSelectionChunk(%this, %limited, %brickLimit)
|
||||
continue;
|
||||
}
|
||||
|
||||
// Skip generated bricks
|
||||
if(%obj.generated)
|
||||
continue;
|
||||
|
||||
//Check trust
|
||||
if(!ndTrustCheckSelect(%obj, %group, %bl_id, %admin))
|
||||
{
|
||||
|
Reference in New Issue
Block a user