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:
authorPhilipp Oeser <info@graphics-engineer.com>2020-02-12 21:17:19 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2020-02-12 21:17:19 +0300
commit9aae62a59b2e8cfbf476a33e99ac1966b96e2bc9 (patch)
tree86493d97863577431d3662863a9377a0022c35af /source/blender/blenkernel/intern/particle.c
parent80cecee5b7c81feb1e2a5e56cbfed66981124265 (diff)
Particles: remove unused sel_col and nosel_col from
CacheEditrPathsIterData and PTCacheEdit Followup to 80cecee5b7c8. ref D6725
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-rw-r--r--source/blender/blenkernel/intern/particle.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index bda768626b4..68df93d742a 100644
--- a/source/blender/blenkernel/intern/particle.c
+++ b/source/blender/blenkernel/intern/particle.c
@@ -3112,8 +3112,6 @@ typedef struct CacheEditrPathsIterData {
ParticleData *pa;
int segments;
bool use_weight;
- float sel_col[3];
- float nosel_col[3];
} CacheEditrPathsIterData;
static void psys_cache_edit_paths_iter(void *__restrict iter_data_v,
@@ -3330,18 +3328,6 @@ void psys_cache_edit_paths(Depsgraph *depsgraph,
iter_data.segments = segments;
iter_data.use_weight = use_weight;
- if (use_weight) {
- /* use weight painting colors now... */
- }
- else {
- iter_data.sel_col[0] = (float)edit->sel_col[0] / 255.0f;
- iter_data.sel_col[1] = (float)edit->sel_col[1] / 255.0f;
- iter_data.sel_col[2] = (float)edit->sel_col[2] / 255.0f;
- iter_data.nosel_col[0] = (float)edit->nosel_col[0] / 255.0f;
- iter_data.nosel_col[1] = (float)edit->nosel_col[1] / 255.0f;
- iter_data.nosel_col[2] = (float)edit->nosel_col[2] / 255.0f;
- }
-
TaskParallelSettings settings;
BLI_parallel_range_settings_defaults(&settings);
settings.scheduling_mode = TASK_SCHEDULING_DYNAMIC;