Normally when I connected a float (say, Value1) output to an int type input in VOP, the system would add an autoconvert, such as
// Code produced by: autoconvert
out_put1 = (int) Value1 ;
However, when I use while block, and make the variable in begin block as integer, and connect a float to the variable in the end block, the autoconvert doesn't added. An error message of “different type” will show up, which means I need to convert manually.
I wander if this design has some purpose or just forgetting to add a converting feature
Many thanks : )
Data type auto convert in VOP node
1680 0 0- solarain
- Member
- 8 posts
- Joined: Oct. 2015
- Offline
-
- Quick Links