view3dobject now receives view3d as a parameter;