Skip to content

Commit

Permalink
fixed contrast not being saved issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Feb 12, 2024
1 parent bfa495d commit 32545a4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.24)

set(re-edit_VERSION_MAJOR 1)
set(re-edit_VERSION_MINOR 6)
set(re-edit_VERSION_PATCH 2)
set(re-edit_VERSION_PATCH 3)
set(re-edit_VERSION "${re-edit_VERSION_MAJOR}.${re-edit_VERSION_MINOR}.${re-edit_VERSION_PATCH}")

execute_process(COMMAND git describe --long --dirty --abbrev=10 --tags
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ pongasoft produces a variety of high quality and free/open source software. If y

Release Notes
-------------
* #### 1.6.3 - 2024/02/12

- Fixed issue with contrast not being saved

* #### 1.6.2 - 2023/08/28

- Added "Commit All Effects", at the widget level as well as at the global level, to be able to remove all `re_edit_*` entries from `device_2D.lua` once the effects are applied (permanent/no more undo)
Expand Down
2 changes: 1 addition & 1 deletion external/btzy/nativefiledialog-extended/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.2)
cmake_minimum_required(VERSION 3.24)
project(nativefiledialog-extended VERSION 1.0.0)

set(nfd_ROOT_PROJECT OFF)
Expand Down
3 changes: 2 additions & 1 deletion src/cpp/re/edit/Graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ std::string graphics_device2D_path(Texture const *iTexture, texture::FX const &i
stl::roundToInt(iEffects.fSizeOverride->y)) :
"";

path = re::mock::fmt::printf(R"(path = "%s"%s, re_edit_path = "%s"%s%s%s%s%s)",
path = re::mock::fmt::printf(R"(path = "%s"%s, re_edit_path = "%s"%s%s%s%s%s%s)",
iTexture->computeKey(iEffects),
iTexture->numFrames() > 1 ? re::mock::fmt::printf(", frames = %d", iTexture->numFrames()) : "",
iTexture->key(),
iEffects.hasTint() ? re::mock::fmt::printf(", re_edit_tint = { %d, %d, %d }", tint.fRed, tint.fGreen, tint.fBlue) : "",
iEffects.hasBrightness() ? re::mock::fmt::printf(", re_edit_brightness = %d", iEffects.fBrightness) : "",
iEffects.hasContrast() ? re::mock::fmt::printf(", re_edit_contrast = %d", iEffects.fContrast) : "",
iEffects.isFlippedX() ? ", re_edit_flip_x = true" : "",
iEffects.isFlippedY() ? ", re_edit_flip_y = true" : "",
sizeOverride
Expand Down

0 comments on commit 32545a4

Please sign in to comment.