diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2018-02-13 10:11:23 +0300 |
---|---|---|
committer | Mai Lavelle <mai.lavelle@gmail.com> | 2018-02-15 11:26:59 +0300 |
commit | 144a661152f1fbf41591d3b9aad679486207b5d7 (patch) | |
tree | cdf5bc45061f1826bcd2ca8aa3f4d91afe60de96 /source/blender | |
parent | c4a783bdf78dc9af9a622f9bcbbccc1410c246a7 (diff) |
Make particle edit draw mode a noop
Seems this was just a template, but that template painted everything
green. Not sure what this draw mode should do really.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/modes/particle_mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/modes/particle_mode.c b/source/blender/draw/modes/particle_mode.c index 0d0758971d5..f92505a8778 100644 --- a/source/blender/draw/modes/particle_mode.c +++ b/source/blender/draw/modes/particle_mode.c @@ -200,7 +200,7 @@ static void PARTICLE_draw_scene(void *vedata) DefaultFramebufferList *dfbl = DRW_viewport_framebuffer_list_get(); DefaultTextureList *dtxl = DRW_viewport_texture_list_get(); - UNUSED_VARS(fbl, dfbl, dtxl); + UNUSED_VARS(fbl, dfbl, dtxl, psl); /* Show / hide entire passes, swap framebuffers ... whatever you fancy */ /* @@ -212,7 +212,7 @@ static void PARTICLE_draw_scene(void *vedata) */ /* ... or just render passes on default framebuffer. */ - DRW_draw_pass(psl->pass); + //DRW_draw_pass(psl->pass); /* If you changed framebuffer, double check you rebind * the default one with its textures attached before finishing */ |