diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-04 14:20:15 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-04 14:41:27 +0300 |
commit | a46ced50764109be7df9a25476eb8a5875cc2d01 (patch) | |
tree | 4ce380adf93b7c2c9978d3bd8abca6f0b74ac312 /intern/cycles | |
parent | f430f14df4eaf6ece3ac6114a882f0fdcfa96e44 (diff) |
Fix missing collection instance motion blur settings.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index bd2d5437f8f..13d070be135 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -759,7 +759,7 @@ class CYCLES_OBJECT_PT_motion_blur(CyclesButtonsPanel, Panel): if CyclesButtonsPanel.poll(context) and ob: if ob.type in {'MESH', 'CURVE', 'CURVE', 'SURFACE', 'FONT', 'META', 'CAMERA'}: return True - if ob.dupli_type == 'GROUP' and ob.dupli_group: + if ob.dupli_type == 'COLLECTION' and ob.dupli_group: return True # TODO(sergey): More duplicator types here? return False @@ -804,7 +804,7 @@ class CYCLES_OBJECT_PT_cycles_settings(CyclesButtonsPanel, Panel): ob = context.object return (CyclesButtonsPanel.poll(context) and ob and ((ob.type in {'MESH', 'CURVE', 'SURFACE', 'FONT', 'META', 'LAMP'}) or - (ob.dupli_type == 'GROUP' and ob.dupli_group))) + (ob.dupli_type == 'COLLECTION' and ob.dupli_group))) def draw(self, context): layout = self.layout |