Ozmodian
Member
|
Minor Bug in Editor - Invalid Closing Brace
I think I found a minor bug in the code editor.
Steps
1) Open tutorial 13 - Mesh -> heightmap
2) Change the following line
Code:
Vec2 pos; SinCos(pos.y, pos.x, Time.time()); pos=pos*8+16;
to
Code:
Vec2 pos; SinCos(pos.y, pos.x, Time.time()); pos=pos*8;
3) Press play
4) Press escape to exit
5) Type back in the +16
6) Press play
Error displayed "Error: Invalid Closing Brace".
If you press control-Z twice to get the +16 back and press play it is good again. It is not consistent either. I get the error most of the time but sometimes not.
Please let me know if I can provide any further information. This is NOT urgent.
Thanks for the support.
|
|
04-05-2013 07:46 AM |
|
Esenthel
Administrator
|
RE: Minor Bug in Editor - Invalid Closing Brace
Thanks!
I had this problem appear too occasionally, but it always occured randomly and I never could reproduce it in debug mode, thanks to your catch maybe I'll be able to do something about it
temporary fix is to do on the code with the issue:
Ctrl+A - select all
Ctrl+X - cut
Ctrl+V - paste
it will rebuild the code and make it work as normal
|
|
04-05-2013 12:27 PM |
|
Esenthel
Administrator
|
RE: Minor Bug in Editor - Invalid Closing Brace
Okay, it wasn't easy but I've managed to solve the problem
However if it will happen again for some othe reasons, then please let me know.
|
|
04-05-2013 05:43 PM |
|
Ozmodian
Member
|
RE: Minor Bug in Editor - Invalid Closing Brace
Thanks Esenthel! I did not mean for you to spend a lot of time on it. Glad my steps helped you re-produce it. As always, going above and beyond!
Have a great weekend.
|
|
04-05-2013 07:06 PM |
|