Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/CURA-12250_refactor-the-post-pro…
Browse files Browse the repository at this point in the history
…cessing-like-algorithms' into CURA-12250_refactor-the-post-processing-like-algorithms
  • Loading branch information
wawanbreton committed Dec 18, 2024
2 parents be09f20 + c04cbb3 commit 04549c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/feature_generation/FeatureGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class FeatureGenerator

virtual bool isActive() const = 0;

virtual void preCalculateData() {};
virtual void preCalculateData(){};

virtual void generateFeatures(const SliceDataStorage& storage, const LayerPlanPtr& layer_plan, const std::vector<ExtruderPlanPtr>& extruder_plans) const = 0;
};
Expand Down
11 changes: 5 additions & 6 deletions src/sliceDataStorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,11 @@ SliceMeshStorage::SliceMeshStorage(Mesh* mesh, const size_t slice_layer_count)
, bounding_box(mesh->getAABB())
, base_subdiv_cube(nullptr)
, cross_fill_provider(nullptr)
, seam_config(
std::make_shared<ZSeamConfig>(
settings.get<EZSeamType>("z_seam_type"),
getZSeamHint(),
settings.get<EZSeamCornerPrefType>("z_seam_corner"),
settings.get<coord_t>("wall_line_width_0") * 2))
, seam_config(std::make_shared<ZSeamConfig>(
settings.get<EZSeamType>("z_seam_type"),
getZSeamHint(),
settings.get<EZSeamCornerPrefType>("z_seam_corner"),
settings.get<coord_t>("wall_line_width_0") * 2))
{
layers.resize(slice_layer_count);
}
Expand Down

0 comments on commit 04549c1

Please sign in to comment.