Page MenuHome

Simple Deform giving different results since the new axis option was added
Closed, ResolvedPublic

Description

System Information
Win10 x64, nVidia GTX 1080Ti

Blender Version
Broken: All master builds since this commit https://developer.blender.org/rB6554207841a452cc58857232837740746a1e8b80
Worked: 2.79

Short description of error
I opened an old blend file and some objects were completely out of shape. I could reproduce that the Simple Deform modifier was the culprit.
I know that there was a commit that added the option to specify an axis (which is great), but obviously it gives different results when opening pre-commit scenes.
I also noticed that in my case setting the axis from x (default) to z fixed the problem.

Exact steps for others to reproduce the error

  • Open the blend file in 2.79
  • It's a simple bent plane

  • Open the same blend file in current master build
  • The plane is no longer bent

  • Go to the Simple Modifier settings and change the new axis option from x to z
  • Looks like the upper result again

Details

Type
Bug

Event Timeline

ronan ducluzeau (zeauro) triaged this task as Confirmed, Medium priority.

Yes. Before this ability to choose the axis, used axis is Z one in 2.79.
So, in order to assure compatibility with older files, axis should automatically change to Z or Z should be used as default one instead of X.

Dan Marra (dmarra) claimed this task.

The default should have been automatically set (Z) if your version is older than 2.79.1. The default for bend mode is a special case though, where it was originally based on X. I wrote that code a few days ago. I'll take a look

Just submitted a patch to fix this. Seems that the bend modifier no longer needs to be based on X axis by default (as it was in earlier versions).