diff options
author | Jacques Lucke <jacques@blender.org> | 2020-12-14 12:48:11 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-12-14 12:48:11 +0300 |
commit | 53ed96641c60531e2ece17230879088df899f8a5 (patch) | |
tree | f6d01ac80371c2ad9f84ebdf4a486ce0c145c1bd /source/blender/io/collada/ArmatureImporter.cpp | |
parent | 45bf470ee9e94e62a038c9faac891744488a1b89 (diff) |
Cleanup: clang tidy
Diffstat (limited to 'source/blender/io/collada/ArmatureImporter.cpp')
-rw-r--r-- | source/blender/io/collada/ArmatureImporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/collada/ArmatureImporter.cpp b/source/blender/io/collada/ArmatureImporter.cpp index 56716722b46..7eef5c3f5fb 100644 --- a/source/blender/io/collada/ArmatureImporter.cpp +++ b/source/blender/io/collada/ArmatureImporter.cpp @@ -1037,7 +1037,7 @@ void ArmatureImporter::get_rna_path_for_joint(COLLADAFW::Node *node, char *joint_path, size_t count) { - char bone_name_esc[sizeof(((Bone *)NULL)->name) * 2]; + char bone_name_esc[sizeof(((Bone *)nullptr)->name) * 2]; BLI_str_escape(bone_name_esc, bc_get_joint_name(node), sizeof(bone_name_esc)); BLI_snprintf(joint_path, count, "pose.bones[\"%s\"]", bone_name_esc); } |