cortex-vfx:mainlinemirror.git
8 years agoAdds a tools menu, next to the 'add class' menu. master
tom.imageengine [Fri, 2 Jul 2010 23:46:55 +0000 (23:46 +0000)]
Adds a tools menu, next to the 'add class' menu.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3562 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdds some basic icons for IECoreMaya, could do with something nicer one day...
tom.imageengine [Fri, 2 Jul 2010 23:42:43 +0000 (23:42 +0000)]
Adds some basic icons for IECoreMaya, could do with something nicer one day...

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3561 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdds a method to check if the vector has a class with the specified name.
tom.imageengine [Fri, 2 Jul 2010 23:39:53 +0000 (23:39 +0000)]
Adds a method to check if the vector has a class with the specified name.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3560 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFnParameterisedHolder.setParameterised() is now undoable - an additional parameter...
john.imageengine [Wed, 30 Jun 2010 21:54:47 +0000 (21:54 +0000)]
FnParameterisedHolder.setParameterised() is now undoable - an additional parameter can be used to request the previous behaviour. The same parameter is also available in FnOpHolder.setOp() and FnProceduralHolder.setProcedural().

Deprecated the FnParameterisedHolder.setClassParameterClass and FnParameterisedHolder.setClassVectorParameterClasses, which were formerly the only way of editing the classes held by these parameters in a way which kept maya in sync with the cortex side changes. They weren't flexible enough for any large scale editing, and were also flawed because they were a maya specific way of editing, and we'd like to use the standard ClassParameter.setClass and ClassVectorParameter.setClasses methods on the cortex API side of things. This can now be achieved by calling the standard cortex functions mentioned inside a context manager returned by FnParameterisedHolder.classParameterModificationContext().

Because the setParameterised() method is undoable, the old create() methods of the FnOpHolder etc needed changing to prevent create() being two undoable actions as maya saw it. This meant rewriting the FnProceduralHolder.create() function to avoid using the old MEL calls, and adding an FnDagNode.createShapeWithParent() method to facilitate that.

The behaviour of the ClassParameterHandler and ClassVectorParameterHandlers also needed changing to support the changes above. The doUpdate() methods used to be implemented to set the parameter contents based on the values held in maya - that was the mechanism for restoring the classes when loading a scene. That was flawed though as the whole point of the doUpdate call is to reflect changes in the parameters into maya, rather than go the other way. Reimplemented doUpdate() to do the right thing and added new doRestore() methods specifically for the purpose of restoring things following scene load. These new methods aren't virtual right now to maintain binary compatibility, but todos items are there to change that for the next major version.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3559 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoignoring locks in indexed mode. bumped patch version
andrewk.imageengine [Wed, 30 Jun 2010 21:25:57 +0000 (21:25 +0000)]
ignoring locks in indexed mode. bumped patch version

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3557 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agofixed bug in skin cluster converter and added tests to expose it. the behaviour to...
andrewk.imageengine [Wed, 30 Jun 2010 18:35:49 +0000 (18:35 +0000)]
fixed bug in skin cluster converter and added tests to expose it. the behaviour to throw an exception when an influence is missing may change in the future

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3556 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoTurning deprecation warnings into errors during tests.
john.imageengine [Wed, 30 Jun 2010 17:46:48 +0000 (17:46 +0000)]
Turning deprecation warnings into errors during tests.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3555 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding missing namespace.
john.imageengine [Tue, 29 Jun 2010 21:38:28 +0000 (21:38 +0000)]
Adding missing namespace.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3547 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoA test for the new shadePlane and shadePlaneToImage methods of the SXRenderer
tom.imageengine [Tue, 29 Jun 2010 20:56:13 +0000 (20:56 +0000)]
A test for the new shadePlane and shadePlaneToImage methods of the SXRenderer

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3546 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding the ability to shade a plane with the current renderer state. Effectively...
tom.imageengine [Tue, 29 Jun 2010 20:53:10 +0000 (20:53 +0000)]
Adding the ability to shade a plane with the current renderer state. Effectively calling shade() for a 1 unit x 1 unit grid, with resolutionX x resolutionY points. A convenience wrapper also allows this data to be un-interleaved into a standard RGBA float ImagePrimitive.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3545 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoReverting changes on options file. My mistake..
lucio.imageengine [Tue, 29 Jun 2010 17:34:58 +0000 (17:34 +0000)]
Reverting changes on options file. My mistake..

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3544 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFix for PRman reported by jeremypronk. Avoiding division by zero.
lucio.imageengine [Tue, 29 Jun 2010 17:30:33 +0000 (17:30 +0000)]
Fix for PRman reported by jeremypronk. Avoiding division by zero.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3543 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoshould hopefully now deal with spaces in names
tom.imageengine [Sat, 26 Jun 2010 01:28:14 +0000 (01:28 +0000)]
should hopefully now deal with spaces in names

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3541 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded todo
andrewk.imageengine [Fri, 25 Jun 2010 19:25:22 +0000 (19:25 +0000)]
added todo

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3539 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded locking mechanism to remove influence op. they only work in the 2 of 3 modes...
andrewk.imageengine [Fri, 25 Jun 2010 19:10:18 +0000 (19:10 +0000)]
added locking mechanism to remove influence op. they only work in the 2 of 3 modes that it makes sense for

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3538 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded a utility function to get a ParameterisedInterface * at the same time as retrie...
john.imageengine [Fri, 25 Jun 2010 18:48:25 +0000 (18:48 +0000)]
Added a utility function to get a ParameterisedInterface * at the same time as retrieving all the class information.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3537 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agomoved locking mechanism into the normalize op and added test to verify it is working...
andrewk.imageengine [Fri, 25 Jun 2010 18:30:55 +0000 (18:30 +0000)]
moved locking mechanism into the normalize op and added test to verify it is working. smooth op now uses the normalize op internally

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3536 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMaya python tests now correctly depend on maya python module.
john.imageengine [Fri, 25 Jun 2010 18:14:45 +0000 (18:14 +0000)]
Maya python tests now correctly depend on maya python module.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3535 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoremoved MeshPrimitiveSmoothSkinningOp from trunk, it is being replaced by the more...
carsten.kolve [Fri, 25 Jun 2010 04:15:47 +0000 (04:15 +0000)]
removed MeshPrimitiveSmoothSkinningOp from trunk, it is being replaced by the more genereric PointSmoothSkinningOp in trunk

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3534 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded PointSmoothSkinningOp, Op that deforms points and normals in a primitive based...
carsten.kolve [Fri, 25 Jun 2010 04:12:26 +0000 (04:12 +0000)]
added PointSmoothSkinningOp, Op that deforms points and normals in a primitive based on SmoothSkinningData and a deformation pose (it has the same effect than a SmoothBinding in Maya)

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3533 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded op to smooth SmoothSkinningData based on the weights from connected vertices...
andrewk.imageengine [Fri, 25 Jun 2010 01:38:58 +0000 (01:38 +0000)]
added op to smooth SmoothSkinningData based on the weights from connected vertices (provided my a MeshPrimitive)

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3530 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoChanges to IECoreHoudini. Tweaked UI again moving type/version/reload controls to...
danbethell [Fri, 25 Jun 2010 01:27:15 +0000 (01:27 +0000)]
Changes to IECoreHoudini. Tweaked UI again moving type/version/reload controls to the top of the interface leaving just the parameters pane below. The interface now caches parameter values (and expressions) between loads so if a parameter of the same name & type exists between procedural reloads or type/version switches the parameter value (or expression) will persist. Fixed a few bugs relating to the reloading of procedurals and reloading via the interface. Fixed a few issues when setting a procedural via the FnProceduralHolder python. Added support for Box2i, Box2f, Box2d, Box3i, Box3f and Box3d parameters. Added unit tests to exercise the new fixes/features. Moved a lot of general code from the SOP_ProceduralHolder up into the base SOP_ParameterisedHolder class in anticipation of supporting OpHolders in the future.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3529 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agousing parameter variable naming convention and runTimeCast rather than static_cast
andrewk.imageengine [Thu, 24 Jun 2010 19:01:42 +0000 (19:01 +0000)]
using parameter variable naming convention and runTimeCast rather than static_cast

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3528 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded op to mix 2 sets of SmoothSkinningData using linear interpolation. it can be...
andrewk.imageengine [Tue, 22 Jun 2010 23:57:37 +0000 (23:57 +0000)]
added op to mix 2 sets of SmoothSkinningData using linear interpolation. it can be used to mix weights, or if the mixing values are all 0 or 1 it can be used as a per-influence locking mechanism

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3527 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixed my recent muppetry.
john.imageengine [Tue, 22 Jun 2010 23:50:55 +0000 (23:50 +0000)]
Fixed my recent muppetry.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3526 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded support for BoolData and IntData parameters in SXRenderer - these are just...
john.imageengine [Tue, 22 Jun 2010 23:44:21 +0000 (23:44 +0000)]
Added support for BoolData and IntData parameters in SXRenderer - these are just promoted to float in the expected manner.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3525 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded op to clear the weights of certain smooth skinning influences. there are severa...
andrewk.imageengine [Tue, 22 Jun 2010 01:15:10 +0000 (01:15 +0000)]
added op to clear the weights of certain smooth skinning influences. there are several different modes that determine which values are cleared and there is an option to compress the result

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3522 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoBinding do python a couple of PointsPrimitive state components.
lucio.imageengine [Mon, 21 Jun 2010 22:04:42 +0000 (22:04 +0000)]
Binding do python a couple of PointsPrimitive state components.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3519 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded support for lights into the SXRenderer.
john.imageengine [Mon, 21 Jun 2010 21:48:33 +0000 (21:48 +0000)]
Added support for lights into the SXRenderer.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3518 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdds support for option boxes in menus, and links the enabled state of an items secon...
tom.imageengine [Mon, 21 Jun 2010 21:14:22 +0000 (21:14 +0000)]
Adds support for option boxes in menus, and links the enabled state of an items secondary command to the enable state of the main item.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3517 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoBumping
lucio.imageengine [Mon, 21 Jun 2010 19:11:22 +0000 (19:11 +0000)]
Bumping

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3516 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoStopping the really annoying building of docs by default.
john.imageengine [Mon, 21 Jun 2010 18:05:31 +0000 (18:05 +0000)]
Stopping the really annoying building of docs by default.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3514 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSupport for shader types other than surface in the SXRenderer. This is achieved by...
john.imageengine [Mon, 21 Jun 2010 18:04:10 +0000 (18:04 +0000)]
Support for shader types other than surface in the SXRenderer. This is achieved by having the SXExecutor execute an arbitrary series of shaders, and having the SXRenderer create such a series using displacement, surface, atmosphere and imager shaders. Also removed workaround for 3delight bug where coshaders would crash if they accessed a variable not used by the surface shader, and added code to explicitly set the variables that coshaders require.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3513 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded op to normalize the weights of SmoothSkinningData
andrewk.imageengine [Mon, 21 Jun 2010 17:50:31 +0000 (17:50 +0000)]
added op to normalize the weights of SmoothSkinningData

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3512 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding default constructor in Shader that creates a no-shader instance with the old...
lucio.imageengine [Mon, 21 Jun 2010 17:21:52 +0000 (17:21 +0000)]
Adding default constructor in Shader that creates a no-shader instance with the old open gl vertex and uniform parameters.
Using the default constructor on the constantShader() method for improved performance.
Detecting GL_SELECT mode and using the constantShader to draw the geometry improving performance.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3511 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded op to reorder the influences on SmoothSkinningData with bindings and tests
andrewk.imageengine [Sat, 19 Jun 2010 01:30:10 +0000 (01:30 +0000)]
added op to reorder the influences on SmoothSkinningData with bindings and tests

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3510 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoclaiming type ids for ops coming in the next week or so
andrewk.imageengine [Fri, 18 Jun 2010 23:47:01 +0000 (23:47 +0000)]
claiming type ids for ops coming in the next week or so

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3509 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded remove and index methods to ObjectVector binding, to make it more list like...
john.imageengine [Fri, 18 Jun 2010 23:31:08 +0000 (23:31 +0000)]
Added remove and index methods to ObjectVector binding, to make it more list like. Fixed crash caused by using special indices with delItem.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3508 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agodocs now get installed with the installDoc alias rather than the install alias. docs...
andrewk.imageengine [Fri, 18 Jun 2010 23:02:35 +0000 (23:02 +0000)]
docs now get installed with the installDoc alias rather than the install alias. docs automatically installed by config/ie/releaseAll

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3507 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoOnly enabling the SXRenderer test if we have it.
tom.imageengine [Fri, 18 Jun 2010 22:50:08 +0000 (22:50 +0000)]
Only enabling the SXRenderer test if we have it.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3506 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agousing SmoothSkinningDataParameter
andrewk.imageengine [Fri, 18 Jun 2010 21:05:39 +0000 (21:05 +0000)]
using SmoothSkinningDataParameter

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3505 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoBumping
tom.imageengine [Fri, 18 Jun 2010 20:53:32 +0000 (20:53 +0000)]
Bumping

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3504 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSupport for shading grid topologies in SXExecutor and SXRenderer. Also added test...
john.imageengine [Fri, 18 Jun 2010 19:59:09 +0000 (19:59 +0000)]
Support for shading grid topologies in SXExecutor and SXRenderer. Also added test cases for data of wrong type and size, and made SXExecutor methods const.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3503 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadding ops to compress and decompress SmoothSkinningData. bindings and tests included
andrewk.imageengine [Fri, 18 Jun 2010 18:57:30 +0000 (18:57 +0000)]
adding ops to compress and decompress SmoothSkinningData. bindings and tests included

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3502 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoPreventing negative refcount on python objects during conversion.
lucio.imageengine [Fri, 18 Jun 2010 18:36:52 +0000 (18:36 +0000)]
Preventing negative refcount on python objects during conversion.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3501 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSetting default texture searchpaths.
john.imageengine [Fri, 18 Jun 2010 17:31:40 +0000 (17:31 +0000)]
Setting default texture searchpaths.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3500 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSXRenderer now support coshaders, and SXExecutor now supports coshaders and lights...
john.imageengine [Thu, 17 Jun 2010 23:58:06 +0000 (23:58 +0000)]
SXRenderer now support coshaders, and SXExecutor now supports coshaders and lights. Still need to support displacement, volume etc - this will require further compatibility breaks.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3499 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agosetting ignore flags
andrewk.imageengine [Thu, 17 Jun 2010 22:42:08 +0000 (22:42 +0000)]
setting ignore flags

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3498 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded ToMayaSkinClusterConverter with bindings and tests
andrewk.imageengine [Thu, 17 Jun 2010 22:36:53 +0000 (22:36 +0000)]
added ToMayaSkinClusterConverter with bindings and tests

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3497 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixed SX classes to work with 3delight 9.0.36 and beyond. Currently not working in...
john.imageengine [Thu, 17 Jun 2010 22:21:16 +0000 (22:21 +0000)]
Fixed SX classes to work with 3delight 9.0.36 and beyond. Currently not working in 3delight 9.0.43 but at this time I believe this is due to a 3delight bug. Please note that there will be further compatibilty breaks in SXExecutor to support coshaders and displacements etc.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3496 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded todo to use a parameter rather than testing for 0.0
andrewk.imageengine [Thu, 17 Jun 2010 22:18:59 +0000 (22:18 +0000)]
added todo to use a parameter rather than testing for 0.0

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3495 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded bindings for barycentricRand
andrewk.imageengine [Thu, 17 Jun 2010 18:26:58 +0000 (18:26 +0000)]
added bindings for barycentricRand

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3494 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixes crash caused by not maintaining ownership of copied object.
john.imageengine [Thu, 17 Jun 2010 16:20:41 +0000 (16:20 +0000)]
Fixes crash caused by not maintaining ownership of copied object.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3493 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded additional documentation to SmoothSkinningData
carsten.kolve [Thu, 17 Jun 2010 07:36:33 +0000 (07:36 +0000)]
added additional documentation to SmoothSkinningData

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3492 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMore dictionary style methods for SubstitutedDict.
john.imageengine [Wed, 16 Jun 2010 23:16:38 +0000 (23:16 +0000)]
More dictionary style methods for SubstitutedDict.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3491 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixed warning which occurred with some versions of the nvidia drivers - assignment...
john.imageengine [Wed, 16 Jun 2010 00:23:47 +0000 (00:23 +0000)]
Fixed warning which occurred with some versions of the nvidia drivers - assignment back to an input wasn't allowed.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3490 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSaving/loading in "linear" colorspace whenever tiff has 32-bit floating channels.
lucio.imageengine [Tue, 15 Jun 2010 23:14:52 +0000 (23:14 +0000)]
Saving/loading in "linear" colorspace whenever tiff has 32-bit floating channels.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3489 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agofixing indentation
andrewk.imageengine [Tue, 15 Jun 2010 18:36:57 +0000 (18:36 +0000)]
fixing indentation

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3488 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSwapping buttons over to match Maya. A kw arg allows old/normal behaviour.
tom.imageengine [Tue, 15 Jun 2010 17:08:28 +0000 (17:08 +0000)]
Swapping buttons over to match Maya. A kw arg allows old/normal behaviour.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3487 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixing memory leak and crash.
john.imageengine [Tue, 15 Jun 2010 00:59:52 +0000 (00:59 +0000)]
Fixing memory leak and crash.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3486 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding todo.
lucio.imageengine [Tue, 15 Jun 2010 00:26:37 +0000 (00:26 +0000)]
Adding todo.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3485 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoBugfix - calling callbacks with a parameter of None was bad as they expect a valid...
john.imageengine [Mon, 14 Jun 2010 23:48:09 +0000 (23:48 +0000)]
Bugfix - calling callbacks with a parameter of None was bad as they expect a valid parameter. Also added a todo for a potentially better solution.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3483 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoBumping the minor version.
tom.imageengine [Mon, 14 Jun 2010 21:11:21 +0000 (21:11 +0000)]
Bumping the minor version.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3482 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded parameter menus to allow the easy manipulation of ieGeometryCombiner nodes...
john.imageengine [Mon, 14 Jun 2010 19:59:25 +0000 (19:59 +0000)]
Added parameter menus to allow the easy manipulation of ieGeometryCombiner nodes on the inputs to parameters. These are activated using a piece of user data which can be added to parameters wanting the menu.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3481 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSetting initial value for the result variable.
lucio.imageengine [Mon, 14 Jun 2010 19:03:53 +0000 (19:03 +0000)]
Setting initial value for the result variable.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3480 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAvoids an error, when trying to retrieve the plugParameter after an Undo.
tom.imageengine [Mon, 14 Jun 2010 18:33:23 +0000 (18:33 +0000)]
Avoids an error, when trying to retrieve the plugParameter after an Undo.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3479 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMaking sure this updates properly now.
tom.imageengine [Mon, 14 Jun 2010 17:40:23 +0000 (17:40 +0000)]
Making sure this updates properly now.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3478 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoNot using automatic interToUI conversion for layer menus either - so custom menus...
john.imageengine [Mon, 14 Jun 2010 17:33:36 +0000 (17:33 +0000)]
Not using automatic interToUI conversion for layer menus either - so custom menus can have the formatting they want.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3477 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoNot automatically using interToUI on menu labels, so that custom menu items created...
john.imageengine [Mon, 14 Jun 2010 17:25:01 +0000 (17:25 +0000)]
Not automatically using interToUI on menu labels, so that custom menu items created by the callbacks can have whatever formatting they want.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3476 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixed typo.
john.imageengine [Mon, 14 Jun 2010 16:58:45 +0000 (16:58 +0000)]
Fixed typo.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3475 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMinor optimisation.
tom.imageengine [Fri, 11 Jun 2010 23:41:18 +0000 (23:41 +0000)]
Minor optimisation.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3474 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixes an error if un-drawn dynamic attributes of a type not supported by attrControlG...
tom.imageengine [Fri, 11 Jun 2010 23:36:34 +0000 (23:36 +0000)]
Fixes an error if un-drawn dynamic attributes of a type not supported by attrControlGrp are present on the node.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3473 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoMenu for adding classes can now be customised using callbacks.
john.imageengine [Fri, 11 Jun 2010 21:55:12 +0000 (21:55 +0000)]
Menu for adding classes can now be customised using callbacks.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3472 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoSwitching standard file/folder based parameters over to the new FileDialog class...
tom.imageengine [Fri, 11 Jun 2010 18:08:09 +0000 (18:08 +0000)]
Switching standard file/folder based parameters over to the new FileDialog class, and deprecating PathParameterUI.openDialog(). Any existing classes that make use of this should still work, but with a deprecation warning. It's advised to move to the new method where possible. If no additional functionality is required, after a suitable period, openDialog will be removed, and the default button behaviour will move to the new method, so no changes are needed.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3471 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding a 'recent' hint above history items.
tom.imageengine [Fri, 11 Jun 2010 16:16:50 +0000 (16:16 +0000)]
Adding a 'recent' hint above history items.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3470 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAn initial version of an alternative to maya.cmds.fileDialog. Non-modal, but with...
tom.imageengine [Fri, 11 Jun 2010 00:48:15 +0000 (00:48 +0000)]
An initial version of an alternative to maya.cmds.fileDialog. Non-modal, but with scope for item filtering, validation, etc...

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3468 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded support for StringParameters in ClassVectorParameterUI headers. Also found...
john.imageengine [Fri, 11 Jun 2010 00:32:40 +0000 (00:32 +0000)]
Added support for StringParameters in ClassVectorParameterUI headers. Also found some magic numbers to make the colour swatch headers a bit more presentable.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3467 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoDoing it in a way, that actually works...
tom.imageengine [Thu, 10 Jun 2010 23:52:17 +0000 (23:52 +0000)]
Doing it in a way, that actually works...

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3466 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixes errors in maya -batch trying to create a callback for non-existent UI.
tom.imageengine [Thu, 10 Jun 2010 23:36:26 +0000 (23:36 +0000)]
Fixes errors in maya -batch trying to create a callback for non-existent UI.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3465 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded an items() method to the CompoundObject bindings, to make it more dictlike.
john.imageengine [Thu, 10 Jun 2010 23:34:57 +0000 (23:34 +0000)]
Added an items() method to the CompoundObject bindings, to make it more dictlike.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3464 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agofixing test to account for new test op
andrewk.imageengine [Thu, 10 Jun 2010 22:56:13 +0000 (22:56 +0000)]
fixing test to account for new test op

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3463 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoParameterParser now automatically supports new derived Parameter types by using parse...
john.imageengine [Thu, 10 Jun 2010 18:05:50 +0000 (18:05 +0000)]
ParameterParser now automatically supports new derived Parameter types by using parsers and serialisers registered for base classes.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3462 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixed typo.
john.imageengine [Thu, 10 Jun 2010 17:24:50 +0000 (17:24 +0000)]
Fixed typo.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3461 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agocorrecting copyright
andrewk.imageengine [Thu, 10 Jun 2010 01:27:10 +0000 (01:27 +0000)]
correcting copyright

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3460 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agofixing testObjectMFnDataParameterIOProblem
andrewk.imageengine [Thu, 10 Jun 2010 01:24:45 +0000 (01:24 +0000)]
fixing testObjectMFnDataParameterIOProblem

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3459 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixed a case where listing "/" failed.
tom.imageengine [Wed, 9 Jun 2010 19:29:30 +0000 (19:29 +0000)]
Fixed a case where listing "/" failed.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3458 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoBumping minor version.
john.imageengine [Wed, 9 Jun 2010 16:50:33 +0000 (16:50 +0000)]
Bumping minor version.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3456 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoFixing an issue where the .extensions attribute wouldn't be available for parameters...
tom.imageengine [Wed, 9 Jun 2010 16:28:46 +0000 (16:28 +0000)]
Fixing an issue where the .extensions attribute wouldn't be available for parameters created in c++.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3455 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoPrinting out the missing typeId, to make it easier to find.
tom.imageengine [Wed, 9 Jun 2010 16:27:59 +0000 (16:27 +0000)]
Printing out the missing typeId, to make it easier to find.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3454 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding SmoothSkinningDataParameterTypeId
tom.imageengine [Wed, 9 Jun 2010 16:26:40 +0000 (16:26 +0000)]
Adding SmoothSkinningDataParameterTypeId

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3453 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoStringParameterUI, added support for "with" statement for use with older pre 2.6...
carsten.kolve [Wed, 9 Jun 2010 06:29:30 +0000 (06:29 +0000)]
StringParameterUI, added support for "with" statement for use with older pre 2.6 versions of python

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3452 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdded hooks so external code can make modifications to the menus for the ClassParamet...
john.imageengine [Tue, 8 Jun 2010 22:53:31 +0000 (22:53 +0000)]
Added hooks so external code can make modifications to the menus for the ClassParameterUI and ClassVectorParameterUI.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3451 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agocleaned up, corrected SmoothSkinningDataTest
carsten.kolve [Tue, 8 Jun 2010 22:18:30 +0000 (22:18 +0000)]
cleaned up, corrected SmoothSkinningDataTest

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3450 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agocleanedup, fixed bug in FromMayaSkinClusterConverterTest
carsten.kolve [Tue, 8 Jun 2010 21:58:49 +0000 (21:58 +0000)]
cleanedup, fixed bug in FromMayaSkinClusterConverterTest

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3449 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadding attribute to toggle drawing on DrawableHolders
andrewk.imageengine [Tue, 8 Jun 2010 21:22:45 +0000 (21:22 +0000)]
adding attribute to toggle drawing on DrawableHolders

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3448 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agousing DummyDataId to fool maya into maintaining generic attributes for ObjectMFnDataP...
andrewk.imageengine [Tue, 8 Jun 2010 20:03:28 +0000 (20:03 +0000)]
using DummyDataId to fool maya into maintaining generic attributes for ObjectMFnDataParameter and adding test to show that this works

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3447 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadding missing type id bindings
andrewk.imageengine [Tue, 8 Jun 2010 20:01:15 +0000 (20:01 +0000)]
adding missing type id bindings

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3446 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoParameterUI popup menu improvements. Derived classes can now add to menus by reimplem...
john.imageengine [Tue, 8 Jun 2010 17:39:38 +0000 (17:39 +0000)]
ParameterUI popup menu improvements. Derived classes can now add to menus by reimplementing _popupMenuDefinition, and menus are defined using IECore.MenuDefinition for ease of editing. Can also register external callbacks to modify the same menu from other code. Took advantage of this to add some ui niceties to the StringParameterUI based on parameter userData. Updated GenericParameterUI to deal with privatisation of ParameterUI methods which should have been private before anyway.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3445 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoAdding copy constructor do CacherReader and preventing mutex duplication.
lucio.imageengine [Tue, 8 Jun 2010 16:30:47 +0000 (16:30 +0000)]
Adding copy constructor do CacherReader and preventing mutex duplication.

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3444 07b78fde-9e1a-0410-98de-79dcf2039bee

8 years agoadded FromMayaSkinClusterConverter + testcases
carsten.kolve [Tue, 8 Jun 2010 07:48:25 +0000 (07:48 +0000)]
added FromMayaSkinClusterConverter + testcases

git-svn-id: http://cortex-vfx.googlecode.com/svn/trunk@3443 07b78fde-9e1a-0410-98de-79dcf2039bee