{"id":5636,"date":"2020-01-22T08:36:59","date_gmt":"2020-01-22T08:36:59","guid":{"rendered":"https:\/\/avastar.machinimatrix.org\/280\/?page_id=5636"},"modified":"2022-07-12T21:23:21","modified_gmt":"2022-07-12T21:23:21","slug":"cleanup-your-rig","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/300\/reference\/usermanual\/advanced\/cleanup-your-rig\/","title":{"rendered":"Cleanup your Rig"},"content":{"rendered":"<h1><image src=\"\/avastar\/300\/wp-content\/uploads\/2022\/03\/approve_logo_300.png\" style=\"width:120px;vertical-align:middle;margin-left:0px;margin-right:10px;\"><\/image> Cleanup your Rig<\/h1>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>When you open a Blend file that was made with an older version of Avastar, then you often get a warning note about Rig Version Mismatch. This indicates that the rig has an outdated setup and needs treatment.<\/p>\n<p>If your Rig has been setup in a clean way, then all you need to do is to open the Rig Inspector panel, then Migrate your rig. basically this is a 2 click task.<\/p>\n<p>This document is for when your rig was not setup in a clean way and the easy migration does not work as expected. Here you learn step by step how to fix your issues.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image821.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-5639\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image821.png\" alt=\"\" width=\"409\" height=\"293\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image821.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image821-300x215.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h3>Initial Step: Enable All Features<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Please enable All Avastar Features even when it appears to already been enabled. You might notice a couple of extra buttons in various Panels.<\/p>\n<p>Please consider to switch back to Basic features once you are done with cleaning up your Rig.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-44365\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-822.png\" alt=\"\" width=\"409\" height=\"471\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-822.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-822-261x300.png 261w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/p>\n<\/div>\n<\/div>\n<h3>Preparation: Select the Armature in Object mode<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<ul>\n<li>Make sure only the Armature is selected!<\/li>\n<li>Make sure the Armature is in Object mode<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image823.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-5642\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image823.png\" alt=\"\" width=\"409\" height=\"293\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image823.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image823-300x215.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h3>Adjust the Armature location<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>It is strongly recommended to have the Armature at the center of the scene. Although the armature can be anywhere in the scene it makes your life much easier to move it to &lt;0,0,0&gt; (Center of the scene) in Object mode<\/p>\n<p>In the image you see the armature has got a very small offset. This could have been a mistake or a left over from some very early version of Avastar. in this case you would just move the armature Z to 0 (see image).<\/p>\n<\/div>\n<div class=\"rhcol span5\"><img decoding=\"async\" class=\"alignleft size-full wp-image-44366\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-824.png\" alt=\"\" width=\"409\" height=\"339\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-824.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-824-300x249.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>While this is normally not an issue for Avastar, we still recommend to keep the pivots of all bound meshes at the same location as the Armature. So you need to check the bound meshes as well:<\/p>\n<ul>\n<li>Select all Meshes which are bound to the Armature<\/li>\n<li>Then Object -&gt; Apply &#8211; &gt;Location<\/li>\n<\/ul>\n<p>This step will move all mesh pivots to the center of the scene.<\/p>\n<p><strong><span style=\"color: #3366ff;\">Tip<\/span><\/strong>: If you are in doubt about how to select all meshes, then you can Apply location separately for each mesh and for the Armature.<\/p>\n<\/div>\n<div class=\"rhcol span5\"><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image824.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-5643\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image824.png\" alt=\"\" width=\"409\" height=\"293\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image824.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image824-300x215.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/a><\/div>\n<\/div>\n<p><strong><span style=\"color: #ff6600;\">Important:<\/span> <\/strong>If you keep the locations at arbitrary values, then older versions of Avastar sometimes let the meshes jump to unexpected positions. So, please double check that the Location of all meshes and the Armature are at the Scene Origin.<\/p>\n<h3>Remove joint offsets<\/h3>\n<p>This is a somewhat radical action, but it might help with broken joint edit data. However normally this action does no real harm to your model when done correctly. You do this in Armature edit mode, but please take care:<\/p>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<ul>\n<li>Make sure that only the Armature is selected!<\/li>\n<li>Now move to Edit mode<\/li>\n<\/ul>\n<p><strong><span style=\"color: #3366ff;\">Note:<\/span><\/strong> It does not matter which bones you currently see. You only must be sure to have the armature in edit mode.<\/p>\n<\/div>\n<div class=\"rhcol span5\"><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image825.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-5644\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image825.png\" alt=\"\" width=\"409\" height=\"293\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image825.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/01\/Image825-300x215.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/a><\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<ul>\n<li>Open the Avastar Posing Panel<\/li>\n<li>Locate the Button &#8220;Remove Joint Edits&#8221;<\/li>\n<li><strong><span style=\"color: #800080;\">Make sure the adjacent snowflake icon is enabled<\/span><\/strong><\/li>\n<li>Then click on the button<\/li>\n<\/ul>\n<p>If the <em>Remove Joint edits<\/em> button does not appear, then:<\/p>\n<ul>\n<li>you have not enabled all features (See Workflow panel)<\/li>\n<li>or you are not not in Armature edit mode<\/li>\n<li>or you have disabled the Shape Sliders (See Avatar Shape Panel)<\/li>\n<\/ul>\n<p><span style=\"color: #3366ff;\"><strong>Note:<\/strong><\/span> If you forget to enable the snow flake icon, then your rig will return to the SL Default rig. You do not want that!<\/p>\n<\/div>\n<div class=\"rhcol span5\"><img decoding=\"async\" class=\"alignleft wp-image-44367 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-826.png\" alt=\"\" width=\"409\" height=\"438\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-826.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-826-280x300.png 280w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/div>\n<\/div>\n<h3>Rig inspection<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>In the Armature Info section you can see what Avastar found out about your Rig. However you can ignore this for now. Please scroll down until you get to the &#8230;<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img decoding=\"async\" class=\"alignleft wp-image-44371 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-827.png\" alt=\"\" width=\"409\" height=\"376\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-827.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-827-300x276.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/p>\n<\/div>\n<\/div>\n<h3>Set the alignment Options<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>If you see no Alignment options, then do not worry, then your rig has no alignment issues. You can advance to the next step below. Otherwise&#8230;<\/p>\n<ul>\n<li>Make sure the alignment option Origin is set to &#8216;Armature&#8217; (see below)<\/li>\n<li>Then click the double arrow<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span5\"><img decoding=\"async\" class=\"alignleft wp-image-44372 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-828.png\" alt=\"\" width=\"409\" height=\"389\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-828.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-828-300x285.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/div>\n<\/div>\n<p><strong><span style=\"color: #3366ff;\">Note:<\/span> <\/strong>We want that the root bone and the Armature Origin are at the same location. It is your decision if you want to move the Armature Origin to the root bone or the root bone to the Armature Origin.<\/p>\n<h3>Update the Rig<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<ul>\n<li>Scroll down to the Update tool<\/li>\n<li>Double check that <span style=\"color: #ff6600;\"><em>Keep Joint Edits<\/em><\/span> is enabled<span style=\"color: #ff6600;\">(1)<\/span>. This option tells Avastar to recreate the previously removed Joint Edits (see further up)<\/li>\n<li>Keep all other settings at their defaults (see below)<\/li>\n<li>Click Update Rig<\/li>\n<\/ul>\n<p><strong><span style=\"color: #ff6600;\">(1): Important<\/span><\/strong> If you do not see the <span style=\"color: #ff6600;\"><em>Check for Joint Edits<\/em><\/span> Option, then you have not removed the joint offsets in the previous step. In that case you must go back further up and make sure you have removed the joint offsets before you get back here and proceed!<\/p>\n<p>If your rig jumps you have not aligned the Origin to the root bone, or you have not applied location to the rig or the meshes.<\/p>\n<p>If your rig is OK but your meshes jump around, then revert the step (CTRL-Z) and enable the snowflake icon (see image) and try again.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><img decoding=\"async\" class=\"alignleft wp-image-44374 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-829.png\" alt=\"\" width=\"409\" height=\"511\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-829.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-829-240x300.png 240w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/p>\n<\/div>\n<\/div>\n<p><span style=\"color: #3366ff;\"><strong>Tip<\/strong><\/span>: Sometimes you must disable the Option <em>Apply Rot&amp;Scale<\/em> to get the Rig upgraded correctly. In general you may need to try a few settings to get this step done. If you see no apparent issues after pressing the Upgrade button, then please move on and test if the sliders still work (Avatar Shape panel).<\/p>\n<h3>Test your upgrade Rig in Pose mode<\/h3>\n<p>There is nothing more to say here. Just Test it. If it works then all is well. If it does not work, then check if you made a mistake in one of the steps above.<\/p>\n<p><strong><span style=\"color: #3366ff;\">Tip<\/span><\/strong>: If you have animations for your model, then also try to run them and see if the rig plays well.<\/p>\n<h3>A note about updating the Hand rig<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>You may notice that the hand structure bone heads get moved to odd places after upgrading your rig. This is so because the hand structure has changed significantly. You may need to edit the bone locations once you have upgraded the rig.<\/p>\n<p>Please take a look at the Default Avastar Skeleton to see how we changed the rig in that area. You possibly may want to adjust your rig similar to how we have set up our Hand rig.<\/p>\n<\/div>\n<div class=\"rhcol span5\"><img decoding=\"async\" class=\"alignleft wp-image-44375 size-full\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-830.png\" alt=\"\" width=\"409\" height=\"273\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-830.png 409w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2022\/07\/Image-300-830-300x200.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/div>\n<\/div>\n<h3>A note about missing bones<\/h3>\n<p>Sometimes bones might have been removed from the original rig. this might have been done on purpose or unintentionally. However, Avastar currently recreates all bones when migrating a Rig to a newer version. Since there is no initial information about where missing bones are located, Avastar can also not predict where to place them. So it moves them to their original locations.<\/p>\n<p>Hence you must take cleanup actions and either<\/p>\n<ul>\n<li>remove the bones again<\/li>\n<li>or place them to correct locations<\/li>\n<li>or just hide and ignore them<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Cleanup your Rig When you open a Blend file that was made with an older version of Avastar, then you often get a warning note about Rig Version Mismatch. This indicates that the rig has an outdated setup and needs treatment. If your Rig has been setup in a clean way, then all you need [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5639,"parent":3922,"menu_order":120,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-5636","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/5636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/comments?post=5636"}],"version-history":[{"count":7,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/5636\/revisions"}],"predecessor-version":[{"id":44378,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/5636\/revisions\/44378"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/3922"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/media\/5639"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/media?parent=5636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/categories?post=5636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/tags?post=5636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}