Updated MANIFEST,

fixed some compiler warnings.
This commit is contained in:
bubnikv 2017-05-17 20:06:33 +02:00
parent fdff937cb2
commit e75d851bc4
3 changed files with 7 additions and 4 deletions

View File

@ -381,6 +381,11 @@ src/libslic3r/GCode/PressureEqualizer.cpp
src/libslic3r/GCode/PressureEqualizer.hpp src/libslic3r/GCode/PressureEqualizer.hpp
src/libslic3r/GCode/SpiralVase.cpp src/libslic3r/GCode/SpiralVase.cpp
src/libslic3r/GCode/SpiralVase.hpp src/libslic3r/GCode/SpiralVase.hpp
src/libslic3r/GCode/ToolOrdering.cpp
src/libslic3r/GCode/ToolOrdering.hpp
src/libslic3r/GCode/WipeTower.hpp
src/libslic3r/GCode/WipeTowerPrusaMM.cpp
src/libslic3r/GCode/WipeTowerPrusaMM.hpp
src/libslic3r/Geometry.cpp src/libslic3r/Geometry.cpp
src/libslic3r/Geometry.hpp src/libslic3r/Geometry.hpp
src/libslic3r/Layer.cpp src/libslic3r/Layer.cpp
@ -430,8 +435,6 @@ src/libslic3r/TriangleMesh.cpp
src/libslic3r/TriangleMesh.hpp src/libslic3r/TriangleMesh.hpp
src/libslic3r/utils.cpp src/libslic3r/utils.cpp
src/libslic3r/Utils.hpp src/libslic3r/Utils.hpp
src/libslic3r/WipeTower.cpp
src/libslic3r/WipeTower.hpp
src/perlglue.cpp src/perlglue.cpp
src/poly2tri/common/shapes.cc src/poly2tri/common/shapes.cc
src/poly2tri/common/shapes.h src/poly2tri/common/shapes.h

View File

@ -9,7 +9,7 @@ namespace Slic3r {
std::string CoolingBuffer::append(const std::string &gcode, size_t object_id, size_t layer_id, bool is_support) std::string CoolingBuffer::append(const std::string &gcode, size_t object_id, size_t layer_id, bool is_support)
{ {
std::string out; std::string out;
size_t signature = object_id * 2 + is_support ? 1 : 0; size_t signature = object_id * 2 + (is_support ? 1 : 0);
if (m_object_ids_visited.find(signature) != m_object_ids_visited.end()) if (m_object_ids_visited.find(signature) != m_object_ids_visited.end())
// For a single print_z, a combination of (object_id, is_support) could repeat once only. // For a single print_z, a combination of (object_id, is_support) could repeat once only.
// If the combination of (object_id, is_support) reappears, this must be for another print_z, // If the combination of (object_id, is_support) reappears, this must be for another print_z,

View File

@ -2322,7 +2322,7 @@ void modulate_extrusion_by_overlapping_layers(
(fragment_end.is_start ? &polyline.points.front() : &polyline.points.back()); (fragment_end.is_start ? &polyline.points.front() : &polyline.points.back());
} }
private: private:
ExtrusionPathFragmentEndPointAccessor& operator=(const ExtrusionPathFragmentEndPointAccessor&) {} ExtrusionPathFragmentEndPointAccessor& operator=(const ExtrusionPathFragmentEndPointAccessor&);
const std::vector<ExtrusionPathFragment> &m_path_fragments; const std::vector<ExtrusionPathFragment> &m_path_fragments;
}; };
const coord_t search_radius = 7; const coord_t search_radius = 7;