Fix T74012: missing fluid simulation domain panels in workbench
Maniphest Tasks: T74012 Differential Revision: https://developer.blender.org/D7706
This commit is contained in:
parent
829dce524d
commit
4930eb15f7
Notes:
blender-bot
2023-02-14 10:18:56 +01:00
Referenced by issue #74012, "Liquid", "Particle"and "Guide" settings in fluid simulation domain disappear when render engine is set to workbench
|
@ -439,7 +439,7 @@ class PHYSICS_PT_fire(PhysicButtonsPanel, Panel):
|
|||
class PHYSICS_PT_liquid(PhysicButtonsPanel, Panel):
|
||||
bl_label = "Liquid"
|
||||
bl_parent_id = 'PHYSICS_PT_fluid'
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_OPENGL'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
|
@ -540,7 +540,7 @@ class PHYSICS_PT_flow_source(PhysicButtonsPanel, Panel):
|
|||
class PHYSICS_PT_flow_initial_velocity(PhysicButtonsPanel, Panel):
|
||||
bl_label = "Initial Velocity"
|
||||
bl_parent_id = 'PHYSICS_PT_settings'
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_OPENGL'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
|
@ -633,7 +633,7 @@ class PHYSICS_PT_adaptive_domain(PhysicButtonsPanel, Panel):
|
|||
bl_label = "Adaptive Domain"
|
||||
bl_parent_id = 'PHYSICS_PT_settings'
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_OPENGL'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
|
@ -842,7 +842,7 @@ class PHYSICS_PT_particles(PhysicButtonsPanel, Panel):
|
|||
bl_label = "Particles"
|
||||
bl_parent_id = 'PHYSICS_PT_liquid'
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_OPENGL'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
|
@ -1009,7 +1009,7 @@ class PHYSICS_PT_guide(PhysicButtonsPanel, Panel):
|
|||
bl_label = "Guides"
|
||||
bl_parent_id = 'PHYSICS_PT_fluid'
|
||||
bl_options = {'DEFAULT_CLOSED'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_OPENGL'}
|
||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
|
|
Loading…
Reference in New Issue