Fixes to vector/color component assignment: fix but where varying values need to be preserved; also better error message if channel index it out of [0..2] range.
Fixes to vector/color component assignment: fix but where varying values need
to be preserved; also better error message if channel index it out of [0..2]
range.


git-svn-id: 93cebb81a0f5cc00f31a7ad40d16024532691b70@188 a3683778-fedd-11de-87c3-653bb6514e15

aconty/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,brechtvl/OpenShadingLanguage,gzorin/OpenShadingLanguage,imageworks/OpenShadingLanguage,brechtvl/OpenShadingLanguage,juvenal/OpenShadingLanguage,gzorin/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,imageworks/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,imageworks/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,svenstaro/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,Anteru/OpenShadingLanguage,gzorin/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,mcanthony/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,svenstaro/OpenShadingLanguage,lgritz/OpenShadingLanguage,mcanthony/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,sjparker/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,svenstaro/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,lgritz/OpenShadingLanguage,brechtvl/OpenShadingLanguage,aconty/OpenShadingLanguage,imageworks/OpenShadingLanguage,juvenal/OpenShadingLanguage,sjparker/OpenShadingLanguage,mcanthony/OpenShadingLanguage,juvenal/OpenShadingLanguage,aconty/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,aconty/OpenShadingLanguage,imageworks/OpenShadingLanguage,amartinez-cg/OpenShadingLanguage,mcanthony/OpenShadingLanguage,Anteru/OpenShadingLanguage,rlmh/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,rlmh/OpenShadingLanguage,aconty/OpenShadingLanguage,rlmh/OpenShadingLanguage,svenstaro/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,brechtvl/OpenShadingLanguage,lgritz/OpenShadingLanguage,Anteru/OpenShadingLanguage,sjparker/OpenShadingLanguage,brechtvl/OpenShadingLanguage,gzorin/OpenShadingLanguage,johnhaddon/OpenShadingLanguage,lgritz/OpenShadingLanguage,Anteru/OpenShadingLanguage,sjparker/OpenShadingLanguage,juvenal/OpenShadingLanguage,gzorin/OpenShadingLanguage,lgritz/OpenShadingLanguage,rlmh/OpenShadingLanguage