Commit 1c3279292f8d289fa68b41774d96d390b0ae4907
1 parent
51b63df6
removed commented code
Showing
1 changed file
with
0 additions
and
9 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -4729,7 +4729,6 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
4729 | 4729 | var tranparencyImgSrc; |
4730 | 4730 | var tranparencyMaskImgSrc; |
4731 | 4731 | |
4732 | - //if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { | |
4733 | 4732 | if ((bodyRegionId.match('modestyImg'))) { |
4734 | 4733 | var modestyBodyRegionData = new jinqJs() |
4735 | 4734 | .from($scope.modestyImageInfo) |
... | ... | @@ -4780,7 +4779,6 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
4780 | 4779 | transparencyTempcanavsMask.id = 'transparencyTempCanvasMask_MR' + bodyRegionId + '_mci'; |
4781 | 4780 | } |
4782 | 4781 | else { |
4783 | - //if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { | |
4784 | 4782 | if ((bodyRegionId.match('modestyImg'))) { |
4785 | 4783 | |
4786 | 4784 | transparencyTempCanvas.id = 'transparencyTempCanvas_' + bodyRegionId; |
... | ... | @@ -4803,7 +4801,6 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
4803 | 4801 | document.getElementById('canvasDiv').appendChild(transparencyTempCanvas); |
4804 | 4802 | |
4805 | 4803 | //create temp mask canvas |
4806 | - //if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { } | |
4807 | 4804 | if ((bodyRegionId.match('modestyImg'))) { } |
4808 | 4805 | |
4809 | 4806 | else { |
... | ... | @@ -4818,7 +4815,6 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
4818 | 4815 | } |
4819 | 4816 | |
4820 | 4817 | //for modesty canvas |
4821 | - //if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { | |
4822 | 4818 | if ((bodyRegionId.match('modestyImg'))) { |
4823 | 4819 | |
4824 | 4820 | var modestyTransTempCanvasId = 'tempCanvasModesty_' + bodyRegionId; |
... | ... | @@ -4882,7 +4878,6 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
4882 | 4878 | tempCanvasID = 'transparencyTempCanvas_MR_' + bodyRegionId; |
4883 | 4879 | } |
4884 | 4880 | else { |
4885 | - //if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { | |
4886 | 4881 | if ((bodyRegionId.match('modestyImg'))) { |
4887 | 4882 | |
4888 | 4883 | tempCanvasID = 'transparencyTempCanvas_' + bodyRegionId;//bodyRegionId; |
... | ... | @@ -4925,7 +4920,6 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
4925 | 4920 | if ($rootScope.isHighLight != true) { |
4926 | 4921 | |
4927 | 4922 | |
4928 | - // if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { | |
4929 | 4923 | if ((bodyRegionId.match('modestyImg'))) { |
4930 | 4924 | |
4931 | 4925 | var modestyTempCanvasId = 'tempCanvasModesty_' + bodyRegionId; |
... | ... | @@ -4982,7 +4976,6 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
4982 | 4976 | } |
4983 | 4977 | |
4984 | 4978 | //set modesty image visiblility true/false as per layer |
4985 | - // if(bodyRegionId.match('modestyImg3')) | |
4986 | 4979 | var BRID = ''; |
4987 | 4980 | if (bodyRegionId.match('modestyImg') && document.getElementById('modestyTransCanavs_' + bodyRegionId) != null) { |
4988 | 4981 | BRID = bodyRegionId[bodyRegionId.length - 1]; |
... | ... | @@ -5267,7 +5260,6 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
5267 | 5260 | |
5268 | 5261 | |
5269 | 5262 | var ctx; |
5270 | - //if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { | |
5271 | 5263 | if ((bodyRegionId.match('modestyImg'))) { |
5272 | 5264 | |
5273 | 5265 | var modestyTransCanvasId = 'modestyTransCanavs_' + bodyRegionId |
... | ... | @@ -5280,7 +5272,6 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l |
5280 | 5272 | ctx.drawImage(tmpCanvasContext, XforCopyImage, YforCopyImage, WidthforCopyImage, HeightforCopyImage, XforTransImage, YforTransImage, WidthforTransImage, HeightforTransImage) |
5281 | 5273 | |
5282 | 5274 | |
5283 | - // if ($rootScope.isModestyOn == true && (bodyRegionId.match('modestyImg'))) { | |
5284 | 5275 | if ((bodyRegionId.match('modestyImg'))) { |
5285 | 5276 | |
5286 | 5277 | var imageD1 = ctx.getImageData(0, 0, Width, Height); | ... | ... |