Author Topic: Notes - What's causing syntax loss?  (Read 117 times)

Offline WASasquatch

  • Member
  • *
  • Posts: 3225
Notes - What's causing syntax loss?
« on: May 16, 2019, 06:37:38 PM »
What's causing the Syntax loss in notes in TGCs?

When I load my highly noted shaders, the notes are just condensed into a single block of text...

Offline Matt

  • Planetside Staff
  • *
  • Posts: 3544
  • I'm the crazy one
Re: Notes - What's causing syntax loss?
« Reply #1 on: May 16, 2019, 10:33:47 PM »
I wasn't aware of this but I did some tests just now. In my tests, formatting was preserved when I used File -> Insert Clip file, but the formatting was lost when I used the context menu (right-click menu) in the Node Network. I'll find out what's causing it.
Just because milk is white doesn't mean that clouds are made of milk.

Offline Matt

  • Planetside Staff
  • *
  • Posts: 3544
  • I'm the crazy one
Re: Notes - What's causing syntax loss?
« Reply #2 on: May 17, 2019, 01:47:33 AM »
Actually it doesn't matter which method you use to insert the clip file. Inserting a clip file causes the file on disk to be modified, and the modified file has incorrect formatting which affects you the next time you insert it. I'll see what I can do to fix it.
Just because milk is white doesn't mean that clouds are made of milk.

Offline WASasquatch

  • Member
  • *
  • Posts: 3225
Re: Notes - What's causing syntax loss?
« Reply #3 on: May 18, 2019, 04:14:18 PM »
Thanks for looking into it Matt. Will help with documentation for projects.