• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision19458ba66f2364a2387796ebb5c08e8ee5eeefa4 (tree)
Time2012-09-12 16:31:29
Authorh2so5 <h2so5@git....>
Commiterh2so5

Log Message

他ウィンドウをアクティブにした時にマウス操作ができなくなる問題を修正

Change Summary

Incremental Difference

--- a/Readme.txt
+++ b/Readme.txt
@@ -1,4 +1,4 @@
1-Miku Miku Online 0.2.6
1+Miku Miku Online 0.2.7
22
33 // ******************************** 警告 *********************************** //
44 // ***
--- a/client/3d/model.cpp
+++ b/client/3d/model.cpp
@@ -147,6 +147,11 @@ void GameLoop::ResetCameraPosition()
147147
148148 void GameLoop::MoveCamera(InputManager* input)
149149 {
150+ // 非アクティブ時はマウス操作無効
151+ if (GetActiveFlag() == 0) {
152+ return;
153+ }
154+
150155 const bool prev_right = input->GetPrevMouseRight();
151156 const bool prev_left = input->GetPrevMouseLeft();
152157 const bool right = input->GetMouseRight();
--- a/client/version.hpp
+++ b/client/version.hpp
@@ -9,7 +9,7 @@
99
1010 #define MMO_VERSION_MAJOR 0
1111 #define MMO_VERSION_MINOR 2
12-#define MMO_VERSION_REVISION 6
12+#define MMO_VERSION_REVISION 7
1313
1414 #ifdef MMO_VERSION_BUILD
1515 #define MMO_VERSION_BUILD_TEXT " Build " MMO_VERSION_TOSTRING(MMO_VERSION_BUILD)
--- a/package.py
+++ b/package.py
@@ -45,4 +45,6 @@ for root, dirs, files in os.walk(os.path.join(bin_path, 'resources')):
4545 for file in files:
4646 absolute_path = os.path.join(root, file)
4747 relative_path = os.path.relpath(absolute_path, bin_path)
48- zip.write(absolute_path, relative_path)
\ No newline at end of file
48+ zip.write(absolute_path, relative_path)
49+
50+zip.close()
\ No newline at end of file