You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
: `A valid \`brush_position\` is required for the "${brush_kind}" brush (or use the "none" brush to modify existing instances without moving them).`
3498
3498
);
3499
3499
}
3500
+
// The "none" brush never applies a position: fail instead of silently
3501
+
// ignoring it, so the caller switches to a placement brush to move.
3502
+
if(brush_kind==='none'&&parsedBrushPosition){
3503
+
returnmakeGenericFailure(
3504
+
'The "none" brush never moves instances: remove `brush_position`, or use the "point" brush to move (it sets the exact position of every matched instance — one call per target position).'
3505
+
);
3506
+
}
3500
3507
// After the guard, a missing position can only happen when nothing is
3501
3508
// created nor moved ("none" brush only): the fallback is never used.
: `A valid \`brush_position\` is required for the "${brush_kind}" brush (or use the "none" brush to modify existing instances without moving them).`
4242
4253
);
4243
4254
}
4255
+
// The "none" brush never applies a position: fail instead of silently
4256
+
// ignoring it, so the caller switches to a placement brush to move.
4257
+
if(brush_kind==='none'&&parsedBrushPosition){
4258
+
returnmakeGenericFailure(
4259
+
'The "none" brush never moves instances: remove `brush_position`, or use the "point" brush to move (it sets the exact X, Y and Z of every matched instance — one call per target position).'
4260
+
);
4261
+
}
4244
4262
// After the guard, a missing position can only happen when nothing is
4245
4263
// created nor moved ("none" brush only): the fallback is never used.
0 commit comments