Fix T83886: Particle instance modifier broken

Caused by Caused by rB83980506957c.

Since above commit, the modifier was created with wrong initial values
[amount was 0.0 and offset was 1.0 -- instead of the other way around].

Since there is no way to fix existing files in a reasonable way I guess,
all we can do here is to make sure that from now on, the defaults are
correct.

Maniphest Tasks: T83886

Differential Revision: https://developer.blender.org/D9881
This commit is contained in:
Philipp Oeser 2020-12-17 12:38:40 +01:00
parent c9f8f7915f
commit 3fc07d1e74
Notes: blender-bot 2023-10-12 12:49:04 +02:00
Referenced by issue #83886, Particle instance modifier broken
1 changed files with 2 additions and 2 deletions

View File

@ -503,8 +503,8 @@
.random_position = 0.0f, \
.rotation = 0.0f, \
.random_rotation = 0.0f, \
.particle_offset = 1.0f, \
.particle_amount = 0.0f, \
.particle_offset = 0.0f, \
.particle_amount = 1.0f, \
.index_layer_name = "", \
.value_layer_name = "", \
}