Skip to content

Commit

Permalink
- Update rotate handle position when the tool is activated.
Browse files Browse the repository at this point in the history
  • Loading branch information
kduske committed Apr 16, 2013
1 parent 49305c2 commit 7cea74e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mac/TrenchBroom/TrenchBroom-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.8</string>
<string>1.0.9</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1507</string>
<string>1510</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
Expand Down
5 changes: 5 additions & 0 deletions Source/Controller/RotateObjectsTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ namespace TrenchBroom {
m_rotateHandle.setPosition(position);
}

bool RotateObjectsTool::handleActivate(InputState& inputState) {
updateHandlePosition(inputState);
return true;
}

bool RotateObjectsTool::handleIsModal(InputState& inputState) {
return true;
}
Expand Down
1 change: 1 addition & 0 deletions Source/Controller/RotateObjectsTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ namespace TrenchBroom {

void updateHandlePosition(InputState& inputState);

bool handleActivate(InputState& inputState);
bool handleIsModal(InputState& inputState);

void handlePick(InputState& inputState);
Expand Down

0 comments on commit 7cea74e

Please sign in to comment.