3 Commits

Author SHA1 Message Date
antopilo
076960c41d vma 2024-12-23 23:46:31 -05:00
antopilo
2898a6f5b0 Fixed compilation errors 2024-12-21 11:57:32 -05:00
antopilo
f1a36c495d Removed DOF manual focus serialization, its always on by default 2024-12-02 17:54:27 -05:00
6 changed files with 9 additions and 9 deletions

View File

@@ -2048,10 +2048,10 @@ void EditorSelectionPanel::DrawFieldTypeString(entt::meta_data& field, entt::met
std::string controlId = std::string("##") + displayName;
ImGui::InputText(controlId.c_str(), &fieldValProxy);
if (fieldValProxy != fieldVal)
{
Engine::GetProject()->IsDirty = true;
}
//if (fieldValProxy != fieldVal)
//{
// Engine::GetProject()->IsDirty = true;
//}
}
else
{

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2023-2025 Antoine Pilote
Copyright (c) 2023 Antoine Pilote
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.

Submodule Nuake/dependencies/vma added at 5a53a19894

View File

@@ -310,7 +310,6 @@ namespace Nuake
}
DESERIALIZE_VAL(DOFAutoFocus);
DESERIALIZE_VAL(DOFManualFocus);
DESERIALIZE_VAL(DOFFocalDepth);
DESERIALIZE_VAL(DOFFocalLength);
DESERIALIZE_VAL(DOFStart);

View File

@@ -55,7 +55,7 @@ namespace Nuake
float DOFFstop = 1.0f;
bool DOFAutoFocus = false;
bool DOFShowFocus = false;
bool DOFManualFocus = false;
bool DOFManualFocus = true;
int DOFSamples = 3;
int DOFrings = 3;
float DOFStart = 1.0f;

View File

@@ -84,7 +84,7 @@ bool katana_string_has_prefix(const char* str, const char* prefix)
{
size_t pre_len = strlen(prefix);
size_t str_len = strlen(str);
return pre_len <= str_len && stricmp(prefix, str, pre_len);
return pre_len <= str_len && stricmp(prefix, str);
}
void katana_string_to_lowercase(struct KatanaInternalParser* parser,