improved context menu for workspace object options
This commit is contained in:
parent
f3478c6c9c
commit
841e2b56db
5 changed files with 93 additions and 90 deletions
|
|
@ -2682,10 +2682,10 @@ gapp.register("kiri.init", [], (root, exports) => {
|
|||
$('render-wire').onclick = () => { api.view.wireframe(true, 0, api.space.is_dark() ? 0.25 : 0.5); };
|
||||
$('render-solid').onclick = () => { api.view.wireframe(false, 0, 1); };
|
||||
// mesh buttons
|
||||
$('mesh-swap').onclick = () => { api.widgets.replace() };
|
||||
$('mesh-enable').onclick = () => { api.selection.enable() };
|
||||
$('mesh-disable').onclick = () => { api.selection.disable() };
|
||||
$('mesh-rename').onclick = () => { api.widgets.rename() };
|
||||
// $('mesh-swap').onclick = () => { api.widgets.replace() };
|
||||
// $('mesh-enable').onclick = () => { api.selection.enable() };
|
||||
// $('mesh-disable').onclick = () => { api.selection.disable() };
|
||||
// $('mesh-rename').onclick = () => { api.widgets.rename() };
|
||||
$('mesh-export-stl').onclick = () => { objectsExport('stl') };
|
||||
$('mesh-export-obj').onclick = () => { objectsExport('obj') };
|
||||
$('context-duplicate').onclick = duplicateSelection;
|
||||
|
|
|
|||
Loading…
Reference in a new issue