[Bf-blender-cvs] [1d15c51bf9c] functions: use annotation for properties
Jacques Lucke
noreply at git.blender.org
Mon Sep 2 17:58:26 CEST 2019
Commit: 1d15c51bf9cd18b7e0c69cc63f6a02ea13b2b9a6
Author: Jacques Lucke
Date: Mon Sep 2 17:58:19 2019 +0200
Branches: functions
https://developer.blender.org/rB1d15c51bf9cd18b7e0c69cc63f6a02ea13b2b9a6
use annotation for properties
===================================================================
M release/scripts/startup/nodes/bparticle_nodes/change_velocity.py
===================================================================
diff --git a/release/scripts/startup/nodes/bparticle_nodes/change_velocity.py b/release/scripts/startup/nodes/bparticle_nodes/change_velocity.py
index 0dab6853127..8e064e80f0c 100644
--- a/release/scripts/startup/nodes/bparticle_nodes/change_velocity.py
+++ b/release/scripts/startup/nodes/bparticle_nodes/change_velocity.py
@@ -7,7 +7,7 @@ class ChangeParticleVelocityNode(bpy.types.Node, BParticlesNode):
bl_idname = "bp_ChangeParticleVelocityNode"
bl_label = "Change Particle Velocity"
- mode = EnumProperty(
+ mode: EnumProperty(
name="Mode",
items=[
('SET', "Set", "Set a specific velocity", 'NONE', 0),
More information about the Bf-blender-cvs
mailing list