Skip to content

Commit

Permalink
Fixed certain defaults shown for Automapping properties
Browse files Browse the repository at this point in the history
Probability actually defaults to 1.0 and ModX/Y default to 1.
  • Loading branch information
bjorn committed Jan 5, 2024
1 parent 281d1e0 commit d5be359
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tiled/propertybrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,9 @@ static void addAutomappingProperties(Properties &properties, const Object *objec
{
auto addRuleOptions = [&] {
mergeProperties(properties, QVariantMap {
{ QStringLiteral("Probability"), 0.0 },
{ QStringLiteral("ModX"), 0 },
{ QStringLiteral("ModY"), 0 },
{ QStringLiteral("Probability"), 1.0 },
{ QStringLiteral("ModX"), 1 },
{ QStringLiteral("ModY"), 1 },
{ QStringLiteral("OffsetX"), 0 },
{ QStringLiteral("OffsetY"), 0 },
{ QStringLiteral("NoOverlappingOutput"), false },
Expand Down

0 comments on commit d5be359

Please sign in to comment.