dont select generated bricks; ctrl+select generated bricks selects parent; remove copy
This commit is contained in:
@ -191,6 +191,8 @@ function NDM_BoxSelect::onSelectObject(%this, %client, %obj, %pos, %normal)
|
||||
%box = ndGetBoxFromZone(%obj);
|
||||
%client.ndSelectionBox.zoneBrick = %obj;
|
||||
%client.ndSelectionBox.setZoneColors();
|
||||
} else if(%obj.generated && isObject(%obj.generatedParent)) {
|
||||
%box = %obj.generatedParent.getWorldBox();
|
||||
} else {
|
||||
%box = ndGetPlateBoxFromRayCast(%pos, %normal);
|
||||
}
|
||||
@ -472,10 +474,10 @@ function NDM_BoxSelect::onCancelBrick(%this, %client)
|
||||
}
|
||||
|
||||
//Copy Selection
|
||||
function NDM_BoxSelect::onCopy(%this, %client)
|
||||
{
|
||||
%this.onPlantBrick(%client);
|
||||
}
|
||||
//function NDM_BoxSelect::onCopy(%this, %client)
|
||||
//{
|
||||
// %this.onPlantBrick(%client);
|
||||
//}
|
||||
|
||||
//Cut Selection
|
||||
function NDM_BoxSelect::onCut(%this, %client)
|
||||
|
Reference in New Issue
Block a user