-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding block statements to Technique to retain any added Defines #331
Conversation
One might argue that defines don't belong in shader nodes, which i guess is true for pure shader nodes. I'm however working on a hybrid PBR model ref here which uses them to define textures (like PBRLighting). Possibly this is unnecessary duplication, since there is a DefinitionsBlock used in other places. |
This is included in #334 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good besides the whitespace changes.
Do you know why they happen (i.e. what is the Line Endings in the file? Or is it coming from tabs vs spaces?)
import java.util.List; | ||
|
||
/** | ||
* A statement that will be enclosed with curly braces |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
I think it's line endings, why I don't know. I use "autocrlf = false". But mostly I don't know what to do about it. I could try "autocrlf = input" and create a new branch from master and see if it helps. |
Ok. I have this plugin in netbeans from before that shows the type of line ending. It seems a lot of files have windows encoding (clrf). I probably had git set to change to unix endings (lf) before. But I have changed that since I started noticing these issues and I just tried reverting Uberstatement to the one on the server and reapply the change I did. And now it retains the clrf ending. So I could redo those files that have the problems. |
Maybe something for 3.5