From bd2b48e98d77c8437b8b0c77582084a3c984e45c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 10 Dec 2021 21:42:06 +1100 Subject: Cleanup: move public doc-strings into headers for various API's Some doc-strings were skipped because of blank-lines between the doc-string and the symbol and needed to be moved manually. - Added space below non doc-string comments to make it clear these aren't comments for the symbols directly below them. - Use doxy sections for some headers. Ref T92709 --- source/blender/io/collada/collada_utils.cpp | 7 ------- source/blender/io/collada/collada_utils.h | 5 +++++ 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'source/blender/io/collada') diff --git a/source/blender/io/collada/collada_utils.cpp b/source/blender/io/collada/collada_utils.cpp index f2bc7691448..d3655c10655 100644 --- a/source/blender/io/collada/collada_utils.cpp +++ b/source/blender/io/collada/collada_utils.cpp @@ -357,12 +357,6 @@ std::string bc_replace_string(std::string data, return data; } -/** - * Calculate a rescale factor such that the imported scene's scale - * is preserved. I.e. 1 meter in the import will also be - * 1 meter in the current scene. - */ - void bc_match_scale(Object *ob, UnitConverter &bc_unit, bool scale_to_scene) { if (scale_to_scene) { @@ -510,7 +504,6 @@ BoneExtensionManager::~BoneExtensionManager() * See ArmatureImporter::fix_leaf_bones() * and ArmatureImporter::connect_bone_chains() */ - BoneExtended::BoneExtended(EditBone *aBone) { this->set_name(aBone->name); diff --git a/source/blender/io/collada/collada_utils.h b/source/blender/io/collada/collada_utils.h index 8b87c080328..cf62ea0a275 100644 --- a/source/blender/io/collada/collada_utils.h +++ b/source/blender/io/collada/collada_utils.h @@ -201,6 +201,11 @@ extern std::string bc_replace_string(std::string data, const std::string &pattern, const std::string &replacement); extern std::string bc_url_encode(std::string data); +/** + * Calculate a rescale factor such that the imported scene's scale + * is preserved. I.e. 1 meter in the import will also be + * 1 meter in the current scene. + */ extern void bc_match_scale(Object *ob, UnitConverter &bc_unit, bool scale_to_scene); extern void bc_match_scale(std::vector *objects_done, UnitConverter &bc_unit, -- cgit v1.2.3