Skip to content

Commit 9de7136

Browse files
authored
[Object Slicer] [Reviewed] [Update] Fix bug in parameter name for condition to delete object (#959)
Fix bug in parameter name for condition to delete object
1 parent 58e4be8 commit 9de7136

File tree

1 file changed

+13
-25
lines changed

1 file changed

+13
-25
lines changed

extensions/reviewed/ObjectSlicer.json

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@
5454
"textG": 0,
5555
"textR": 0
5656
},
57-
"comment": "Calculate dimensions of small objects",
58-
"comment2": ""
57+
"comment": "Calculate dimensions of small objects"
5958
},
6059
{
6160
"type": "BuiltinCommonInstructions::Standard",
@@ -93,8 +92,7 @@
9392
"textG": 0,
9493
"textR": 0
9594
},
96-
"comment": "Record the top left corner of sprite",
97-
"comment2": ""
95+
"comment": "Record the top left corner of sprite"
9896
},
9997
{
10098
"type": "BuiltinCommonInstructions::Standard",
@@ -132,8 +130,7 @@
132130
"textG": 0,
133131
"textR": 0
134132
},
135-
"comment": "Scan sprite from top to bottom",
136-
"comment2": ""
133+
"comment": "Scan sprite from top to bottom"
137134
},
138135
{
139136
"type": "BuiltinCommonInstructions::Standard",
@@ -179,8 +176,7 @@
179176
"textG": 0,
180177
"textR": 0
181178
},
182-
"comment": "Search left to right",
183-
"comment2": ""
179+
"comment": "Search left to right"
184180
},
185181
{
186182
"infiniteLoopWarning": true,
@@ -210,8 +206,7 @@
210206
"textG": 0,
211207
"textR": 0
212208
},
213-
"comment": " Record the center of Fragment (used to check if it would be inside the collision mask)",
214-
"comment2": ""
209+
"comment": " Record the center of Fragment (used to check if it would be inside the collision mask)"
215210
},
216211
{
217212
"type": "BuiltinCommonInstructions::Standard",
@@ -249,8 +244,7 @@
249244
"textG": 0,
250245
"textR": 0
251246
},
252-
"comment": "Only create objects when their center would be inside the collison mask of the object",
253-
"comment2": ""
247+
"comment": "Only create objects when their center would be inside the collison mask of the object"
254248
},
255249
{
256250
"type": "BuiltinCommonInstructions::Standard",
@@ -317,8 +311,7 @@
317311
"textG": 0,
318312
"textR": 0
319313
},
320-
"comment": "Adjust the size of the new object",
321-
"comment2": ""
314+
"comment": "Adjust the size of the new object"
322315
},
323316
{
324317
"type": "BuiltinCommonInstructions::Standard",
@@ -356,8 +349,7 @@
356349
"textG": 0,
357350
"textR": 0
358351
},
359-
"comment": "Set position based on center of piece (in case the origin has been moved)",
360-
"comment2": ""
352+
"comment": "Set position based on center of piece (in case the origin has been moved)"
361353
},
362354
{
363355
"type": "BuiltinCommonInstructions::Standard",
@@ -387,8 +379,7 @@
387379
"textG": 0,
388380
"textR": 0
389381
},
390-
"comment": "Match the color of the pixel that is in the center of the new Fragment",
391-
"comment2": ""
382+
"comment": "Match the color of the pixel that is in the center of the new Fragment"
392383
},
393384
{
394385
"type": "BuiltinCommonInstructions::Standard",
@@ -472,8 +463,7 @@
472463
"textG": 0,
473464
"textR": 0
474465
},
475-
"comment": "Search to the right",
476-
"comment2": ""
466+
"comment": "Search to the right"
477467
},
478468
{
479469
"type": "BuiltinCommonInstructions::Standard",
@@ -503,8 +493,7 @@
503493
"textG": 0,
504494
"textR": 0
505495
},
506-
"comment": "Search down and start over on the left side",
507-
"comment2": ""
496+
"comment": "Search down and start over on the left side"
508497
},
509498
{
510499
"type": "BuiltinCommonInstructions::Standard",
@@ -544,8 +533,7 @@
544533
"textG": 0,
545534
"textR": 0
546535
},
547-
"comment": "Delete object if desired",
548-
"comment2": ""
536+
"comment": "Delete object if desired"
549537
},
550538
{
551539
"type": "BuiltinCommonInstructions::Standard",
@@ -555,7 +543,7 @@
555543
"value": "GetArgumentAsBoolean"
556544
},
557545
"parameters": [
558-
"GetArgumentAsString(\"DeleteObject\")"
546+
"\"DeleteObject\""
559547
]
560548
}
561549
],

0 commit comments

Comments
 (0)