It's work when I use houdini 17.5.
Is it a Houdini 18 bug?
H18 vex array problem
2213 3 0- XiangYu
- Member
- 26 posts
- Joined: Jan. 2016
- Offline
- BabaJ
- Member
- 2120 posts
- Joined: Sept. 2015
- Offline
Not sure what your talking about/mean.
Your screen shot version:
works as expected in any version of Houdini including H18.(It does for me)
However, your initial typed version:
Does not work in any version of Houdini - Here your trying to set an int with an int array.
Your screen shot version:
int vec[]={0,1,2,3};
printf("%g,vec[-1]);
works as expected in any version of Houdini including H18.(It does for me)
However, your initial typed version:
int ve = {2,1};
i@a=ve;
Does not work in any version of Houdini - Here your trying to set an int with an int array.
Edited by BabaJ - March 24, 2020 10:18:17
- zengchen
- Member
- 77 posts
- Joined: Feb. 2017
- Offline
- tamte
- Member
- 8769 posts
- Joined: July 2007
- Online
also if you posted screenshot just because your
you can use code block to post code directly, it may be easier for everyone
like this:
but yes, that code seems to be working in H18, but try newer build, I recall this coming up once before
[]
were cut offyou can use code block to post code directly, it may be easier for everyone
like this:
int vec[]={0,1,2,3}; printf("%g",vec[-1]);
Edited by tamte - March 24, 2020 10:35:03
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
-
- Quick Links