WIP: Fix #116458: Added decay factor for flattening brushes. #118699

Draft
Raul Fernandez Hernandez wants to merge 87 commits from farsthary/blender:Fix-#116458-Sculpt-Clay-strip-sculpts-on-back-face-when-front-face-only-is-turned-on into blender-v4.1-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 6 additions and 0 deletions
Showing only changes of commit ae91868f12 - Show all commits

View File

@ -476,6 +476,12 @@ void ArmatureImporter::create_armature_bones(Main *bmain, std::vector<Object *>
continue;
}
/* Assumption that joint_parent_map only lists armatures is apparently wrong (it can be meshes,
* too), this needs to be checked again, for now prevent a crash though. */
if (ob_arm->type != OB_ARMATURE) {
continue;
}
bArmature *armature = (bArmature *)ob_arm->data;
if (!armature) {
continue;