Skip to content

Commit 8dbcc42

Browse files
committed
Add BehaviorTreeFactory.register_from_plugin binding.
1 parent 757b28e commit 8dbcc42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/python_bindings.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ PYBIND11_MODULE(btpy_cpp, m)
152152

153153
factory.registerBuilder(manifest, makeTreeNodeBuilderFn(type, args, kwargs));
154154
})
155+
.def("register_from_plugin", &BehaviorTreeFactory::registerFromPlugin)
155156
.def("create_tree_from_text",
156157
[](BehaviorTreeFactory& factory, const std::string& text) -> Tree {
157158
return factory.createTreeFromText(text);

0 commit comments

Comments
 (0)