Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-03-15 22:56:29 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-03-16 00:33:02 +0300
commitefdde88dfc9501764d96cf5b33e2141a86ba44c9 (patch)
tree080c90ffb3e6042861bd9f5a3c1115506badcd41 /release/scripts/startup/bl_ui/properties_particle.py
parentaaa35d10924c9a6258ecb916f8b7c819041a8085 (diff)
Particle: Remove Billboard Particle code
The billboard particles were only used by Blender Internal. So until it is supported by Cycles of Eevee there is no reason to keep it in the code and UI. Fix T61695 Billboard particles not displaying in Eevee viewport, render
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py94
1 files changed, 0 insertions, 94 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index c85b8004808..3d25829c3d2 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -1480,98 +1480,6 @@ class PARTICLE_PT_render_collection_use_count(ParticleButtonsPanel, Panel):
row.prop(weight, "count")
-class PARTICLE_PT_render_billboards_alignment(ParticleButtonsPanel, Panel):
- bl_label = "Billboard Alignment"
- bl_parent_id = "PARTICLE_PT_render"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
-
- @classmethod
- def poll(cls, context):
- part = particle_get_settings(context)
- return part.render_type == 'BILLBOARD'
-
- def draw(self, context):
- layout = self.layout
- layout.use_property_split = True
-
- part = particle_get_settings(context)
-
- col = layout.column()
-
- col.prop(part, "billboard_align", text="Align To")
- col.prop(part, "lock_billboard", text="Lock Axis")
- col.prop(part, "billboard_object")
-
-
-class PARTICLE_PT_render_billboards_tilt(ParticleButtonsPanel, Panel):
- bl_label = "Billboard Tilt"
- bl_parent_id = "PARTICLE_PT_render"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
-
- @classmethod
- def poll(cls, context):
- part = particle_get_settings(context)
- return part.render_type == 'BILLBOARD'
-
- def draw(self, context):
- layout = self.layout
- layout.use_property_split = True
-
- part = particle_get_settings(context)
-
- col = layout.column()
-
- sub = col.column(align=True)
- sub.prop(part, "billboard_tilt", text="Angle", slider=True)
- sub.prop(part, "billboard_tilt_random", text="Random", slider=True)
-
- sub = col.column(align=True)
- sub.prop(part, "billboard_offset")
- col.prop(part, "billboard_size", text="Scale")
- if part.billboard_align == 'VEL':
- col = col.column(align=True)
- col.prop(part, "billboard_velocity_head", text="Velocity ScaleHead")
- col.prop(part, "billboard_velocity_tail", text="Tail")
-
-
-class PARTICLE_PT_render_billboards_uv(ParticleButtonsPanel, Panel):
- bl_label = "Billboard UVs"
- bl_parent_id = "PARTICLE_PT_render"
- bl_options = {'DEFAULT_CLOSED'}
- COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'}
-
- @classmethod
- def poll(cls, context):
- part = particle_get_settings(context)
- return part.render_type == 'BILLBOARD'
-
- def draw(self, context):
- layout = self.layout
- layout.use_property_split = True
-
- psys = context.particle_system
- ob = context.object
- part = particle_get_settings(context)
-
- col = layout.column()
-
- if psys:
- col.prop_search(psys, "billboard_normal_uv", ob.data, "uv_layers")
- col.prop_search(psys, "billboard_time_index_uv", ob.data, "uv_layers")
-
- col.prop(part, "billboard_uv_split", text="Split UVs")
-
- if psys:
- sub = col.column()
- sub.active = part.billboard_uv_split > 1
- sub.prop_search(psys, "billboard_split_uv", ob.data, "uv_layers")
-
- sub.prop(part, "billboard_animation")
- sub.prop(part, "billboard_offset_split")
-
-
class PARTICLE_PT_render_trails(ParticleButtonsPanel, Panel):
bl_label = "Trails"
bl_parent_id = "PARTICLE_PT_render"
@@ -2186,8 +2094,6 @@ classes = (
PARTICLE_PT_render_object,
PARTICLE_PT_render_collection,
PARTICLE_PT_render_collection_use_count,
- PARTICLE_PT_render_billboards_tilt,
- PARTICLE_PT_render_billboards_uv,
PARTICLE_PT_render_trails,
PARTICLE_PT_render_extra,
PARTICLE_PT_draw,