fix pointer dereference path in type-mode evaluation; carve out exception for lens visualization with string-pointers - in that case, we just want to apply a string size limitation & go to the regular string path; begin getting off old color slots

This commit is contained in:
Ryan Fleury committed 2025-04-21 16:49:02 -07:00
1 parent 93b8aef49c
commit 4fe602521a
5 files changed
+39 -11

No files matched your search

+6 -2
View File
@@ -3041,11 +3041,15 @@ rd_view_ui(Rng2F32 rect)
{
rd_cmd(RD_CmdKind_OpenRecentProject, .cfg = cfg->id);
}
else
else if(e_type_kind_from_key(e_type_key_unwrap(eval.irtree.type_key, E_TypeUnwrapFlag_AllDecorative)) == E_TypeKind_Set)
{
rd_cmd(RD_CmdKind_PushQuery, .expr = e_string_from_expr(scratch.arena, eval.expr, str8_zero()));
}
}break;
else
{
did_cmd = 0;
}
}break;
case RD_EvalSpaceKind_MetaUnattachedProcess:
{
U64 pid = eval.value.u128.u64[0];