made mesh.getFromObject() accept a python object as well as the object name.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 13 Nov 2006 17:37:01 +0000 (17:37 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 13 Nov 2006 17:37:01 +0000 (17:37 +0000)
commit26ef99157eaba677ccbade3b99dd6a990ca48474
treef39b88ebea158c28aa3b4e3df513de19cb9d7a4c
parent745aaf01c61d04cc368f29db17e75a09c76c15d7
made mesh.getFromObject() accept a python object as well as the object name.
accepting the name only was causing big problems when exporting library data, because duplicate names are possible the wrong data was exporting.
release/scripts/bpymodules/BPyMesh.py
source/blender/python/api2_2x/Mesh.c
source/blender/python/api2_2x/doc/Mesh.py