Skip to content

Commit

Permalink
Revert accidental commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gbalint committed Jul 11, 2024
1 parent 3bf817f commit 2ee51dc
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ export function getApplicableReparentFactories(
switch (result.strategy) {
case 'REPARENT_AS_ABSOLUTE': {
const fitness = (() => {
// if (!cmdPressed) {
// return 0
// }
if (!cmdPressed) {
return 0
}
if (result.isReparentingOutFromScene) {
return OutOfSceneReparentWeight
}
Expand Down Expand Up @@ -114,9 +114,9 @@ export function getApplicableReparentFactories(

// We likely never want flow insertion or re-parenting to be the default
const fitness = (() => {
// if (!cmdPressed) {
// return 0
// }
if (!cmdPressed) {
return 0
}
if (result.isReparentingOutFromScene) {
return OutOfSceneReparentWeight
}
Expand Down

0 comments on commit 2ee51dc

Please sign in to comment.