This commit is contained in:
bubnikv 2018-08-06 18:04:54 +02:00
commit c9192e874b
2 changed files with 7 additions and 7 deletions

View File

@ -2034,8 +2034,8 @@ PrintConfigDef::PrintConfigDef()
def = this->add("wipe_into_infill", coBool); def = this->add("wipe_into_infill", coBool);
def->category = L("Extruders"); def->category = L("Extruders");
def->label = L("Purging into infill"); def->label = L("Purge into this object's infill");
def->tooltip = L("Wiping after toolchange will be preferentially done inside infills. " def->tooltip = L("Purging after toolchange will done inside this object's infills. "
"This lowers the amount of waste but may result in longer print time " "This lowers the amount of waste but may result in longer print time "
" due to additional travel moves."); " due to additional travel moves.");
def->cli = "wipe-into-infill!"; def->cli = "wipe-into-infill!";
@ -2043,8 +2043,8 @@ PrintConfigDef::PrintConfigDef()
def = this->add("wipe_into_objects", coBool); def = this->add("wipe_into_objects", coBool);
def->category = L("Extruders"); def->category = L("Extruders");
def->label = L("Purging into objects"); def->label = L("Purge into this object");
def->tooltip = L("Objects will be used to wipe the nozzle after a toolchange to save material " def->tooltip = L("Object will be used to purge the nozzle after a toolchange to save material "
"that would otherwise end up in the wipe tower and decrease print time. " "that would otherwise end up in the wipe tower and decrease print time. "
"Colours of the objects will be mixed as a result."); "Colours of the objects will be mixed as a result.");
def->cli = "wipe-into-objects!"; def->cli = "wipe-into-objects!";

View File

@ -3392,7 +3392,7 @@ void GLCanvas3D::_camera_tranform() const
::glMatrixMode(GL_MODELVIEW); ::glMatrixMode(GL_MODELVIEW);
::glLoadIdentity(); ::glLoadIdentity();
::glRotatef(-m_camera.get_theta(), 1.0f, 0.0f, 0.0f); // pitch ::glRotatef(-m_camera.get_theta(), 1.0f, 0.0f, 0.0f); // pitch
::glRotatef(m_camera.phi, 0.0f, 0.0f, 1.0f); // yaw ::glRotatef(m_camera.phi, 0.0f, 0.0f, 1.0f); // yaw
Pointf3 neg_target = m_camera.target.negative(); Pointf3 neg_target = m_camera.target.negative();
@ -4853,7 +4853,7 @@ void GLCanvas3D::_on_move(const std::vector<int>& volume_idxs)
if (m_model == nullptr) if (m_model == nullptr)
return; return;
std::set<std::string> done; // prevent moving instances twice std::set<std::string> done; // prevent moving instances twice
bool object_moved = false; bool object_moved = false;
Pointf3 wipe_tower_origin(0.0, 0.0, 0.0); Pointf3 wipe_tower_origin(0.0, 0.0, 0.0);
for (int volume_idx : volume_idxs) for (int volume_idx : volume_idxs)
@ -4862,7 +4862,7 @@ void GLCanvas3D::_on_move(const std::vector<int>& volume_idxs)
int obj_idx = volume->object_idx(); int obj_idx = volume->object_idx();
int instance_idx = volume->instance_idx(); int instance_idx = volume->instance_idx();
// prevent moving instances twice // prevent moving instances twice
char done_id[64]; char done_id[64];
::sprintf(done_id, "%d_%d", obj_idx, instance_idx); ::sprintf(done_id, "%d_%d", obj_idx, instance_idx);
if (done.find(done_id) != done.end()) if (done.find(done_id) != done.end())