This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MStatus SomeDeformer::deform( MDataBlock& data, MItGeometry& itGeo, const MMatrix &localToWorldMatrix, unsigned int geomIndex ) | |
{ | |
MStatus status; | |
MArrayDataHandle hInput = data.outputArrayValue( input, &status ); | |
CHECK_MSTATUS_AND_RETURN_IT( status ) | |
status = hInput.jumpToElement( geomIndex ); | |
CHECK_MSTATUS_AND_RETURN_IT( status ) | |
MObject oInputGeom = hInput.outputValue().child( inputGeom ).asMesh(); | |
MFnMesh fnInputMesh( oInputGeom ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
# Based on SwatchBooker code. Original license follows | |
# | |
# Copyright 2008 Olivier Berten <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by |
NewerOlder