✨ Editor improvements and feature additions#3526
✨ Editor improvements and feature additions#3526Strand8319 wants to merge 6 commits intowiremod:masterfrom
Conversation
Strand8319
commented
Feb 13, 2026
- Updated editor rendering and visuals
- Added connection waypoints
- Added Undo/Redo functionality
- Fixed Wire gate sorting behavior
|
hover.txt |
Try copying all the nodes to a new tab |
|
Also, FPGA has the "inside view" feature (toggle it on in top right settings -> FPGA -> allow inside view) It would be nice if this also rendered with the new bezier curves (The rendering of that can be found in entities/gmod_wire_fpga/cl_init.lua on line 143, DrawInsideView function) |
That does fix it, is it just an issue with older save files then? |
|
The undo and redo works very nicely btw, I struggled with implementing that for a long time q: good job! |
Some files seems to not render on minimap, happened to me once with a new file, but I couldn't find the issue and replicate it later |
Will add it today (hopefully) |
|
It seems you cannot multiselect gates and waypoints and move them at the same time, you either move the gates or the waypoints. (Selecting the gates that the waypoints are inbetween does move the waypoints) But it would be better if it does the expected thing and moves both gates and waypoints :) |
Thought it would be nice to keep waypoints on original position if you didn't select the second gate. But I'll change that Original CubicBezier or QuadraticBezier creates a vector |
I trust you've tested performance, then its fine :) |
|
Also, the linter issues should preferrably be fixed, it seems it's mainly complaining about trailing whitespace |
- Updated editor rendering and visuals - Added connection waypoints - Added Undo/Redo functionality - Fixed Wire gate sorting behavior
|
On the minimap, we probably shouldn't render text as small boxes, how about not rendering text at all, but rendering labels? Heres a good file to test with as you can see, text is rendered as boxes Could we render labels in the minimap? (labels being the big text), or is it too annoying with regards to fonts and such? |
| surface.DrawOutlinedRect(x, y, size, size) | ||
|
|
||
| -- Calculate bounds of all nodes | ||
| if not self.Nodes[1] then return end |
There was a problem hiding this comment.
There might not be a node with id 1, and if there isn't then the minimap isnt rendered
There was a problem hiding this comment.
When i remove if not self.Nodes[1] then return end´, all my files render their minimap - why is it there?
There was a problem hiding this comment.
When i remove
if not self.Nodes[1] then return end´, all my files render their minimap - why is it there?
Checking if nodes exist the code will continue running, mb I'll use # or delete it completely
We could render labels. I'll play with fonts until I find best for it |
yes! |










