It's work when I use houdini 17.5.
Is it a Houdini 18 bug?
H18 vex array problem
2302 3 0- XiangYu
- Member
- 26 posts
- Joined: 1月 2016
- Offline
- BabaJ
- Member
- 2129 posts
- Joined: 9月 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 - 2020年3月24日 10:18:17
- zengchen
- Member
- 77 posts
- Joined: 2月 2017
- Offline
- tamte
- Member
- 8832 posts
- Joined: 7月 2007
- Offline
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 - 2020年3月24日 10:35:03
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
-
- Quick Links