Nimbin[12]?SDL & Graphics / sdl_runtime_compiler / commits / 0840f51

sdl_runtime_compiler git · main

SDL3 game for running and compiling code at runtime

sdl3 c++ compiler dlopen cmake · first commit 2026-04-19 · last commit 2026-07-03 (3 months ago) · synced 3 days ago · upstream: git.ide3.de/hsnr/sdl-runtime-compiler

C++ 72.3% C 26.2%
git clone https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler.gitwget https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler/archive/sdl_runtime_compiler.tar.gz

Disable pickup whitespace from editor wsall

Christian Immanuel · 2026-06-27 12:38 · 0840f519e9efde1921105559440f1f164efbe548

 src/systems/pick_system.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/systems/pick_system.cpp b/src/systems/pick_system.cpp
index ba06e51..34d9efd 100644
--- a/src/systems/pick_system.cpp
+++ b/src/systems/pick_system.cpp
@@ -77,7 +77,7 @@ pick(const Camera& camera,
 
     for (size_t i = 0; i < words.size(); i++) {
         const Text::TokenPtr& w = words[i];
-        if (!w || !w->interactable) continue;
+        if (!w || !w->interactable || w->is_Whitespace()) continue;
         if (w->ai.state != Text::Token::Ai::State::Idle)
                                     continue;
         if (w->pos.y < floor_y)     continue;
@@ -106,7 +106,7 @@ pick(const Camera& camera,
         for (const Text::Line& line : h->get_Lines()) {
             for (const Text::TokenPtr& tp : line.tokens) {
                 Text::Token::Data* t = tp.get();
-                if (!t || !t->interactable) continue;
+                if (!t || !t->interactable || t->is_Whitespace()) continue;
                 if (t->pos.y < floor_y)     continue;
                 double a = angScore(*t, eye, camera.fwd);
                 if (a >= 0.0 && a < best_angle) {