rokups / ImNodes

Node graph implementation for Dear ImGui. Used in https://github.com/rokups/rbfx
MIT License
656 stars 57 forks source link

Some fixes and improvements #41

Closed roblunx closed 2 years ago

roblunx commented 2 years ago

Here are a couple of fixes and improvements I've made. Most of it is in ImNodes::Ez and I tried to keep the number of changes to the ImNodes namespace at a minimum. It's only improvements in ImNodes namespace the shouldn't affect any existing code that depends on it.

sphaero commented 2 years ago

This is very welcomed! Why hasn't it merged yet? @rokups

rokups commented 2 years ago

Branch has conflicts and this is quite some stuff. Ill find time to review it all soon™.

@roblunx could you rebase this branch on to master so there are no merge commits and conflicts? Thanks 🙏🏻

rokups commented 2 years ago

I merged all the changes manually as there were conflicts, also had to fix sample application. Amazing changes, thank you very much @roblunx 🙏🏻

roblunx commented 2 years ago

Sorry for not responding earlier. I'm not sure I understand fully what you (@rokups) mean by rebasing branch onto master. I thought there would be no problem since I had merged from your upstream repository I forked.

Do you mean that instead of merging from my updated master into my branch I should have rebased my branch onto my own updated master and made the PR from there?

Anyway, I'm glad you could sort it out. I'll keep this in mind until next time.

rokups commented 2 years ago

Maybe your PR version was based on a bit older version as github reported conflicts. I did not want to bother you with something that minor so i did conflict resolution myself. Really great changes, you lifted ::Ez namespace from a demo code to something that is wroth supporting as a solution ❤️