Permalink
Browse files

Fix missing Insert binding

  • Loading branch information...
feragon committed Jun 30, 2017
1 parent 1bc66b9 commit fcb4b8dea527558b8197c5e575607d2668db6a3e
Showing with 7 additions and 1 deletion.
  1. +7 −1 lcadluascript/lckernelbridge.cpp
@@ -16,7 +16,7 @@
#include <cad/meta/customentitystorage.h>
#include <cad/operations/blockops.h>
#include <cad/operations/builder.h>
#include <cad/builders/insert.h>
#include <cad/primitive/insert.h>
#include "lclua.h"
using namespace LuaIntf;
@@ -589,5 +589,11 @@ void LCLua::importLCKernel() {
.addFunction("setCoordinate", &builder::PointBuilder::setCoordinate)
.addFunction("build", &builder::PointBuilder::build)
.endClass()
.beginExtendClass<entity::Insert, entity::CADEntity>("Insert")
.addFunction("displayBlock", &entity::Insert::displayBlock)
.addFunction("position", &entity::Insert::position)
.addFunction("document", &entity::Insert::document)
.endClass()
;
}

0 comments on commit fcb4b8d

Please sign in to comment.