ShaderFx Missing Update Notifier #77730

Closed
opened 2020-06-10 18:09:16 +02:00 by Hans Goudey · 6 comments
Member

Blender Version
Broken: Since ShaderFX were added
Worked: Never

Short description of error
Changing shaderFX and using their operators sends update notifications for modifiers. Presumably this is because the modifier code was duplicated without changing these lines. See these lines in object_shaderfx.c:
WM_event_add_notifier(C, NC_OBJECT | ND_MODIFIER, ob);
The properties area is only updated per tab, and since shaderFX added a new tab, there should be a corresponding ND_SHADERFX as well.

Exact steps for others to reproduce the error

  1. Have two different property areas with the effects tab open.
  2. Change data in one area
  3. See the other area not update
    gpencil_effect_bug-2020-06-10_12.03.57.mp4
**Blender Version** Broken: Since ShaderFX were added Worked: Never **Short description of error** Changing shaderFX and using their operators sends update notifications for modifiers. Presumably this is because the modifier code was duplicated without changing these lines. See these lines in `object_shaderfx.c`: ` WM_event_add_notifier(C, NC_OBJECT | ND_MODIFIER, ob);` The properties area is only updated per tab, and since shaderFX added a new tab, there should be a corresponding `ND_SHADERFX` as well. **Exact steps for others to reproduce the error** 1. Have two different property areas with the effects tab open. 2. Change data in one area 3. See the other area not update [gpencil_effect_bug-2020-06-10_12.03.57.mp4](https://archive.blender.org/developer/F8606203/gpencil_effect_bug-2020-06-10_12.03.57.mp4)
Author
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @antoniov

Added subscriber: @antoniov

Yes, It looks a copy & paste error.

Yes, It looks a copy & paste error.

This issue was referenced by a856de700b

This issue was referenced by a856de700b4274ebc1735aa349f7425c7c23cbfc
Author
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Hans Goudey self-assigned this 2020-07-06 19:17:29 +02:00
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
3 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#77730
No description provided.