diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-09-30 18:07:38 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-01 11:02:24 +0300 |
commit | 534009098ea094aa1f3b5298101e5d9e0a3cb1dc (patch) | |
tree | 0d34cbeb8a52ad1349f96ede7c994278dc19cf67 /source/blender/editors/interface/resources.c | |
parent | d64e60340f5b361208d243172419a63efeed91cb (diff) |
Remove obsolete weight paint color computation code.
The new weight paint drawing code converts weight to color
directly in the shader, so the old CD_PREVIEW_MLOOPCOL based
code is not needed anymore.
Diffstat (limited to 'source/blender/editors/interface/resources.c')
-rw-r--r-- | source/blender/editors/interface/resources.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index 983f1944116..4ed82321abc 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -1198,12 +1198,6 @@ void init_userdef_do_versions(Main *bmain) BKE_tempdir_system_init(U.tempdir); } - /* signal for evaluated mesh to use colorband */ - /* run in case this was on and is now off in the user prefs [#28096] */ - BKE_mesh_runtime_color_band_store( - (U.flag & USER_CUSTOM_RANGE) ? (&U.coba_weight) : NULL, - UI_GetTheme()->tv3d.vertex_unreferenced); - /* Not versioning, just avoid errors. */ #ifndef WITH_CYCLES BKE_addon_remove_safe(&U.addons, "cycles"); |