forked from bartvdbraak/blender
fix [#34104] vertex color: color select bug
changing the hue in a color picker on a panel when black/white was selected would fail because the hue from the previous state wasnt stored.
This commit is contained in:
parent
df1fe57621
commit
88aa33d3f4
@ -927,6 +927,8 @@ void uiEndBlock(const bContext *C, uiBlock *block)
|
||||
block->auto_open = block->oldblock->auto_open;
|
||||
block->auto_open_last = block->oldblock->auto_open_last;
|
||||
block->tooltipdisabled = block->oldblock->tooltipdisabled;
|
||||
copy_v3_v3(ui_block_hsv_get(block),
|
||||
ui_block_hsv_get(block->oldblock));
|
||||
|
||||
block->oldblock = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user