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:
authorJacques Lucke <jacques@blender.org>2020-07-27 17:26:32 +0300
committerJacques Lucke <jacques@blender.org>2020-07-27 17:26:43 +0300
commit38e65331a8345054874e81668772dc8c66ad1a1e (patch)
treed30764b2b9193a01d01dcba5efc19a308a3f31fa /release
parenta83bb170b09d109b93e80002112e4a28ce5d6ff9 (diff)
Particles: initial support for events and actions
The following nodes work now (although things can still be improved of course): Particle Birth Event, Praticle Time Step Event, Set Particle Attribute and Execute Condition. Multiple Set Particle Attribute nodes can be chained using the "Execute" sockets. They will be executed from left to right.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/nodeitems_builtins.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/nodeitems_builtins.py b/release/scripts/startup/nodeitems_builtins.py
index 8439eadcec3..8ae41a9e19c 100644
--- a/release/scripts/startup/nodeitems_builtins.py
+++ b/release/scripts/startup/nodeitems_builtins.py
@@ -498,16 +498,16 @@ simulation_node_categories = [
not_implemented_node("SimulationNodeEmitParticles"),
]),
SimulationNodeCategory("SIM_EVENTS", "Events", items=[
- not_implemented_node("SimulationNodeParticleBirthEvent"),
- not_implemented_node("SimulationNodeParticleTimeStepEvent"),
+ NodeItem("SimulationNodeParticleBirthEvent"),
+ NodeItem("SimulationNodeParticleTimeStepEvent"),
not_implemented_node("SimulationNodeParticleMeshCollisionEvent"),
]),
SimulationNodeCategory("SIM_FORCES", "Forces", items=[
NodeItem("SimulationNodeForce"),
]),
SimulationNodeCategory("SIM_EXECUTE", "Execute", items=[
- not_implemented_node("SimulationNodeSetParticleAttribute"),
- not_implemented_node("SimulationNodeExecuteCondition"),
+ NodeItem("SimulationNodeSetParticleAttribute"),
+ NodeItem("SimulationNodeExecuteCondition"),
not_implemented_node("SimulationNodeMultiExecute"),
]),
SimulationNodeCategory("SIM_NOISE", "Noise", items=[