Commit 0002e89a00c79233e3050c6b48a71ac0fc723df7

Authored by Nikita Kulshreshtha
1 parent 8b9d3839

added comment

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -646,19 +646,14 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
646 646  
647 647 if (bodyRegion == bodyRegionId && bodyRegionSkinTone == $scope.skinTone) {
648 648  
649   - //if ($scope.voId == 12) {
650   - // return "content/images/DA/BodyViews/10/layers/" + $scope.layerNumber + "/" + bodyRegionId + "/" + $scope.skinTone + "/" + SelectedLayerData.BodyRegion[z].Image._ImageName;
651   - //}
652   - //else
653   - //{
654 649 return "content/images/DA/BodyViews/" + $scope.voId + "/layers/" + $scope.layerNumber + "/" + bodyRegionId + "/" + $scope.skinTone + "/" + SelectedLayerData.BodyRegion[z].Image._ImageName;
655   - // }
656 650 }
657 651 }
658 652 }
659 653  
660 654 else {
661   - // debugger;
  655 + // debugger;
  656 + //below 4 bodyviews have only single body region
662 657 if ($scope.voId == 9 || $scope.voId == 11 || $scope.voId == 10 || $scope.voId == 12)
663 658 {
664 659 var bodyRegion = SelectedLayerData.BodyRegion._BodyRegionId;
... ...