diff options
author | Matt Hill <theothermatt> | 2021-02-18 22:51:39 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-18 22:51:39 +0300 |
commit | d519b33b327607ad7835561d951559da8f79034e (patch) | |
tree | 2c9c888d5bbcc55eb49cc8a8969fbb238ab64cb8 /release/scripts/startup/bl_operators/object_quick_effects.py | |
parent | 782bed19844391a40d7fe76cd2c35fabf5bd0bec (diff) |
Fix T85410: Quick liquid domain alignment
When `Preferences → Editing → New Objects → Align To` is set to `3D
Cursor`, the fluid domain added by `Object → Quick Effects → Quick
Liquid` is aligned to the 3D cursor. This shouldn't be the case, since
these aren't new objects created directly by the user.
Differential Revision: https://developer.blender.org/D10467
Diffstat (limited to 'release/scripts/startup/bl_operators/object_quick_effects.py')
-rw-r--r-- | release/scripts/startup/bl_operators/object_quick_effects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/object_quick_effects.py b/release/scripts/startup/bl_operators/object_quick_effects.py index 0600536cb66..48312f958ef 100644 --- a/release/scripts/startup/bl_operators/object_quick_effects.py +++ b/release/scripts/startup/bl_operators/object_quick_effects.py @@ -496,7 +496,7 @@ class QuickLiquid(Operator): obj_bb_minmax(obj, min_co, max_co) # add the liquid domain object - bpy.ops.mesh.primitive_cube_add() + bpy.ops.mesh.primitive_cube_add(align='WORLD') obj = context.active_object obj.name = "Liquid Domain" |