Quick Explode is broken in 2.8 #59185

Closed
opened 2018-12-11 14:16:04 +01:00 by Henry Schreiner · 11 comments

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

Blender Version
Broken: 2.80 e4153946ad, 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.

**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.

Added subscriber: @henryschreiner

Added subscriber: @henryschreiner

#60192 was marked as duplicate of this issue

#60192 was marked as duplicate of this issue

#59606 was marked as duplicate of this issue

#59606 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Philipp Oeser self-assigned this 2018-12-11 14:29:12 +01:00
Member

Confirmed, will have a look...

Confirmed, will have a look...
Member

Added subscriber: @JakkieDak

Added subscriber: @JakkieDak
Member

Added subscriber: @higgoman

Added subscriber: @higgoman

This issue was referenced by 54985ab5f5

This issue was referenced by 54985ab5f569f4623695c693dedda7c000e1e73f
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Added subscriber: @kiwiandkona

Added subscriber: @kiwiandkona

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

Is still broken in the windows version? I keep getting a traceback about BSDF missing
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#59185
No description provided.