[Bf-blender-cvs] [057455726c7] functions: new kill particle node ui

Jacques Lucke noreply at git.blender.org
Fri Jul 5 12:26:39 CEST 2019


Commit: 057455726c7520dc99487fe85bcf7a71cb9f7757
Author: Jacques Lucke
Date:   Fri Jul 5 10:14:01 2019 +0200
Branches: functions
https://developer.blender.org/rB057455726c7520dc99487fe85bcf7a71cb9f7757

new kill particle node ui

===================================================================

A	release/scripts/startup/nodes/bparticle_nodes/kill_particle.py

===================================================================

diff --git a/release/scripts/startup/nodes/bparticle_nodes/kill_particle.py b/release/scripts/startup/nodes/bparticle_nodes/kill_particle.py
new file mode 100644
index 00000000000..72ef2da2ca2
--- /dev/null
+++ b/release/scripts/startup/nodes/bparticle_nodes/kill_particle.py
@@ -0,0 +1,11 @@
+import bpy
+from bpy.props import *
+from .. base import BParticlesNode
+from .. socket_builder import SocketBuilder
+
+class KillParticleNode(bpy.types.Node, BParticlesNode):
+    bl_idname = "bp_KillParticleNode"
+    bl_label = "Kill Particle"
+
+    def declaration(self, builder : SocketBuilder):
+        builder.control_flow_input("control_in", "(In)")



More information about the Bf-blender-cvs mailing list