repurposed sliders

repurposed and renamed the 2 sliders in the gui to be for settings in vhacd
added the drop down for fillMode types but it is not hooked up to source yet
This commit is contained in:
marauder2k7 2024-05-14 17:20:17 +01:00
parent 35abe0cc29
commit 78f6206cde
4 changed files with 615 additions and 1234 deletions

View file

@ -2935,6 +2935,10 @@ function ShapeEdColWindow::onWake( %this )
%this-->colType.add( "18-DOP" );
%this-->colType.add( "26-DOP" );
%this-->colType.add( "Convex Hulls" );
%this-->fillMode.add("Flood fill");
%this-->fillMode.add("Surface only");
%this-->fillMode.add("Raycast Fill");
}
function ShapeEdColWindow::update_onShapeSelectionChanged( %this )
@ -2949,6 +2953,8 @@ function ShapeEdColWindow::update_onShapeSelectionChanged( %this )
%this-->colTarget.add( ShapeEditor.shape.getObjectName( %i ) );
%this-->colTarget.setSelected( %this-->colTarget.findText( "Bounds" ), false );
%this-->fillMode.setSelected( %this-->fillMode.findText( "Flood fill" ), false );
}
function ShapeEdColWindow::update_onCollisionChanged( %this )