Closed Keerpich closed 8 years ago
There's already an IntField in RTEditorGUI, isn't it? I think it's just a wrapper for FloatField, casting to int, but it works... Allowing unique nodes is nice though, thank you! Also, I changed the target branch to develop to keep it tidy;)
Just thought it will be nice to have it there explicitly :smile:
Also, I got another commit to fix the case when the Create function returns null since that will mess up the node type registration in NodeTypes.cs . After this is merged I will create a pull request for that one too, ok?
Better to add that commit to this pull request so it is together;) I think you just need to push your fix to your master branch and it will automatically appear here.
Note: the 3rd commit was messed up
Can you remove both commit 3&4? I've previously committed a fix that removes the modified line in NodeTypes.cs that calls node.Create because it was not needed. Seems this is causing the merge conflicts;) Also, two is redundant, as said previously... So the fix you mentioned would also be not needed, I did not immediately realized this but as I said above the line we're talking about has been removed;)
Or rather, can you create a new pull request with only your first commit in it? Maybe pull the develop branch in your develop to get it updated and then apply your first commit and it if works, create a new PR? Hope you can follow me why this would be cleaner;)