PartDesign: [skip ci] minor cosmetic changes
This commit is contained in:
@@ -1301,7 +1301,7 @@ App::DocumentObjectExecReturn *Hole::execute(void)
|
||||
}
|
||||
}
|
||||
|
||||
void Hole::addCounterType(const CutDimensionSet dimensions)
|
||||
void Hole::addCounterType(const CutDimensionSet& dimensions)
|
||||
{
|
||||
HoleCutTypeMap.emplace(dimensions.name, dimensions);
|
||||
const std::string &name = dimensions.name;
|
||||
|
||||
@@ -171,7 +171,7 @@ private:
|
||||
|
||||
std::map<std::string, CutDimensionSet> HoleCutTypeMap;
|
||||
|
||||
void addCounterType(const CutDimensionSet dimensions);
|
||||
void addCounterType(const CutDimensionSet& dimensions);
|
||||
bool isDynamicCounterbore(const std::string &holeCutType);
|
||||
bool isDynamicCountersink(const std::string &holeCutType);
|
||||
void updateHoleCutParams();
|
||||
|
||||
@@ -7,6 +7,12 @@
|
||||
#include <string> // string
|
||||
#include <vector> // vector
|
||||
|
||||
/*
|
||||
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
|
||||
SPDX-License-Identifier: MIT
|
||||
Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>.
|
||||
*/
|
||||
|
||||
/*!
|
||||
@brief namespace for Niels Lohmann
|
||||
@see https://github.com/nlohmann
|
||||
|
||||
@@ -148,7 +148,7 @@ add_custom_target(PartDesignHole ALL SOURCES
|
||||
|
||||
fc_target_copy_resource(PartDesignHole
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_BINARY_DIR}/share/Mod/PartDesign
|
||||
${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/PartDesign
|
||||
${PartDesignHoleDefines}
|
||||
)
|
||||
|
||||
@@ -156,7 +156,7 @@ INSTALL(
|
||||
FILES
|
||||
${PartDesignHoleDefines}
|
||||
DESTINATION
|
||||
share/Mod/PartDesign/Resources/Hole
|
||||
${CMAKE_INSTALL_DATADIR}/Mod/PartDesign/Resources/Hole
|
||||
)
|
||||
|
||||
if(BUILD_FEM)
|
||||
|
||||
Reference in New Issue
Block a user