I did not, but it looks like gltfast has an extension that adds support for it
I did not, but it looks like gltfast has an extension that adds support for it
Or - prevent selections from spanning layers entirely. Which might be intuitive.I think this is for the best

when all these tools get synchronized togetherEverything is in the beta. It's "testing how the tools work together" that we hope people are already doing!

[ApiEndpoint("import.model", "Imports a model from your Open Brush\\Media Library\\Models folder")]
public static void ImportModel(string path)
{
path = Path.Combine(App.MediaLibraryPath(), "Models", path);
var model = new Model(Model.Location.File(path));
model.LoadModel();
var tr = new TrTransform();
tr.translation = ApiManager.Instance.BrushPosition;
tr.rotation = ApiManager.Instance.BrushRotation;
CreateWidgetCommand createCommand = new CreateWidgetCommand(
WidgetManager.m_Instance.ModelWidgetPrefab, tr);
SketchMemoryScript.m_Instance.PerformAndRecordCommand(createCommand);
ModelWidget modelWidget = createCommand.Widget as ModelWidget;
modelWidget.Model = model;
modelWidget.Show(true);
createCommand.SetWidgetCost(modelWidget.GetTiltMeterCost());
WidgetManager.m_Instance.WidgetsDormant = false;
SketchControlsScript.m_Instance.EatGazeObjectInput();
SelectionManager.m_Instance.RemoveFromSelection(false);
}