Maniphest T59185

Quick Explode is broken in 2.8
Closed, Resolved

Assigned To
Philipp Oeser (lichtwerk)
Authored By
Henry Schreiner (henryschreiner)
Dec 11 2018, 2:16 PM
Tags
  • BF Blender
Subscribers
Henry Schreiner (henryschreiner)
Jacco Steur (jaccosteur)
Kelly (kiwiwikikwi)
Paul Higgins (higgoman)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: macOS
Graphics card: Something from Intel.

Blender Version
Broken: 2.80 e4153946ad1e81c697b8d51d92a3e2f088d0af4d, blender2.8, 2018-12-11

Exact steps for others to reproduce the error
Open Blender, press F3, type quick explode, then press enter. Python error about name being required.

Solution
The following change in release/scripts/startup/bl_operators/object_quick_effects.py fixes the initial error:

             if self.fade:
                 explode.show_dead = False
-                uv = obj.data.uv_layers.new("Explode fade")
+                uv = obj.data.uv_layers.new(name="Explode fade")
                 explode.particle_uv = uv.name

But, then there are material errors; the old addon changed the old-style materials. Lines like this:

mat.use_transparency = True
mat.use_transparent_shadows = True
mat.alpha = 0.0
mat.specular_alpha = 0.0

I'm not familiar enough with the new materials in Python to fix that.

PS: macOS 2.8 build was outdated, so using my own build.

Revisions and Commits

rB Blender
D4181

Related Objects

Mentioned Here
rBe4153946ad1e: Fix T59005: no FCurve cleanup in the Timeline

Event Timeline

Henry Schreiner (henryschreiner) created this task.Dec 11 2018, 2:16 PM
Philipp Oeser (lichtwerk) claimed this task.Dec 11 2018, 2:29 PM
Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 50.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

Confirmed, will have a look...

Philipp Oeser (lichtwerk) added a subscriber: Jacco Steur (jaccosteur).
Philipp Oeser (lichtwerk) added a subscriber: Paul Higgins (higgoman).
Philipp Oeser (lichtwerk) added a revision: D4181: Fix T59185.Jan 8 2019, 1:24 PM
Philipp Oeser (lichtwerk) changed the task status from Unknown Status to Resolved by committing rB54985ab5f569: Quick Explode: replace BI based material handling (using 'fade'/'blend').Jan 8 2019, 3:37 PM
Philipp Oeser (lichtwerk) added a commit: rB54985ab5f569: Quick Explode: replace BI based material handling (using 'fade'/'blend').
Kelly (kiwiwikikwi) added a subscriber: Kelly (kiwiwikikwi).Apr 7 2019, 9:27 AM

Is still broken in the windows version? I keep getting a traceback about BSDF missing