[Bf-blender-cvs] [b2409734120] sculpt-dev: Object: Make flash animation slower
Pablo Dobarro
noreply at git.blender.org
Sun Apr 18 18:15:05 CEST 2021
Commit: b24097341201e52d98b7b657e7706c28ad181767
Author: Pablo Dobarro
Date: Thu Apr 15 20:28:04 2021 +0200
Branches: sculpt-dev
https://developer.blender.org/rBb24097341201e52d98b7b657e7706c28ad181767
Object: Make flash animation slower
===================================================================
M source/blender/editors/object/object_modes.c
===================================================================
diff --git a/source/blender/editors/object/object_modes.c b/source/blender/editors/object/object_modes.c
index 594f953440e..b7eba0c6966 100644
--- a/source/blender/editors/object/object_modes.c
+++ b/source/blender/editors/object/object_modes.c
@@ -565,7 +565,7 @@ static bool object_transfer_mode_flash_animation_update(bContext *C, wmOperator
}
const double time = PIL_check_seconds_timer();
const double delta_time = time - cd->start_time;
- float alpha = 1.0f - (6.0 * delta_time);
+ float alpha = 1.0f - (4.0 * delta_time);
if (alpha > 0.01f) {
cd->alpha = alpha;
More information about the Bf-blender-cvs
mailing list