aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:02 -0500
committerJacek Antonelli2008-08-15 23:45:02 -0500
commitd644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd (patch)
tree7ed0c2c27d717801238a2e6b5749cd5bf88c3059 /linden/indra/newview/llviewermenu.cpp
parentSecond Life viewer sources 1.17.3.0 (diff)
downloadmeta-impy-d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd.zip
meta-impy-d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd.tar.gz
meta-impy-d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd.tar.bz2
meta-impy-d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd.tar.xz
Second Life viewer sources 1.18.0.6
Diffstat (limited to 'linden/indra/newview/llviewermenu.cpp')
-rw-r--r--linden/indra/newview/llviewermenu.cpp65
1 files changed, 31 insertions, 34 deletions
diff --git a/linden/indra/newview/llviewermenu.cpp b/linden/indra/newview/llviewermenu.cpp
index a142aff..31d10df 100644
--- a/linden/indra/newview/llviewermenu.cpp
+++ b/linden/indra/newview/llviewermenu.cpp
@@ -278,7 +278,7 @@ void handle_leave_group(void *);
278// File Menu 278// File Menu
279const char* upload_pick(void* data); 279const char* upload_pick(void* data);
280void handle_upload(void* data); 280void handle_upload(void* data);
281void handle_upload_object(void* data); 281//void handle_upload_object(void* data);
282void handle_compress_image(void*); 282void handle_compress_image(void*);
283BOOL enable_save_as(void *); 283BOOL enable_save_as(void *);
284 284
@@ -395,11 +395,11 @@ void slow_mo_animations(void *);
395void handle_disconnect_viewer(void *); 395void handle_disconnect_viewer(void *);
396 396
397void handle_stopall(void*); 397void handle_stopall(void*);
398void handle_hinge(void*); 398//void handle_hinge(void*);
399void handle_ptop(void*); 399//void handle_ptop(void*);
400void handle_lptop(void*); 400//void handle_lptop(void*);
401void handle_wheel(void*); 401//void handle_wheel(void*);
402void handle_dehinge(void*); 402//void handle_dehinge(void*);
403BOOL enable_dehinge(void*); 403BOOL enable_dehinge(void*);
404void handle_force_delete(void*); 404void handle_force_delete(void*);
405void print_object_info(void*); 405void print_object_info(void*);
@@ -980,7 +980,6 @@ extern BOOL gDebugClicks;
980extern BOOL gDebugWindowProc; 980extern BOOL gDebugWindowProc;
981extern BOOL gDebugTextEditorTips; 981extern BOOL gDebugTextEditorTips;
982extern BOOL gDebugSelectMgr; 982extern BOOL gDebugSelectMgr;
983extern BOOL gVectorizePerfTest;
984 983
985void init_debug_ui_menu(LLMenuGL* menu) 984void init_debug_ui_menu(LLMenuGL* menu)
986{ 985{
@@ -1190,8 +1189,6 @@ void init_debug_rendering_menu(LLMenuGL* menu)
1190 (void*)"ShowDepthBuffer")); 1189 (void*)"ShowDepthBuffer"));
1191 sub_menu->append(new LLMenuItemToggleGL("Show Select Buffer", &gDebugSelect)); 1190 sub_menu->append(new LLMenuItemToggleGL("Show Select Buffer", &gDebugSelect));
1192 1191
1193 sub_menu->append(new LLMenuItemToggleGL("Vectorize Perf Test", &gVectorizePerfTest));
1194
1195 sub_menu = new LLMenuGL("Render Tests"); 1192 sub_menu = new LLMenuGL("Render Tests");
1196 1193
1197 sub_menu->append(new LLMenuItemCheckGL("Camera Offset", 1194 sub_menu->append(new LLMenuItemCheckGL("Camera Offset",
@@ -4550,36 +4547,36 @@ class LLToolsStopAllAnimations : public view_listener_t
4550 } 4547 }
4551}; 4548};
4552 4549
4553void handle_hinge(void*) 4550//void handle_hinge(void*)
4554{ 4551//{
4555 gSelectMgr->sendHinge(1); 4552// gSelectMgr->sendHinge(1);
4556} 4553//}
4557 4554
4558void handle_ptop(void*) 4555//void handle_ptop(void*)
4559{ 4556//{
4560 gSelectMgr->sendHinge(2); 4557// gSelectMgr->sendHinge(2);
4561} 4558//}
4562 4559
4563void handle_lptop(void*) 4560//void handle_lptop(void*)
4564{ 4561//{
4565 gSelectMgr->sendHinge(3); 4562// gSelectMgr->sendHinge(3);
4566} 4563//}
4567 4564
4568void handle_wheel(void*) 4565//void handle_wheel(void*)
4569{ 4566//{
4570 gSelectMgr->sendHinge(4); 4567// gSelectMgr->sendHinge(4);
4571} 4568//}
4572 4569
4573void handle_dehinge(void*) 4570//void handle_dehinge(void*)
4574{ 4571//{
4575 gSelectMgr->sendDehinge(); 4572// gSelectMgr->sendDehinge();
4576} 4573//}
4577 4574
4578BOOL enable_dehinge(void*) 4575//BOOL enable_dehinge(void*)
4579{ 4576//{
4580 LLViewerObject* obj = gSelectMgr->getSelection()->getFirstEditableObject(); 4577// LLViewerObject* obj = gSelectMgr->getSelection()->getFirstEditableObject();
4581 return obj && !obj->isAttachment(); 4578// return obj && !obj->isAttachment();
4582} 4579//}
4583 4580
4584 4581
4585class LLEditEnableCut : public view_listener_t 4582class LLEditEnableCut : public view_listener_t