import{n as o,a9 as i,i as s}from"./index-b54f5418.js";import"./three-dc46505d.js";var a=function(){var e=this,r=e.$createElement,t=e._self._c||r;return e.activeObject?t("div",{staticClass:"helperSettingModule-container"},[t("div",{staticClass:"helperSetting-title"},[t("vis-icon",{attrs:{code:"#iconjihetuxing"}}),t("de-controller-input",{attrs:{label:"名称"},model:{value:e.activeObject.name,callback:function(l){e.$set(e.activeObject,"name",l)},expression:"activeObject.name"}})],1),e.helperConfig?t("div",{staticClass:"helperSetting-main"},[t("de-controller-switch",{attrs:{keyframe:!1,label:"形状"},model:{value:e.helperConfig.shape,callback:function(l){e.$set(e.helperConfig,"shape",l)},expression:"helperConfig.shape"}}),t("de-controller-switch",{attrs:{keyframe:!1,label:"几何中心"},model:{value:e.helperConfig.geometricOrigin,callback:function(l){e.$set(e.helperConfig,"geometricOrigin",l)},expression:"helperConfig.geometricOrigin"}}),t("de-controller-switch",{attrs:{keyframe:!1,label:"包围盒"},model:{value:e.helperConfig.boundingBox,callback:function(l){e.$set(e.helperConfig,"boundingBox",l)},expression:"helperConfig.boundingBox"}}),t("de-controller-switch",{attrs:{keyframe:!1,label:"本地坐标"},model:{value:e.helperConfig.localAxes,callback:function(l){e.$set(e.helperConfig,"localAxes",l)},expression:"helperConfig.localAxes"}})],1):t("el-button",{attrs:{slot:"reference",type:"primary",size:"mini"},on:{click:e.generateHelper},slot:"reference"},[e._v(" 生成辅助 ")])],1):e._e()},c=[];const p={computed:{activeObject(){return this.$store.getters["active/object"]},helperConfig(){return this.$store.getters["helper/get"][this.activeObject.helper]}},methods:{generateHelper(){const e=i(s.OBJECTHELPER,{target:this.activeObject.vid,shape:!0});this.$store.commit("helper/add",e),console.log(e)}}},n={};var h=o(p,a,c,!1,g,"728ed8c6",null,null);function g(e){for(let r in n)this[r]=n[r]}const d=function(){return h.exports}();export{d as default};
