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
5 changed files with 7 additions and 7 deletions

View File

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

Submodule Nuake/dependencies/vma added at 5a53a19894

View File

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

View File

@@ -55,7 +55,7 @@ namespace Nuake
float DOFFstop = 1.0f; float DOFFstop = 1.0f;
bool DOFAutoFocus = false; bool DOFAutoFocus = false;
bool DOFShowFocus = false; bool DOFShowFocus = false;
bool DOFManualFocus = false; bool DOFManualFocus = true;
int DOFSamples = 3; int DOFSamples = 3;
int DOFrings = 3; int DOFrings = 3;
float DOFStart = 1.0f; 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 pre_len = strlen(prefix);
size_t str_len = strlen(str); 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, void katana_string_to_lowercase(struct KatanaInternalParser* parser,