diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-01-04 12:13:28 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-01-04 12:13:28 +0300 |
commit | c0c48cdacc13742e804b19abb7b9b2049fb1bcbd (patch) | |
tree | f6fb15f1fa1fafbdf9cfe43d0c926609a730cdc5 | |
parent | 3a1b1100af29dfaf1199298ea943965f53f8e682 (diff) |
Fix T50350: Quick Explode time frame problem
The settings.frame_start rna was clamping frame start to frame end when frame start was bigger than frame end.
The fix is simply to set frame end first
-rw-r--r-- | release/scripts/startup/bl_operators/object_quick_effects.py | 3 |
1 files changed, 2 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 cdab380bb9c..ef10e279bb4 100644 --- a/release/scripts/startup/bl_operators/object_quick_effects.py +++ b/release/scripts/startup/bl_operators/object_quick_effects.py @@ -210,8 +210,9 @@ class QuickExplode(Operator): settings = obj.particle_systems[-1].settings settings.count = self.amount - settings.frame_start = self.frame_start + # first set frame end, to prevent frame start clamping settings.frame_end = self.frame_end - self.frame_duration + settings.frame_start = self.frame_start settings.lifetime = self.frame_duration settings.normal_factor = self.velocity settings.render_type = 'NONE' |