Added a to-do.

This commit is contained in:
Jorge Vásquez Pérez
2019-02-05 17:59:43 -08:00
parent 38f087dce4
commit 30a69f02a5
+2 -1
View File
@@ -129,7 +129,8 @@ function YPuppetRigTool()
if(puppetEffects.length>0){ if(puppetEffects.length>0){
posPins = []; posPins = [];
for(i=0;i<puppetEffects.length;i++){ for(i=0;i<puppetEffects.length;i++){
posPinGroup = puppetEffects[i]('ADBE FreePin3 ARAP Group')('ADBE FreePin3 Mesh Group')('ADBE FreePin3 Mesh Atom')('ADBE FreePin3 PosPins'); /*TODO : Make it work with layers with multiple effects*/
posPinGroup = puppetEffects[i]('ADBE FreePin3 ARAP Group')('ADBE FreePin3 Mesh Group')('ADBE FreePin3 Mesh Atom')('ADBE FreePin3 PosPins');
for(j=1;j<=posPinGroup.numProperties;j++){ for(j=1;j<=posPinGroup.numProperties;j++){
posPins.push(puppetEffects[i]('ADBE FreePin3 ARAP Group')('ADBE FreePin3 Mesh Group')('ADBE FreePin3 Mesh Atom')('ADBE FreePin3 PosPins')(j)); posPins.push(puppetEffects[i]('ADBE FreePin3 ARAP Group')('ADBE FreePin3 Mesh Group')('ADBE FreePin3 Mesh Atom')('ADBE FreePin3 PosPins')(j));
} }