Skip to content

Commit

Permalink
Merge pull request #1613 from JakeOShannessy/lua-update
Browse files Browse the repository at this point in the history
lua: match upstream colobar changes
  • Loading branch information
gforney authored Jun 22, 2023
2 parents e798361 + 0a83540 commit 233a1dc
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Source/smokeview/c_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,11 +813,9 @@ void set_colorbar(size_t value) {
iso_colorbar = colorbarinfo + iso_colorbar_index;
update_texturebar = 1;
UpdateListIsoColorobar();
selectedcolorbar_index2 = colorbartype;
UpdateCurrentColorbar(colorbarinfo + colorbartype);
UpdateColorbarType();
UpdateColorbarList2();
if (colorbartype == bw_colorbar_index) {
if (colorbartype == bw_colorbar_index && bw_colorbar_index >= 0) {
setbwdata = 1;
} else {
setbwdata = 0;
Expand Down Expand Up @@ -933,8 +931,12 @@ void ImmersedMenu(int value);
void BlockageMenu(int value);
void blockages_hide_all() { BlockageMenu(visBLOCKHide); }
// TODO: clarify behaviour under isZoneFireModel
void outlines_hide() { if(isZoneFireModel==0)visFrame=1-visFrame;}
void outlines_show() { if(isZoneFireModel==0)visFrame=1-visFrame; }
void outlines_hide() {
if (isZoneFireModel == 0) visFrame = 1 - visFrame;
}
void outlines_show() {
if (isZoneFireModel == 0) visFrame = 1 - visFrame;
}

void surfaces_hide_all() {
visVents = 0;
Expand Down

0 comments on commit 233a1dc

Please sign in to comment.