HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
764b18f
)
need to enable the extruder if it is the only one
author
Jim Morris
<morris@wolfman.com>
Sat, 7 Jun 2014 05:07:04 +0000
(22:07 -0700)
committer
Jim Morris
<morris@wolfman.com>
Sat, 7 Jun 2014 05:07:04 +0000
(22:07 -0700)
src/modules/tools/extruder/ExtruderMaker.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/modules/tools/extruder/ExtruderMaker.cpp
b/src/modules/tools/extruder/ExtruderMaker.cpp
index
1d256f1
..
b958089
100644
(file)
--- a/
src/modules/tools/extruder/ExtruderMaker.cpp
+++ b/
src/modules/tools/extruder/ExtruderMaker.cpp
@@
-90,6
+90,10
@@
void ExtruderMaker::on_module_loaded(){
if(toolmanager != nullptr) {
// Add the extruder module to the ToolsManager if it was created
toolmanager->add_tool( extruder );
+
+ }else{
+ // if not managed by toolmanager we need to enable the one extruder
+ extruder->enable();
}
}