[haiku-commits] r37477 - haiku/trunk/src/apps/3dmov

Author: wim
Date: 2010-07-12 13:51:41 +0200 (Mon, 12 Jul 2010)
New Revision: 37477
Changeset: http://dev.haiku-os.org/changeset/37477/haiku

Modified:
   haiku/trunk/src/apps/3dmov/MainWindow.cpp
   haiku/trunk/src/apps/3dmov/ViewObject.cpp
Log:
Patch by Jorma Karvonen fixing the 3DMov build.

Modified: haiku/trunk/src/apps/3dmov/MainWindow.cpp
===================================================================
--- haiku/trunk/src/apps/3dmov/MainWindow.cpp   2010-07-12 02:06:29 UTC (rev 
37476)
+++ haiku/trunk/src/apps/3dmov/MainWindow.cpp   2010-07-12 11:51:41 UTC (rev 
37477)
@@ -70,6 +70,7 @@
                case BOOK:              AddChild(fCurrentView = new 
ViewBook(frame));   break;
                case CUBE:              AddChild(fCurrentView = new 
ViewCube(frame));   break;
                case SPHERE:    AddChild(fCurrentView = new ViewSphere(frame)); 
break;
+               case NUMBER_OF_SHAPES: break;
        }
 
        //AddShortcut('f', B_COMMAND_KEY, new BMessage(MSG_FULLSCREEN));

Modified: haiku/trunk/src/apps/3dmov/ViewObject.cpp
===================================================================
--- haiku/trunk/src/apps/3dmov/ViewObject.cpp   2010-07-12 02:06:29 UTC (rev 
37476)
+++ haiku/trunk/src/apps/3dmov/ViewObject.cpp   2010-07-12 11:51:41 UTC (rev 
37477)
@@ -77,7 +77,7 @@
        DESCRIPTION:    Constructor
 */
 ViewObject :: ViewObject(BRect frame)
-       : BGLView(frame, (char *) "3Dmov_view", B_FOLLOW_ALL_SIDES, 0, BGL_RGB 
| BGL_DOUBLE | BGL_DEPTH)
+       : BGLView(frame, "3Dmov_view", B_FOLLOW_ALL_SIDES, 0, BGL_RGB | 
BGL_DOUBLE | BGL_DEPTH)
 {
        sCountViewObjects++;
                


Other related posts:

  • » [haiku-commits] r37477 - haiku/trunk/src/apps/3dmov - wpjvandermeer