Tuesday, 21 February 2012

Done the changes

And surprisingly it doesn't seem to have had any adverse effects on the weighting of the rig as far as I can tell. Take a look and see if there are any problems. Also the renderview error appeared when i opened it, haven't seen that in a long time but it reminded me that you were having that problem before in labs. In case you don't have the fix for it, when you open the scene that won't render just copy and paste this code into the mel script window and press play. Fixes the problem everytime for me.


$exists=0;
 for ($item in `getPanel -scriptType "renderWindowPanel"`) {
  if ( $item == "renderView" ) {
  print "renderView exists.\n";
  $exists=1;
  }
 }
 if ( $exists == 0 ) {
  for ($item in `getPanel -scriptType "renderWindowPanel"`) {
  //print ( $item + "\n");
  if ( $item == "renderWindowPanel1" ) {
  //delete it and rename it to something that renderman can use
  print "renderWindowPanel1 detected: switching to renderView so renderman can use it...\n";
  deleteUI renderWindowPanel1;
  $renderPanel = `scriptedPanel -type "renderWindowPanel" -unParent renderView`;
  scriptedPanel -e -label `interToUI $renderPanel` $renderPanel;
  }
  }
 }

And here is the file

http://dl.dropbox.com/u/55740930/WifeFinalRig.mb

1 comment:

  1. I need this as an obj or psd file with the outline of the maps, can't start fixing it until I have this.

    ReplyDelete