diff options
author | Jacek Antonelli | 2008-08-15 23:45:02 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:02 -0500 |
commit | d644fc64407dcd14ffcee6a0e9fbe28ee3a4e9bd (patch) | |
tree | 7ed0c2c27d717801238a2e6b5749cd5bf88c3059 /linden/indra/newview/llviewermenu.cpp | |
parent | Second Life viewer sources 1.17.3.0 (diff) | |
download | meta-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.cpp | 65 |
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 |
279 | const char* upload_pick(void* data); | 279 | const char* upload_pick(void* data); |
280 | void handle_upload(void* data); | 280 | void handle_upload(void* data); |
281 | void handle_upload_object(void* data); | 281 | //void handle_upload_object(void* data); |
282 | void handle_compress_image(void*); | 282 | void handle_compress_image(void*); |
283 | BOOL enable_save_as(void *); | 283 | BOOL enable_save_as(void *); |
284 | 284 | ||
@@ -395,11 +395,11 @@ void slow_mo_animations(void *); | |||
395 | void handle_disconnect_viewer(void *); | 395 | void handle_disconnect_viewer(void *); |
396 | 396 | ||
397 | void handle_stopall(void*); | 397 | void handle_stopall(void*); |
398 | void handle_hinge(void*); | 398 | //void handle_hinge(void*); |
399 | void handle_ptop(void*); | 399 | //void handle_ptop(void*); |
400 | void handle_lptop(void*); | 400 | //void handle_lptop(void*); |
401 | void handle_wheel(void*); | 401 | //void handle_wheel(void*); |
402 | void handle_dehinge(void*); | 402 | //void handle_dehinge(void*); |
403 | BOOL enable_dehinge(void*); | 403 | BOOL enable_dehinge(void*); |
404 | void handle_force_delete(void*); | 404 | void handle_force_delete(void*); |
405 | void print_object_info(void*); | 405 | void print_object_info(void*); |
@@ -980,7 +980,6 @@ extern BOOL gDebugClicks; | |||
980 | extern BOOL gDebugWindowProc; | 980 | extern BOOL gDebugWindowProc; |
981 | extern BOOL gDebugTextEditorTips; | 981 | extern BOOL gDebugTextEditorTips; |
982 | extern BOOL gDebugSelectMgr; | 982 | extern BOOL gDebugSelectMgr; |
983 | extern BOOL gVectorizePerfTest; | ||
984 | 983 | ||
985 | void init_debug_ui_menu(LLMenuGL* menu) | 984 | void 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 | ||
4553 | void handle_hinge(void*) | 4550 | //void handle_hinge(void*) |
4554 | { | 4551 | //{ |
4555 | gSelectMgr->sendHinge(1); | 4552 | // gSelectMgr->sendHinge(1); |
4556 | } | 4553 | //} |
4557 | 4554 | ||
4558 | void handle_ptop(void*) | 4555 | //void handle_ptop(void*) |
4559 | { | 4556 | //{ |
4560 | gSelectMgr->sendHinge(2); | 4557 | // gSelectMgr->sendHinge(2); |
4561 | } | 4558 | //} |
4562 | 4559 | ||
4563 | void handle_lptop(void*) | 4560 | //void handle_lptop(void*) |
4564 | { | 4561 | //{ |
4565 | gSelectMgr->sendHinge(3); | 4562 | // gSelectMgr->sendHinge(3); |
4566 | } | 4563 | //} |
4567 | 4564 | ||
4568 | void handle_wheel(void*) | 4565 | //void handle_wheel(void*) |
4569 | { | 4566 | //{ |
4570 | gSelectMgr->sendHinge(4); | 4567 | // gSelectMgr->sendHinge(4); |
4571 | } | 4568 | //} |
4572 | 4569 | ||
4573 | void handle_dehinge(void*) | 4570 | //void handle_dehinge(void*) |
4574 | { | 4571 | //{ |
4575 | gSelectMgr->sendDehinge(); | 4572 | // gSelectMgr->sendDehinge(); |
4576 | } | 4573 | //} |
4577 | 4574 | ||
4578 | BOOL 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 | ||
4585 | class LLEditEnableCut : public view_listener_t | 4582 | class LLEditEnableCut : public view_listener_t |