v3dview bezier code transfered to the plugin