BPython:
- NMesh: made nmesh.update accept an optional 'vertex_shade' param to init vcols with shading info, like when you enter vpaint mode or press the relevant "make" button for a mesh without vcols. This is still a test, the functionality was requested by Manuel Bastioni for the SSS script they are working on: http://www.dedalo-3d.com/index.php?filename=SXCOL/makehuman/articles/subsurface_scattering_in_python.html - sys: made makename() accept files with max FILE_MAXDIR+FILE_MAXFILE name length, should fix #2192. Was only FILE_MAXFILE, a mistake; - Image: added .setFilename(), contributed by Campbell Barton; - Camera: added camera.get/setScale for the new param added by Ton for ortho cameras. Requested by Jean-Michel Soler for the Texture Baker script; - related doc updates.
This commit is contained in:
		| @@ -186,16 +186,16 @@ class Object: | ||||
|         other value, or no value at all will update the scene hierarchy. | ||||
|     """ | ||||
|  | ||||
|   def getData(only_name = False): | ||||
|   def getData(name_only = False): | ||||
|     """ | ||||
|     Returns the Datablock object (new: or just its name) containing the | ||||
|     object's data. For example the Mesh, Lamp or the Camera. | ||||
|     @type only_name: bool | ||||
|     @param only_name: if True on nonzero, only the name of the data object | ||||
|     @type name_only: bool | ||||
|     @param name_only: if True on nonzero, only the name of the data object | ||||
|         is returned. | ||||
|     @rtype: Object type specific or string | ||||
|     @return: Depending on the type of the Object, it returns a specific object | ||||
|         for the data requested.  If only_name is True, it returns a string. | ||||
|         for the data requested.  If name_only is True, it returns a string. | ||||
|     """ | ||||
|  | ||||
|   def getDeltaLocation(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user