diff options
Diffstat (limited to 'indra/newview')
24 files changed, 80 insertions, 3736 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 0a267cbad0..a925a39246 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -210,7 +210,6 @@ set(viewer_SOURCE_FILES      llfloatermemleak.cpp      llfloatermodelpreview.cpp      llfloatermodeluploadbase.cpp -    llfloatermodelwizard.cpp      llfloaternamedesc.cpp      llfloaternotificationsconsole.cpp      llfloaterobjectweights.cpp @@ -768,7 +767,6 @@ set(viewer_HEADER_FILES      llfloatermemleak.h      llfloatermodelpreview.h      llfloatermodeluploadbase.h -    llfloatermodelwizard.h      llfloaternamedesc.h      llfloaternotificationsconsole.h      llfloaterobjectweights.h diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index ed04b5bf38..d033252029 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -625,6 +625,7 @@ LLAppViewer::LLAppViewer() :  	mPurgeOnExit(false),  	mSecondInstance(false),  	mSavedFinalSnapshot(false), +	mSavePerAccountSettings(false),		// don't save settings on logout unless login succeeded.  	mForceGraphicsDetail(false),  	mQuitRequested(false),  	mLogoutRequestSent(false), @@ -1796,6 +1797,13 @@ bool LLAppViewer::cleanup()  	{  		llinfos << "Not saving per-account settings; don't know the account name yet." << llendl;  	} +	// Only save per account settings if the previous login succeeded, otherwise +	// we might end up with a cleared out settings file in case a previous login +	// failed after loading per account settings. +	else if (!mSavePerAccountSettings) +	{ +		llinfos << "Not saving per-account settings; last login was not successful." << llendl; +	}  	else  	{  		gSavedPerAccountSettings.saveToFile(gSavedSettings.getString("PerAccountSettingsFile"), TRUE); @@ -5009,6 +5017,10 @@ void LLAppViewer::handleLoginComplete()  	mOnLoginCompleted();  	writeDebugInfo(); + +	// we logged in successfully, so save settings on logout +	llinfos << "Login successful, per account settings will be saved on log out." << llendl; +	mSavePerAccountSettings=true;  }  void LLAppViewer::launchUpdater() diff --git a/indra/newview/llappviewer.h b/indra/newview/llappviewer.h index f7d019ccba..ae3c795d1e 100644 --- a/indra/newview/llappviewer.h +++ b/indra/newview/llappviewer.h @@ -247,6 +247,7 @@ private:      bool mPurgeOnExit;  	bool mSavedFinalSnapshot; +	bool mSavePerAccountSettings;		// only save per account settings if login succeeded  	bool mForceGraphicsDetail; diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index 7448f2bb2a..4b8beba546 100755 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -5053,15 +5053,7 @@ BOOL LLModelPreview::render()  	LLRect preview_rect; -	LLFloaterModelWizard* floater_wizard = dynamic_cast<LLFloaterModelWizard*>(mFMP); -	if (floater_wizard) -	{ -		preview_rect = floater_wizard->getPreviewRect(); -	} -	else -	{ -		preview_rect = mFMP->getChildView("preview_panel")->getRect(); -	} +	preview_rect = mFMP->getChildView("preview_panel")->getRect();  	F32 aspect = (F32) preview_rect.getWidth()/preview_rect.getHeight(); @@ -5605,7 +5597,6 @@ void LLModelPreview::setPreviewLOD(S32 lod)  		combo_box->setCurrentByIndex((NUM_LOD-1)-mPreviewLOD); // combo box list of lods is in reverse order  		mFMP->childSetText("lod_file_" + lod_name[mPreviewLOD], mLODFile[mPreviewLOD]); -		// the wizard has three lod drop downs  		LLComboBox* combo_box2 = mFMP->getChild<LLComboBox>("preview_lod_combo2");  		combo_box2->setCurrentByIndex((NUM_LOD-1)-mPreviewLOD); // combo box list of lods is in reverse order diff --git a/indra/newview/llfloatermodelpreview.h b/indra/newview/llfloatermodelpreview.h index 64324854a5..c522e6f734 100644 --- a/indra/newview/llfloatermodelpreview.h +++ b/indra/newview/llfloatermodelpreview.h @@ -30,12 +30,12 @@  #include "llfloaternamedesc.h"  #include "lldynamictexture.h" -#include "llfloatermodelwizard.h"  #include "llquaternion.h"  #include "llmeshrepository.h"  #include "llmodel.h"  #include "llthread.h"  #include "llviewermenufile.h" +#include "llfloatermodeluploadbase.h"  class LLComboBox;  class LLJoint; @@ -390,9 +390,7 @@ private:   protected:  	friend class LLModelLoader;  	friend class LLFloaterModelPreview; -	friend class LLFloaterModelWizard;  	friend class LLFloaterModelPreview::DecompRequest; -	friend class LLFloaterModelWizard::DecompRequest;  	friend class LLPhysicsDecomp;  	LLFloater*  mFMP; diff --git a/indra/newview/llfloatermodelwizard.cpp b/indra/newview/llfloatermodelwizard.cpp deleted file mode 100644 index b517b78e5a..0000000000 --- a/indra/newview/llfloatermodelwizard.cpp +++ /dev/null @@ -1,795 +0,0 @@ -/**  - * @file llfloatermodelwizard.cpp - * @author Leyla Farazha - * @brief Implementation of the LLFloaterModelWizard class. - * - * $LicenseInfo:firstyear=2002&license=viewerlgpl$ - * Second Life Viewer Source Code - * Copyright (C) 2010, Linden Research, Inc. - *  - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; - * version 2.1 of the License only. - *  - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU - * Lesser General Public License for more details. - *  - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA - *  - * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA - * $/LicenseInfo$ - */ - - -#include "llviewerprecompiledheaders.h" - -#include "llbutton.h" -#include "lldrawable.h" -#include "llcheckboxctrl.h" -#include "llcombobox.h" -#include "llfloater.h" -#include "llfloatermodelwizard.h" -#include "llfloatermodelpreview.h" -#include "llfloaterreg.h" -#include "llsliderctrl.h" -#include "lltoolmgr.h" -#include "llviewerwindow.h" - -LLFloaterModelWizard* LLFloaterModelWizard::sInstance = NULL; - -static	const std::string stateNames[]={ -	"choose_file", -	"optimize", -	"physics", -	"review", -	"upload"}; - -static void swap_controls(LLUICtrl* first_ctrl, LLUICtrl* second_ctrl, bool first_ctr_visible); - -LLFloaterModelWizard::LLFloaterModelWizard(const LLSD& key) -	: LLFloaterModelUploadBase(key) -	 ,mRecalculateGeometryBtn(NULL) -	 ,mRecalculatePhysicsBtn(NULL) -	 ,mRecalculatingPhysicsBtn(NULL) -	 ,mCalculateWeightsBtn(NULL) -	 ,mCalculatingWeightsBtn(NULL) -	 ,mChooseFilePreviewPanel(NULL) -	 ,mOptimizePreviewPanel(NULL) -	 ,mPhysicsPreviewPanel(NULL) -{ -	mLastEnabledState = CHOOSE_FILE; -	sInstance = this; - -	mCommitCallbackRegistrar.add("Wizard.Choose", boost::bind(&LLFloaterModelWizard::setState, this, CHOOSE_FILE)); -	mCommitCallbackRegistrar.add("Wizard.Optimize", boost::bind(&LLFloaterModelWizard::setState, this, OPTIMIZE)); -	mCommitCallbackRegistrar.add("Wizard.Physics", boost::bind(&LLFloaterModelWizard::setState, this, PHYSICS)); -	mCommitCallbackRegistrar.add("Wizard.Review", boost::bind(&LLFloaterModelWizard::setState, this, REVIEW)); -	mCommitCallbackRegistrar.add("Wizard.Upload", boost::bind(&LLFloaterModelWizard::setState, this, UPLOAD)); -} -LLFloaterModelWizard::~LLFloaterModelWizard() -{ -	sInstance = NULL; -} -void LLFloaterModelWizard::setState(int state) -{ - -	mState = state; - -	for(size_t t=0; t<LL_ARRAY_SIZE(stateNames); ++t) -	{ -		LLView *view = getChildView(stateNames[t]+"_panel"); -		if (view)  -		{ -			view->setVisible(state == (int) t ? TRUE : FALSE); -		} -	} - -	LLView* current_preview_panel = NULL; - -	if (state == CHOOSE_FILE) -	{ -		mModelPreview->mViewOption["show_physics"] = false; - -		current_preview_panel = mChooseFilePreviewPanel; - -		getChildView("close")->setVisible(false); -		getChildView("back")->setVisible(true); -		getChildView("back")->setEnabled(false); -		getChildView("next")->setVisible(true); -		getChildView("upload")->setVisible(false); -		getChildView("cancel")->setVisible(true); -		mCalculateWeightsBtn->setVisible(false); -		mCalculatingWeightsBtn->setVisible(false); -	} - -	if (state == OPTIMIZE) -	{ -		if (mLastEnabledState < state) -		{			 -			mModelPreview->genLODs(-1); -		} - -		mModelPreview->mViewOption["show_physics"] = false; - -		current_preview_panel = mOptimizePreviewPanel; - -		getChildView("back")->setVisible(true); -		getChildView("back")->setEnabled(true); -		getChildView("close")->setVisible(false); -		getChildView("next")->setVisible(true); -		getChildView("upload")->setVisible(false); -		getChildView("cancel")->setVisible(true); -		mCalculateWeightsBtn->setVisible(false); -		mCalculatingWeightsBtn->setVisible(false); -	} - -	if (state == PHYSICS) -	{ -		if (mLastEnabledState < state) -		{ -			mModelPreview->setPhysicsFromLOD(1); - -			// Trigger the recalculate physics when first entering -			// the Physics step. -			onClickRecalculatePhysics(); -		} - -		mModelPreview->mViewOption["show_physics"] = true; - -		current_preview_panel = mPhysicsPreviewPanel; - -		getChildView("next")->setVisible(false); -		getChildView("upload")->setVisible(false); -		getChildView("close")->setVisible(false); -		getChildView("back")->setVisible(true); -		getChildView("back")->setEnabled(true); -		getChildView("cancel")->setVisible(true); -		mCalculateWeightsBtn->setVisible(true); -		mCalculatingWeightsBtn->setVisible(false); -	} - -	if (state == REVIEW) -	{ -		 -		mModelPreview->mViewOption["show_physics"] = false; - -		getChildView("close")->setVisible(false); -		getChildView("next")->setVisible(false); -		getChildView("back")->setVisible(true); -		getChildView("back")->setEnabled(true); -		getChildView("upload")->setVisible(true); -		getChildView("cancel")->setVisible(true); -		mCalculateWeightsBtn->setVisible(false); -		mCalculatingWeightsBtn->setVisible(false); -	} - -	if (state == UPLOAD) -	{ -		getChildView("close")->setVisible(true); -		getChildView("next")->setVisible(false); -		getChildView("back")->setVisible(false); -		getChildView("upload")->setVisible(false); -		getChildView("cancel")->setVisible(false); -		mCalculateWeightsBtn->setVisible(false); -		mCalculatingWeightsBtn->setVisible(false); -	} - -	if (current_preview_panel) -	{ -		LLRect rect; -		current_preview_panel->localRectToOtherView(current_preview_panel->getLocalRect(), &rect, this); - -		// Reduce the preview rect by 1 px to fit the borders -		rect.stretch(-1); - -		if (rect != mPreviewRect) -		{ -			mPreviewRect = rect; -			mModelPreview->refresh(); -		} -	} -	updateButtons(); -} - - - -void LLFloaterModelWizard::updateButtons() -{ -	if (mLastEnabledState < mState) -	{ -		mLastEnabledState = mState; -	} - -	for(size_t i=0; i<LL_ARRAY_SIZE(stateNames); ++i) -	{ -		LLButton *button = getChild<LLButton>(stateNames[i]+"_btn"); - -		if (i == mState) -		{ -			button->setEnabled(TRUE); -			button->setToggleState(TRUE); -		} -		else if (i <= mLastEnabledState) -		{ -			button->setEnabled(TRUE); -			button->setToggleState(FALSE); -		} -		else -		{ -			button->setEnabled(FALSE); -		} -	} -} - -void LLFloaterModelWizard::onClickSwitchToAdvanced() -{ -	LLFloaterModelPreview* floater_preview = LLFloaterReg::getTypedInstance<LLFloaterModelPreview>("upload_model"); -	if (!floater_preview) -	{ -		llwarns << "FLoater model preview not found." << llendl; -		return; -	} - -	// Open floater model preview -	floater_preview->openFloater(); - -	// Close the wizard -	closeFloater(); - -	std::string filename = getChild<LLUICtrl>("lod_file")->getValue().asString(); -	if (!filename.empty()) -	{ -		// Re-load the model to the floater model preview if it has been loaded -		// into the wizard. -		floater_preview->loadModel(3, filename); -	} -} - -void LLFloaterModelWizard::onClickRecalculateGeometry() -{ -	S32 val = getChild<LLUICtrl>("accuracy_slider")->getValue().asInteger(); - -	mModelPreview->genLODs(-1, NUM_LOD - val); - -	mModelPreview->refresh(); -} - -void LLFloaterModelWizard::onClickRecalculatePhysics() -{ -	// Hide the "Recalculate physics" button and show the "Recalculating..." -	// button instead. -	swap_controls(mRecalculatePhysicsBtn, mRecalculatingPhysicsBtn, false); - -	executePhysicsStage("Decompose"); -} - -void LLFloaterModelWizard::onClickCalculateUploadFee() -{ -	swap_controls(mCalculateWeightsBtn, mCalculatingWeightsBtn, false); - -	mModelPreview->rebuildUploadData(); - -	mUploadModelUrl.clear(); - -	gMeshRepo.uploadModel(mModelPreview->mUploadData, mModelPreview->mPreviewScale, -			true, false, false, mUploadModelUrl, false, getWholeModelFeeObserverHandle()); -} - -void LLFloaterModelWizard::loadModel() -{ -	 mModelPreview->mLoading = TRUE; -	 -	(new LLMeshFilePicker(mModelPreview, 3))->getFile(); -} - -void LLFloaterModelWizard::onClickCancel() -{ -	closeFloater(); -} - -void LLFloaterModelWizard::onClickBack() -{ -	setState(llmax((int) CHOOSE_FILE, mState-1)); -} - -void LLFloaterModelWizard::onClickNext() -{ -	setState(llmin((int) UPLOAD, mState+1)); -} - -bool LLFloaterModelWizard::onEnableNext() -{ -	return true; -} - -bool LLFloaterModelWizard::onEnableBack() -{ -	return true; -} - - -//----------------------------------------------------------------------------- -// handleMouseDown() -//----------------------------------------------------------------------------- -BOOL LLFloaterModelWizard::handleMouseDown(S32 x, S32 y, MASK mask) -{ -	if (mPreviewRect.pointInRect(x, y)) -	{ -		bringToFront( x, y ); -		gFocusMgr.setMouseCapture(this); -		gViewerWindow->hideCursor(); -		mLastMouseX = x; -		mLastMouseY = y; -		return TRUE; -	} -	 -	return LLFloater::handleMouseDown(x, y, mask); -} - -//----------------------------------------------------------------------------- -// handleMouseUp() -//----------------------------------------------------------------------------- -BOOL LLFloaterModelWizard::handleMouseUp(S32 x, S32 y, MASK mask) -{ -	gFocusMgr.setMouseCapture(FALSE); -	gViewerWindow->showCursor(); -	return LLFloater::handleMouseUp(x, y, mask); -} - -//----------------------------------------------------------------------------- -// handleHover() -//----------------------------------------------------------------------------- -BOOL LLFloaterModelWizard::handleHover	(S32 x, S32 y, MASK mask) -{ -	MASK local_mask = mask & ~MASK_ALT; -	 -	if (mModelPreview && hasMouseCapture()) -	{ -		if (local_mask == MASK_PAN) -		{ -			// pan here -			mModelPreview->pan((F32)(x - mLastMouseX) * -0.005f, (F32)(y - mLastMouseY) * -0.005f); -		} -		else if (local_mask == MASK_ORBIT) -		{ -			F32 yaw_radians = (F32)(x - mLastMouseX) * -0.01f; -			F32 pitch_radians = (F32)(y - mLastMouseY) * 0.02f; -			 -			mModelPreview->rotate(yaw_radians, pitch_radians); -		} -		else  -		{ -			 -			F32 yaw_radians = (F32)(x - mLastMouseX) * -0.01f; -			F32 zoom_amt = (F32)(y - mLastMouseY) * 0.02f; -			 -			mModelPreview->rotate(yaw_radians, 0.f); -			mModelPreview->zoom(zoom_amt); -		} -		 -		 -		mModelPreview->refresh(); -		 -		LLUI::setMousePositionLocal(this, mLastMouseX, mLastMouseY); -	} -	 -	if (!mPreviewRect.pointInRect(x, y) || !mModelPreview) -	{ -		return LLFloater::handleHover(x, y, mask); -	} -	else if (local_mask == MASK_ORBIT) -	{ -		gViewerWindow->setCursor(UI_CURSOR_TOOLCAMERA); -	} -	else if (local_mask == MASK_PAN) -	{ -		gViewerWindow->setCursor(UI_CURSOR_TOOLPAN); -	} -	else -	{ -		gViewerWindow->setCursor(UI_CURSOR_TOOLZOOMIN); -	} -	 -	return TRUE; -} - -//----------------------------------------------------------------------------- -// handleScrollWheel() -//----------------------------------------------------------------------------- -BOOL LLFloaterModelWizard::handleScrollWheel(S32 x, S32 y, S32 clicks) -{ -	if (mPreviewRect.pointInRect(x, y) && mModelPreview) -	{ -		mModelPreview->zoom((F32)clicks * -0.2f); -		mModelPreview->refresh(); -	} -	 -	return TRUE; -} - - -void LLFloaterModelWizard::initDecompControls() -{ -	LLSD key; - -	static const LLCDStageData* stage = NULL; -	static S32 stage_count = 0; - -	if (!stage && LLConvexDecomposition::getInstance() != NULL) -	{ -		stage_count = LLConvexDecomposition::getInstance()->getStages(&stage); -	} - -	static const LLCDParam* param = NULL; -	static S32 param_count = 0; -	if (!param && LLConvexDecomposition::getInstance() != NULL) -	{ -		param_count = LLConvexDecomposition::getInstance()->getParameters(¶m); -	} - -	for (S32 j = stage_count-1; j >= 0; --j) -	{ -		gMeshRepo.mDecompThread->mStageID[stage[j].mName] = j; -		// protected against stub by stage_count being 0 for stub above -		LLConvexDecomposition::getInstance()->registerCallback(j, LLPhysicsDecomp::llcdCallback); - -		for (S32 i = 0; i < param_count; ++i) -		{ -			if (param[i].mStage != j) -			{ -				continue; -			} - -			std::string name(param[i].mName ? param[i].mName : ""); -			std::string description(param[i].mDescription ? param[i].mDescription : ""); - -			if (param[i].mType == LLCDParam::LLCD_FLOAT) -			{ -				mDecompParams[param[i].mName] = LLSD(param[i].mDefault.mFloat); -			} -			else if (param[i].mType == LLCDParam::LLCD_INTEGER) -			{ -				mDecompParams[param[i].mName] = LLSD(param[i].mDefault.mIntOrEnumValue); -			} -			else if (param[i].mType == LLCDParam::LLCD_BOOLEAN) -			{ -				mDecompParams[param[i].mName] = LLSD(param[i].mDefault.mBool); -			} -			else if (param[i].mType == LLCDParam::LLCD_ENUM) -			{ -				mDecompParams[param[i].mName] = LLSD(param[i].mDefault.mIntOrEnumValue); -			} -		} -	} - -	mDecompParams["Simplify Method"] = 0; // set it to retain % -} - -/*virtual*/ -void LLFloaterModelWizard::onPermissionsReceived(const LLSD& result) -{ -	std::string upload_status = result["mesh_upload_status"].asString(); -	// BAP HACK: handle "" for case that  MeshUploadFlag cap is broken. -	mHasUploadPerm = (("" == upload_status) || ("valid" == upload_status)); - -	getChildView("warning_label")->setVisible(!mHasUploadPerm); -	getChildView("warning_text")->setVisible(!mHasUploadPerm); -} - -/*virtual*/ -void LLFloaterModelWizard::setPermissonsErrorStatus(U32 status, const std::string& reason) -{ -	llwarns << "LLFloaterModelWizard::setPermissonsErrorStatus(" << status << " : " << reason << ")" << llendl; -} - -/*virtual*/ -void LLFloaterModelWizard::onModelPhysicsFeeReceived(const LLSD& result, std::string upload_url) -{ -	swap_controls(mCalculateWeightsBtn, mCalculatingWeightsBtn, true); - -	// Enable the "Upload" buton if we have calculated the upload fee -	// and have the permission to upload. -	getChildView("upload")->setEnabled(mHasUploadPerm); - -	mUploadModelUrl = upload_url; - -	S32 fee = result["upload_price"].asInteger(); -	childSetTextArg("review_fee", "[FEE]", llformat("%d", fee)); -	childSetTextArg("charged_fee", "[FEE]", llformat("%d", fee)); - -	setState(REVIEW); -} - -/*virtual*/ -void LLFloaterModelWizard::setModelPhysicsFeeErrorStatus(U32 status, const std::string& reason) -{ -	swap_controls(mCalculateWeightsBtn, mCalculatingWeightsBtn, true); - -	// Disable the "Review" step if it has been previously enabled. -	modelChangedCallback(); - -	llwarns << "LLFloaterModelWizard::setModelPhysicsFeeErrorStatus(" << status << " : " << reason << ")" << llendl; - -	setState(PHYSICS); -} - -/*virtual*/  -void LLFloaterModelWizard::onModelUploadSuccess()  -{ -	// success! -	setState(UPLOAD); -} - -/*virtual*/ -void LLFloaterModelWizard::onModelUploadFailure() -{ -	// Failure. Make the user recalculate fees -	setState(PHYSICS); -	// Disable the "Review" step if it has been previously enabled. -	if (mLastEnabledState > PHYSICS) -	{ -		 mLastEnabledState = PHYSICS; -	} - -	updateButtons(); -} - -//static -void LLFloaterModelWizard::executePhysicsStage(std::string stage_name) -{ -	if (sInstance) -	{ -		// Invert the slider value so that "performance" end is giving the least detailed physics, -		// and the "accuracy" end is giving the most detailed physics -		F64 physics_accuracy = 1 - sInstance->getChild<LLSliderCtrl>("physics_slider")->getValue().asReal(); - -		sInstance->mDecompParams["Retain%"] = physics_accuracy; - -		if (!sInstance->mCurRequest.empty()) -		{ -			llinfos << "Decomposition request still pending." << llendl; -			return; -		} - -		if (sInstance->mModelPreview) -		{ -			for (S32 i = 0; i < sInstance->mModelPreview->mModel[LLModel::LOD_PHYSICS].size(); ++i) -			{ -				LLModel* mdl = sInstance->mModelPreview->mModel[LLModel::LOD_PHYSICS][i]; -				DecompRequest* request = new DecompRequest(stage_name, mdl); -				if(request->isValid()) -				{ -					sInstance->mCurRequest.insert(request); -					gMeshRepo.mDecompThread->submitRequest(request); -				}				 -			} -		} -	} -} - -LLFloaterModelWizard::DecompRequest::DecompRequest(const std::string& stage, LLModel* mdl) -{ -	mStage = stage; -	mContinue = 1; -	mModel = mdl; -	mDecompID = &mdl->mDecompID; -	mParams = sInstance->mDecompParams; - -	//copy out positions and indices -	assignData(mdl) ;	 -} - - -S32 LLFloaterModelWizard::DecompRequest::statusCallback(const char* status, S32 p1, S32 p2) -{ -	setStatusMessage(llformat("%s: %d/%d", status, p1, p2)); - -	return mContinue; -} - -void LLFloaterModelWizard::DecompRequest::completed() -{ //called from the main thread -	mModel->setConvexHullDecomposition(mHull); - -	if (sInstance) -	{ -		if (sInstance->mModelPreview) -		{ -			sInstance->mModelPreview->mDirty = true; -			LLFloaterModelWizard::sInstance->mModelPreview->refresh(); -		} - -		sInstance->mCurRequest.erase(this); -	} - -	if (mStage == "Decompose") -	{ -		executePhysicsStage("Simplify"); -	} -	else -	{ -		// Decomp request is complete so we can enable the "Recalculate physics" button again. -		swap_controls(sInstance->mRecalculatePhysicsBtn, sInstance->mRecalculatingPhysicsBtn, true); -	} -} - - -BOOL LLFloaterModelWizard::postBuild() -{ -	childSetValue("import_scale", (F32) 0.67335826); - -	getChild<LLUICtrl>("browse")->setCommitCallback(boost::bind(&LLFloaterModelWizard::loadModel, this)); -	//getChild<LLUICtrl>("lod_file")->setCommitCallback(boost::bind(&LLFloaterModelWizard::loadModel, this)); -	getChild<LLUICtrl>("cancel")->setCommitCallback(boost::bind(&LLFloaterModelWizard::onClickCancel, this)); -	getChild<LLUICtrl>("close")->setCommitCallback(boost::bind(&LLFloaterModelWizard::onClickCancel, this)); -	getChild<LLUICtrl>("back")->setCommitCallback(boost::bind(&LLFloaterModelWizard::onClickBack, this)); -	getChild<LLUICtrl>("next")->setCommitCallback(boost::bind(&LLFloaterModelWizard::onClickNext, this)); -	getChild<LLUICtrl>("preview_lod_combo")->setCommitCallback(boost::bind(&LLFloaterModelWizard::onPreviewLODCommit, this, _1)); -	getChild<LLUICtrl>("preview_lod_combo2")->setCommitCallback(boost::bind(&LLFloaterModelWizard::onPreviewLODCommit, this, _1)); -	getChild<LLUICtrl>("upload")->setCommitCallback(boost::bind(&LLFloaterModelWizard::onUpload, this)); -	getChild<LLUICtrl>("switch_to_advanced")->setCommitCallback(boost::bind(&LLFloaterModelWizard::onClickSwitchToAdvanced, this)); - -	mRecalculateGeometryBtn = getChild<LLButton>("recalculate_geometry_btn"); -	mRecalculateGeometryBtn->setCommitCallback(boost::bind(&LLFloaterModelWizard::onClickRecalculateGeometry, this)); - -	mRecalculatePhysicsBtn = getChild<LLButton>("recalculate_physics_btn"); -	mRecalculatePhysicsBtn->setCommitCallback(boost::bind(&LLFloaterModelWizard::onClickRecalculatePhysics, this)); - -	mRecalculatingPhysicsBtn = getChild<LLButton>("recalculating_physics_btn"); - -	mCalculateWeightsBtn = getChild<LLButton>("calculate"); -	mCalculateWeightsBtn->setCommitCallback(boost::bind(&LLFloaterModelWizard::onClickCalculateUploadFee, this)); - -	mCalculatingWeightsBtn = getChild<LLButton>("calculating"); - -	mChooseFilePreviewPanel = getChild<LLView>("choose_file_preview_panel"); -	mOptimizePreviewPanel = getChild<LLView>("optimize_preview_panel"); -	mPhysicsPreviewPanel = getChild<LLView>("physics_preview_panel"); - -	LLUICtrl::EnableCallbackRegistry::ScopedRegistrar enable_registrar; -	 -	enable_registrar.add("Next.OnEnable", boost::bind(&LLFloaterModelWizard::onEnableNext, this)); -	enable_registrar.add("Back.OnEnable", boost::bind(&LLFloaterModelWizard::onEnableBack, this)); -	 -	mModelPreview = new LLModelPreview(512, 512, this); -	mModelPreview->setPreviewTarget(16.f); -	mModelPreview->setDetailsCallback(boost::bind(&LLFloaterModelWizard::setDetails, this, _1, _2, _3, _4, _5)); -	mModelPreview->setModelLoadedCallback(boost::bind(&LLFloaterModelWizard::modelLoadedCallback, this)); -	mModelPreview->setModelUpdatedCallback(boost::bind(&LLFloaterModelWizard::modelChangedCallback, this)); -	mModelPreview->mViewOption["show_textures"] = true; - -	center(); - -	setState(CHOOSE_FILE); - -	childSetTextArg("import_dimensions", "[X]", LLStringUtil::null); -	childSetTextArg("import_dimensions", "[Y]", LLStringUtil::null); -	childSetTextArg("import_dimensions", "[Z]", LLStringUtil::null); - -	initDecompControls(); - -	requestAgentUploadPermissions(); - -	return TRUE; -} - - -void LLFloaterModelWizard::setDetails(F32 x, F32 y, F32 z, F32 streaming_cost, F32 physics_cost) -{ -	// iterate through all the panels, setting the dimensions -	for(size_t t=0; t<LL_ARRAY_SIZE(stateNames); ++t) -	{ -		LLPanel *panel = getChild<LLPanel>(stateNames[t]+"_panel"); -		if (panel)  -		{ -			panel->childSetText("dimension_x", llformat("%.1f", x)); -			panel->childSetText("dimension_y", llformat("%.1f", y)); -			panel->childSetText("dimension_z", llformat("%.1f", z)); -		} -	} - -	childSetTextArg("review_prim_equiv", "[EQUIV]", llformat("%d", mModelPreview->mResourceCost)); -} - -void LLFloaterModelWizard::modelLoadedCallback() -{ -	mLastEnabledState = CHOOSE_FILE; -	updateButtons(); -} - -void LLFloaterModelWizard::modelChangedCallback() -{ -	// Don't allow to proceed to the "Review" step if the model has changed -	// but the new upload fee hasn't been calculated yet. -	if (mLastEnabledState > PHYSICS) -	{ -		 mLastEnabledState = PHYSICS; -	} - -	getChildView("upload")->setEnabled(false); - -	updateButtons(); -} - -void LLFloaterModelWizard::onUpload() -{	 -	mModelPreview->rebuildUploadData(); -	 -	gMeshRepo.uploadModel(mModelPreview->mUploadData, mModelPreview->mPreviewScale,  -						  true, false, false, mUploadModelUrl, true, -						  LLHandle<LLWholeModelFeeObserver>(), getWholeModelUploadObserverHandle()); -} - -void LLFloaterModelWizard::onPreviewLODCommit(LLUICtrl* ctrl) -{ -	if (!mModelPreview) -	{ -		return; -	} -	 -	S32 which_mode = 0; -	 -	LLComboBox* combo = (LLComboBox*) ctrl; -	 -	which_mode = (NUM_LOD-1)-combo->getFirstSelectedIndex(); // combo box list of lods is in reverse order - -	mModelPreview->setPreviewLOD(which_mode); -} - -void LLFloaterModelWizard::refresh() -{ -	if (mState == CHOOSE_FILE) -	{ -		bool model_loaded = false; - -		if (mModelPreview && mModelPreview->getLoadState() == LLModelLoader::DONE) -		{ -			model_loaded = true; -		} -		 -		getChildView("next")->setEnabled(model_loaded); -	} -} - -void LLFloaterModelWizard::draw() -{ -	refresh(); - -	LLFloater::draw(); - -	if (mModelPreview && mState < REVIEW) -	{ -		mModelPreview->update(); - -		gGL.color3f(1.f, 1.f, 1.f); -		 -		gGL.getTexUnit(0)->bind(mModelPreview); -		 -		gGL.begin( LLRender::QUADS ); -		{ -			gGL.texCoord2f(0.f, 1.f); -			gGL.vertex2i(mPreviewRect.mLeft, mPreviewRect.mTop); -			gGL.texCoord2f(0.f, 0.f); -			gGL.vertex2i(mPreviewRect.mLeft, mPreviewRect.mBottom); -			gGL.texCoord2f(1.f, 0.f); -			gGL.vertex2i(mPreviewRect.mRight, mPreviewRect.mBottom); -			gGL.texCoord2f(1.f, 1.f); -			gGL.vertex2i(mPreviewRect.mRight, mPreviewRect.mTop); -		} -		gGL.end(); -		 -		gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); -	} -} - -// static -void swap_controls(LLUICtrl* first_ctrl, LLUICtrl* second_ctrl, bool first_ctr_visible) -{ -	first_ctrl->setVisible(first_ctr_visible); -	second_ctrl->setVisible(!first_ctr_visible); -} diff --git a/indra/newview/llfloatermodelwizard.h b/indra/newview/llfloatermodelwizard.h deleted file mode 100644 index db9b605777..0000000000 --- a/indra/newview/llfloatermodelwizard.h +++ /dev/null @@ -1,140 +0,0 @@ -/**  - * @file llfloatermodelwizard.h - * - * $LicenseInfo:firstyear=2009&license=viewerlgpl$ - * Second Life Viewer Source Code - * Copyright (C) 2010, Linden Research, Inc. - *  - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; - * version 2.1 of the License only. - *  - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU - * Lesser General Public License for more details. - *  - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA - *  - * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA - * $/LicenseInfo$ - */ - -#ifndef LLFLOATERMODELWIZARD_H -#define LLFLOATERMODELWIZARD_H - - -#include "llmeshrepository.h" -#include "llmodel.h" -#include "llthread.h" -#include "llfloatermodeluploadbase.h" - - -class LLModelPreview; - - -class LLFloaterModelWizard : public LLFloaterModelUploadBase -{ -public: -	 -	class DecompRequest : public LLPhysicsDecomp::Request -	{ -	public: -		S32 mContinue; -		LLPointer<LLModel> mModel; -		 -		DecompRequest(const std::string& stage, LLModel* mdl); -		virtual S32 statusCallback(const char* status, S32 p1, S32 p2); -		virtual void completed(); -		 -	}; -	 -	static LLFloaterModelWizard* sInstance; - -	LLFloaterModelWizard(const LLSD& key); -	virtual ~LLFloaterModelWizard(); -	/*virtual*/	BOOL	postBuild(); -	void			draw(); -	void            refresh(); -	 -	BOOL handleMouseDown(S32 x, S32 y, MASK mask); -	BOOL handleMouseUp(S32 x, S32 y, MASK mask); -	BOOL handleHover(S32 x, S32 y, MASK mask); -	BOOL handleScrollWheel(S32 x, S32 y, S32 clicks); - -	void setDetails(F32 x, F32 y, F32 z, F32 streaming_cost, F32 physics_cost); -	void modelLoadedCallback(); -	void modelChangedCallback(); -	void initDecompControls(); -	 -	// shows warning message if agent has no permissions to upload model -	/*virtual*/ void onPermissionsReceived(const LLSD& result); - -	// called when error occurs during permissions request -	/*virtual*/ void setPermissonsErrorStatus(U32 status, const std::string& reason); - -	/*virtual*/ void onModelPhysicsFeeReceived(const LLSD& result, std::string upload_url); - -	/*virtual*/ void setModelPhysicsFeeErrorStatus(U32 status, const std::string& reason); - -	/*virtual*/ void onModelUploadSuccess(); - -	/*virtual*/ void onModelUploadFailure(); - -	const LLRect& getPreviewRect() const { return mPreviewRect; } - -	LLPhysicsDecomp::decomp_params mDecompParams; -	std::set<LLPointer<DecompRequest> > mCurRequest; -	std::string mStatusMessage; -	static void executePhysicsStage(std::string stage_name); - -private: -	enum EWizardState -	{ -		CHOOSE_FILE = 0, -		OPTIMIZE, -		PHYSICS, -		REVIEW, -		UPLOAD -	}; - -	void setState(int state); -	void updateButtons(); -	void onClickSwitchToAdvanced(); -	void onClickRecalculateGeometry(); -	void onClickRecalculatePhysics(); -	void onClickCalculateUploadFee(); -	void onClickCancel(); -	void onClickBack(); -	void onClickNext(); -	bool onEnableNext(); -	bool onEnableBack(); -	void loadModel(); -	void onPreviewLODCommit(LLUICtrl*); -	void onUpload(); - -	LLModelPreview*	mModelPreview; -	LLRect			mPreviewRect; -	int mState; - -	S32				mLastMouseX; -	S32				mLastMouseY; - -	U32			    mLastEnabledState; - -	LLButton*		mRecalculateGeometryBtn; -	LLButton*		mRecalculatePhysicsBtn; -	LLButton*		mRecalculatingPhysicsBtn; -	LLButton*		mCalculateWeightsBtn; -	LLButton*		mCalculatingWeightsBtn; - -	LLView*		mChooseFilePreviewPanel; -	LLView*		mOptimizePreviewPanel; -	LLView*		mPhysicsPreviewPanel; -}; - - -#endif diff --git a/indra/newview/llviewerfloaterreg.cpp b/indra/newview/llviewerfloaterreg.cpp index d0e0d0d826..affea90a15 100644 --- a/indra/newview/llviewerfloaterreg.cpp +++ b/indra/newview/llviewerfloaterreg.cpp @@ -78,7 +78,6 @@  #include "llfloaterlandholdings.h"  #include "llfloatermap.h"  #include "llfloatermemleak.h" -#include "llfloatermodelwizard.h"  #include "llfloaternamedesc.h"  #include "llfloaternotificationsconsole.h"  #include "llfloaterobjectweights.h" @@ -304,7 +303,6 @@ void LLViewerFloaterReg::registerFloaters()  	LLFloaterReg::add("upload_anim_anim", "floater_animation_anim_preview.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<LLFloaterAnimPreview>, "upload");  	LLFloaterReg::add("upload_image", "floater_image_preview.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<LLFloaterImagePreview>, "upload");  	LLFloaterReg::add("upload_model", "floater_model_preview.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<LLFloaterModelPreview>, "upload"); -	LLFloaterReg::add("upload_model_wizard", "floater_model_wizard.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<LLFloaterModelWizard>);  	LLFloaterReg::add("upload_script", "floater_script_preview.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<LLFloaterScriptPreview>, "upload");  	LLFloaterReg::add("upload_sound", "floater_sound_preview.xml", (LLFloaterBuildFunc)&LLFloaterReg::build<LLFloaterSoundPreview>, "upload"); diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 34e916fec0..c9af6a2820 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -5367,6 +5367,14 @@ void toggle_debug_menus(void*)  // }  // +class LLCommunicateBlockList : public view_listener_t +{ +	bool handleEvent(const LLSD& userdata) +	{ +		LLFloaterSidePanelContainer::showPanel("people", "panel_block_list_sidetray", LLSD()); +		return true; +	} +};  class LLWorldSetHomeLocation : public view_listener_t  { @@ -8152,6 +8160,9 @@ void initialize_menus()  	// Me > Movement  	view_listener_t::addMenu(new LLAdvancedAgentFlyingInfo(), "Agent.getFlying"); + +	// Communicate +	view_listener_t::addMenu(new LLCommunicateBlockList(), "Communicate.BlockList");  	// World menu  	view_listener_t::addMenu(new LLWorldAlwaysRun(), "World.AlwaysRun"); diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index cd300accb7..da72f2fdac 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -2389,10 +2389,11 @@ void LLViewerObject::interpolateLinearMotion(const F64 & time, const F32 & dt)  		{	// This will put the object underground, but we can't tell if it will stop   			// at ground level or not  			min_height = LLWorld::getInstance()->getMinAllowedZ(this, new_pos_global); +			// Cap maximum height +			new_pos.mV[VZ] = llmin(LLWorld::getInstance()->getRegionMaxHeight(), new_pos.mV[VZ]);  		}  		new_pos.mV[VZ] = llmax(min_height, new_pos.mV[VZ]); -		new_pos.mV[VZ] = llmin(LLWorld::getInstance()->getRegionMaxHeight(), new_pos.mV[VZ]);  		// Check to see if it's going off the region  		LLVector3 temp(new_pos); diff --git a/indra/newview/skins/default/xui/da/floater_model_wizard.xml b/indra/newview/skins/default/xui/da/floater_model_wizard.xml deleted file mode 100644 index 8ad443581a..0000000000 --- a/indra/newview/skins/default/xui/da/floater_model_wizard.xml +++ /dev/null @@ -1,241 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<floater name="Model Wizard" title="UPLOAD MODEL WIZARD"> -	<button label="5. Upload" name="upload_btn"/> -	<button label="4. Review" name="review_btn"/> -	<button label="3. Physics" name="physics2_btn"/> -	<button label="3. Physics" name="physics_btn"/> -	<button label="2. Optimize" name="optimize_btn"/> -	<button label="1. Choose File" name="choose_file_btn"/> -	<panel name="choose_file_panel"> -		<panel name="header_panel"> -			<text name="header_text"> -				Upload Model -			</text> -		</panel> -		<text name="description"> -			This wizard will help you import mesh models to Second Life.  First specify a file containing the model you wish to import.  Second Life supports COLLADA (.dae) files. -		</text> -		<panel name="content"> -			<text name="Cache location"> -				Filename: -			</text> -			<button label="Browse..." label_selected="Browse..." name="browse"/> -			<text name="dimensions"> -				X:         Y:         Z: -			</text> -			<text name="dimension_dividers"> -				|               | -			</text> -		</panel> -	</panel> -	<panel name="optimize_panel"> -		<panel name="header_panel"> -			<text name="header_text"> -				Optimize -			</text> -		</panel> -		<text name="description"> -			This wizard has optimized your model to improve performance. You may adjust the results of the optimization process bellow or click Next to continue. -		</text> -		<panel name="content"> -			<text name="high_detail_text"> -				Generate Level of Detail: High -			</text> -			<text name="medium_detail_text"> -				Generate Level of Detail: Medium -			</text> -			<text name="low_detail_text"> -				Generate Level of Detail: Low -			</text> -			<text name="lowest_detail_text"> -				Generate Level of Detail: Lowest -			</text> -		</panel> -		<panel name="content2"> -			<text name="lod_label"> -				Model Preview: -			</text> -			<combo_box name="preview_lod_combo2" tool_tip="LOD to view in preview render"> -				<combo_item name="high"> -					High -				</combo_item> -				<combo_item name="medium"> -					Medium -				</combo_item> -				<combo_item name="low"> -					Low -				</combo_item> -				<combo_item name="lowest"> -					Lowest -				</combo_item> -			</combo_box> -			<text name="streaming cost"> -				Resource Cost:    [COST] -			</text> -			<text name="dimensions"> -				X:         Y:         Z: -			</text> -			<text name="dimension_dividers"> -				|               | -			</text> -		</panel> -	</panel> -	<panel name="physics_panel"> -		<panel name="header_panel"> -			<text name="header_text"> -				Physics -			</text> -		</panel> -		<text name="description"> -			The wizard will create a physical shape, which determines how the object interacts with other objects and avatars. Set the slider to the detail level most appropriate for how your object will be used: -		</text> -		<panel name="content"> -			<text name="streaming cost"> -				Resource Cost:       [COST] -			</text> -		</panel> -	</panel> -	<panel name="physics2_panel"> -		<panel name="header_panel"> -			<text name="header_text"> -				Physics -			</text> -		</panel> -		<text name="description"> -			Preview the physics shape below then click Next to continue.  To modify the physics shape, click the Back button. -		</text> -		<panel name="content"> -			<text name="lod_label"> -				Model Preview: -			</text> -			<combo_box name="preview_lod_combo3" tool_tip="LOD to view in preview render"> -				<combo_item name="high"> -					High -				</combo_item> -				<combo_item name="medium"> -					Medium -				</combo_item> -				<combo_item name="low"> -					Low -				</combo_item> -				<combo_item name="lowest"> -					Lowest -				</combo_item> -			</combo_box> -			<text name="dimensions"> -				X:         Y:         Z: -			</text> -			<text name="dimension_dividers"> -				|               | -			</text> -			<text name="streaming cost"> -				Resource Cost:       [COST] -			</text> -		</panel> -	</panel> -	<panel name="review_panel"> -		<panel name="header_panel"> -			<text name="header_text"> -				Review -			</text> -		</panel> -		<text name="description"> -			Review the details below then click. Upload to upload your model. Your L$ balance will be charged when you click Upload. -		</text> -		<panel name="content"> -			<text name="lod_label"> -				Model Preview: -			</text> -			<combo_box name="preview_lod_combo" tool_tip="LOD to view in preview render"> -				<combo_item name="high"> -					High -				</combo_item> -				<combo_item name="medium"> -					Medium -				</combo_item> -				<combo_item name="low"> -					Low -				</combo_item> -				<combo_item name="lowest"> -					Lowest -				</combo_item> -			</combo_box> -			<text name="dimensions"> -				X:         Y:         Z: -			</text> -			<text name="dimension_dividers"> -				|               | -			</text> -		</panel> -		<text name="streaming cost"> -			Resource Cost:         [COST] -		</text> -		<text name="physics cost"> -			Physics Cost:        [COST] -		</text> -	</panel> -	<panel name="upload_panel"> -		<panel name="header_panel"> -			<text name="header_text"> -				Upload Complete! -			</text> -		</panel> -		<text name="description"> -			Congratulations! Your model has been sucessfully uploaded.  You will find the model in the Objects folder in your inventory. -		</text> -	</panel> -	<button label="<< Back" name="back"/> -	<button label="Next >>" name="next"/> -	<button label="Upload" name="upload" tool_tip="Upload to simulator"/> -	<button label="Cancel" name="cancel"/> -	<button label="Close" name="close"/> -	<spinner name="import_scale" value="1.0"/> -	<string name="status_idle"> -		Idle -	</string> -	<string name="status_reading_file"> -		Loading... -	</string> -	<string name="status_generating_meshes"> -		Generating Meshes... -	</string> -	<string name="status_vertex_number_overflow"> -		Error: Vertex number is more than 65534, aborted! -	</string> -	<string name="high"> -		High -	</string> -	<string name="medium"> -		Medium -	</string> -	<string name="low"> -		Low -	</string> -	<string name="lowest"> -		Lowest -	</string> -	<string name="mesh_status_good"> -		Ship it! -	</string> -	<string name="mesh_status_na"> -		N/A -	</string> -	<string name="mesh_status_none"> -		None -	</string> -	<string name="mesh_status_submesh_mismatch"> -		Levels of detail have a different number of textureable faces. -	</string> -	<string name="mesh_status_mesh_mismatch"> -		Levels of detail have a different number of mesh instances. -	</string> -	<string name="mesh_status_too_many_vertices"> -		Level of detail has too many vertices. -	</string> -	<string name="mesh_status_missing_lod"> -		Missing required level of detail. -	</string> -	<string name="layer_all"> -		All -	</string> -</floater> diff --git a/indra/newview/skins/default/xui/de/floater_model_wizard.xml b/indra/newview/skins/default/xui/de/floater_model_wizard.xml deleted file mode 100644 index ee26d51d32..0000000000 --- a/indra/newview/skins/default/xui/de/floater_model_wizard.xml +++ /dev/null @@ -1,208 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<floater name="Model Wizard" title="ASSISTENT ZUM HOCHLADEN VON MODELLEN"> -	<button label="5. Hochladen" name="upload_btn"/> -	<button label="4. Überprüfen" name="review_btn"/> -	<button label="3. Physik" name="physics_btn"/> -	<button label="2. Optimieren" name="optimize_btn"/> -	<button label="1. Datei auswählen" name="choose_file_btn"/> -	<panel name="choose_file_panel"> -		<panel name="choose_file_header_panel"> -			<text name="choose_file_header_text"> -				Modelldatei auswählen -			</text> -		</panel> -		<panel name="choose_file_content"> -			<text name="advanced_users_text"> -				Fortgeschrittene Benutzer: Wenn Sie bereits mit Tools zur Erstellung von 3D-Inhalten vertraut sind, können Sie den erweiterten Uploader verwenden. -			</text> -			<button label="Auf Erweitert wechseln" name="switch_to_advanced"/> -			<text name="Cache location"> -				Hochzuladende Modelldatei auswählen -			</text> -			<button label="Durchsuchen..." label_selected="Durchsuchen..." name="browse"/> -			<text name="Model types"> -				Second Life unterstützt COLLADA-Dateien (.dae). -			</text> -			<text name="dimensions"> -				X         Y         Z -			</text> -			<text name="warning_label"> -				ACHTUNG: -			</text> -			<text name="warning_text"> -				Sie können den letzten Schritt nicht abschließen (Modell auf Second Life-Server hochladen). [secondlife:///app/floater/learn_more Weitere Infos], wie Sie Ihr Konto zum Hochladen von Netzmodellen einrichten. -			</text> -		</panel> -	</panel> -	<panel name="optimize_panel"> -		<panel name="optimize_header_panel"> -			<text name="optimize_header_text"> -				Modell optimieren -			</text> -		</panel> -		<text name="optimize_description"> -			Wir haben das Modell auf Leistung optimiert. Sie können es bei Bedarf weiter anpassen. -		</text> -		<panel name="optimize_content"> -			<text name="high_detail_text"> -				Detailstufe generieren: hoch -			</text> -			<text name="medium_detail_text"> -				Detailstufe generieren: mittel -			</text> -			<text name="low_detail_text"> -				Detailstufe generieren: niedrig -			</text> -			<text name="lowest_detail_text"> -				Detailstufe generieren: niedrigste -			</text> -		</panel> -		<panel name="content2"> -			<button label="Geometrie neu berechnen" name="recalculate_geometry_btn"/> -			<text name="lod_label"> -				Geometrievorschau -			</text> -			<combo_box name="preview_lod_combo" tool_tip="Detailstufe zur Anzeige in Vorschaudarstellung"> -				<combo_item name="high"> -					Viel Details -				</combo_item> -				<combo_item name="medium"> -					Mittlere Details -				</combo_item> -				<combo_item name="low"> -					Wenig Details -				</combo_item> -				<combo_item name="lowest"> -					Wenigste Details -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="physics_panel"> -		<panel name="physics_header_panel"> -			<text name="physics_header_text"> -				Physik anpassen -			</text> -		</panel> -		<text name="physics_description"> -			Wir erstellen eine Form für die Außenhülle des Modells. Passen Sie die Detailstufe der Form wie für den beabsichtigten Zweck erforderlich an. -		</text> -		<panel name="physics_content"> -			<button label="Physik neu berechnen" name="recalculate_physics_btn"/> -			<button label="Neu berechnen..." name="recalculating_physics_btn"/> -			<text name="lod_label"> -				Physikvorschau -			</text> -			<combo_box name="preview_lod_combo2" tool_tip="Detailstufe zur Anzeige in Vorschaudarstellung"> -				<combo_item name="high"> -					Viel Details -				</combo_item> -				<combo_item name="medium"> -					Mittlere Details -				</combo_item> -				<combo_item name="low"> -					Wenig Details -				</combo_item> -				<combo_item name="lowest"> -					Wenigste Details -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="review_panel"> -		<panel name="review_header_panel"> -			<text name="review_header_text"> -				Überprüfen -			</text> -		</panel> -		<panel name="review_content"> -			<text name="review_prim_equiv"> -				Auswirkung auf Parzelle/Region: Prim-Äquivalenzwert [EQUIV] -			</text> -			<text name="review_fee"> -				Die für das Hochladen anfallende Gebühr in Höhe von L$ [FEE] wird von Ihrem Konto abgebucht. -			</text> -			<text name="review_confirmation"> -				Durch Klicken auf „Hochladen“ bestätigen Sie, dass Sie die erforderlichen Rechte für das im Modell enthaltene Material besitzen. -			</text> -		</panel> -	</panel> -	<panel name="upload_panel"> -		<panel name="upload_header_panel"> -			<text name="upload_header_text"> -				Upload abgeschlossen -			</text> -		</panel> -		<text name="model_uploaded_text"> -			Ihr Modell wurde hochgeladen. -		</text> -		<text name="inventory_text"> -			Sie finden das Modell im Objektordner Ihres Inventars. -		</text> -		<text name="charged_fee"> -			Von Ihrem Konto wurden [FEE] L$ abgebucht. -		</text> -	</panel> -	<button label="<< Zurück" name="back"/> -	<button label="Weiter >>" name="next"/> -	<button label="Gewichte und Gebühr berechnen >>" name="calculate"/> -	<button label="Berechnen..." name="calculating"/> -	<button label="Hochladen" name="upload" tool_tip="An Simulator hochladen"/> -	<button label="Abbrechen" name="cancel"/> -	<button label="Schließen" name="close"/> -	<spinner name="import_scale" value="1,0"/> -	<string name="status_idle"> -		Inaktiv -	</string> -	<string name="status_parse_error"> -		DAE-Parsing-Fehler. Details siehe Protokoll. -	</string> -	<string name="status_reading_file"> -		Laden... -	</string> -	<string name="status_generating_meshes"> -		Netze werden generiert... -	</string> -	<string name="status_vertex_number_overflow"> -		Fehler: Anzahl von Vertices überschreitet 65534. Operation abgebrochen. -	</string> -	<string name="bad_element"> -		Fehler: ungültiges Element. -	</string> -	<string name="high"> -		Hoch -	</string> -	<string name="medium"> -		Mittel -	</string> -	<string name="low"> -		Niedrig -	</string> -	<string name="lowest"> -		Niedrigste -	</string> -	<string name="mesh_status_good"> -		Ausliefern -	</string> -	<string name="mesh_status_na"> -		-- -	</string> -	<string name="mesh_status_none"> -		Keine -	</string> -	<string name="mesh_status_submesh_mismatch"> -		Detailstufen haben unterschiedliche Anzahl texturfähiger Flächen. -	</string> -	<string name="mesh_status_mesh_mismatch"> -		Detailstufen haben unterschiedliche Anzahl von Netzinstanzen. -	</string> -	<string name="mesh_status_too_many_vertices"> -		Detailstufe hat zu viele Vertices. -	</string> -	<string name="mesh_status_missing_lod"> -		Erforderliche Detailstufe fehlt. -	</string> -	<string name="layer_all"> -		Alle -	</string> -</floater> diff --git a/indra/newview/skins/default/xui/en/floater_im_session.xml b/indra/newview/skins/default/xui/en/floater_im_session.xml index ca73883e53..82014e8836 100644 --- a/indra/newview/skins/default/xui/en/floater_im_session.xml +++ b/indra/newview/skins/default/xui/en/floater_im_session.xml @@ -46,7 +46,7 @@         tab_group="2"         top="0"         height="200" -	     width="254" +	     width="244"         user_resize="true">          <button            height="20" @@ -73,10 +73,11 @@           parse_highlights="true"           parse_urls="true"          left="1" -         width="249"> +         width="238">          </chat_history>          <line_editor           bottom="0" +         left="3"           follows="left|right|bottom"  	 font="SansSerifSmall"           height="20" @@ -84,7 +85,7 @@           layout="bottomleft"           name="chat_editor"           tab_group="3" -         width="249"> +         width="236">          </line_editor>      </layout_panel>    </layout_stack> diff --git a/indra/newview/skins/default/xui/en/floater_model_preview.xml b/indra/newview/skins/default/xui/en/floater_model_preview.xml index 0e211551e6..5e92a12251 100644 --- a/indra/newview/skins/default/xui/en/floater_model_preview.xml +++ b/indra/newview/skins/default/xui/en/floater_model_preview.xml @@ -1,8 +1,16 @@  <?xml version="1.0" encoding="utf-8" standalone="yes" ?> -<floater can_close="true" can_drag_on_left="false" can_minimize="false" -     can_resize="false" height="480" min_height="480" min_width="940" -     name="Model Preview" title="UPLOAD MODEL" width="940" -      help_topic="upload_model" > +<floater + can_close="true" + can_drag_on_left="false" + can_minimize="false" + can_resize="false" + height="480" + min_height="480" + width="980" + min_width="980" + name="Model Preview" + title="UPLOAD MODEL" + help_topic="upload_model" >    <string name="status_idle"></string>    <string name="status_parse_error">Error: Dae parsing issue - see log for details.</string> @@ -98,7 +106,7 @@        top_pad="15"        left="0"        height="300" -      width="625" +      width="635"        name="import_tab"        tab_position="top">        <!-- LOD PANEL --> @@ -116,13 +124,13 @@               left="3"               name="lod_tab_border"               top_pad="0" -             width="619" /> +             width="629" />            <text             follows="left|top"             height="18"             initial_value="Source"             layout="topleft" -           left="75" +           left="85"             name="source"             text_color="ModelUploaderLabels"             top="15" @@ -165,7 +173,7 @@               top_pad="10"               valign="top"               value="High" -             width="65" /> +             width="75" />              <combo_box               follows="top|left"               height="20" @@ -175,10 +183,10 @@               top_delta="-3"               width="135">                  <item -                 id="Load from file" +                 name="Load from file"                   value="Load from file" />                  <item -                 id="Generate" +                 name="Generate"                   value="Generate" />              </combo_box>              <line_editor @@ -210,10 +218,10 @@               visible="false"               width="135">                  <item -                 id="Triangle Limit" +                 name="Triangle Limit"                   value="Triangle Limit" />                  <item -                 id="Error Threshold" +                 name="Error Threshold"                   value="Error Threshold" />              </combo_box>              <spinner @@ -290,7 +298,7 @@               top_pad="15"               valign="top"               value="Medium" -             width="65" /> +             width="75" />              <combo_box               follows="top|left"               height="20" @@ -300,13 +308,13 @@               top_delta="-3"               width="135">                  <item -                 id="Load from file" +                 name="Load from file"                   value="Load from file" />                  <item -                 id="Generate" +                 name="Generate"                   value="Generate" />                  <item -                 id="Use LoD above" +                 name="Use LoD above"                   value="Use LoD above" />              </combo_box>              <line_editor @@ -339,10 +347,10 @@               top_delta="0"               width="135">                  <item -                 id="Triangle Limit" +                 name="Triangle Limit"                   value="Triangle Limit" />                  <item -                 id="Error Threshold" +                 name="Error Threshold"                   value="Error Threshold" />              </combo_box>              <spinner @@ -418,7 +426,7 @@               top_pad="15"               valign="top"               value="Low" -             width="65" /> +             width="75" />              <combo_box               follows="top|left"               height="20" @@ -428,13 +436,13 @@               top_delta="-3"               width="135">                  <item -                 id="Load from file" +                 name="Load from file"                   value="Load from file" />                  <item -                 id="Generate" +                 name="Generate"                   value="Generate" />                  <item -                 id="Use LoD above" +                 name="Use LoD above"                   value="Use LoD above" />              </combo_box>              <line_editor @@ -467,10 +475,10 @@               top_delta="0"               width="135">                  <item -                 id="Triangle Limit" +                 name="Triangle Limit"                   value="Triangle Limit" />                  <item -                 id="Error Threshold" +                 name="Error Threshold"                   value="Error Threshold" />              </combo_box>              <spinner @@ -546,7 +554,7 @@               top_pad="15"               valign="top"               value="Lowest" -             width="65" /> +             width="75" />              <combo_box               follows="top|left"               height="20" @@ -556,13 +564,13 @@               top_delta="-3"               width="135">                  <item -                 id="Load from file" +                 name="Load from file"                   value="Load from file" />                  <item -                 id="Generate" +                 name="Generate"                   value="Generate" />                  <item -                 id="Use LoD above" +                 name="Use LoD above"                   value="Use LoD above" />              </combo_box>              <line_editor @@ -595,10 +603,10 @@               top_delta="0"               width="135">                  <item -                 id="Triangle Limit" +                 name="Triangle Limit"                   value="Triangle Limit" />                  <item -                 id="Error Threshold" +                 name="Error Threshold"                   value="Error Threshold" />              </combo_box>              <spinner @@ -1201,7 +1209,7 @@           name="calculate_btn"           top="3"           height="20" -         width="150" +         width="165"           tool_tip="Calculate weights &fee"/>         <button           follows="top|left" @@ -1234,7 +1242,7 @@           right="-2"           top="3"           height="20" -         width="155"/> +         width="275"/>         <!-- ========== WEIGHTS ==========-->         <text           follows="top|left" @@ -1343,7 +1351,7 @@    layout="topleft"    name="right_panel"    top_pad="5" -  width="290"> +  width="340">      <combo_box        top_pad="3"        follows="left|top" diff --git a/indra/newview/skins/default/xui/en/floater_model_wizard.xml b/indra/newview/skins/default/xui/en/floater_model_wizard.xml deleted file mode 100644 index 62b8c5f96e..0000000000 --- a/indra/newview/skins/default/xui/en/floater_model_wizard.xml +++ /dev/null @@ -1,841 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes" ?> -<floater - legacy_header_height="18" - layout="topleft" - name="Model Wizard" - help_topic="model_wizard" - bg_opaque_image_overlay="0.5 0.5 0.5 1" - height="480" - save_rect="true" - title="UPLOAD MODEL WIZARD" - width="535"> -	<button -	 top="32" -	 tab_stop="false" -	 left="410" -	 height="32" -	 name="upload_btn" -	 enabled="false" -	 label="5. Upload" -	 border="false" -	 image_unselected="BreadCrumbBtn_Right_Off" -	 image_selected="BreadCrumbBtn_Right_Press" -	 image_hover_unselected="BreadCrumbBtn_Right_Over" -	 image_disabled="BreadCrumbBtn_Right_Disabled" -	 image_disabled_selected="BreadCrumbBtn_Right_Disabled" -	 width="110"> -		<button.commit_callback -		function="Wizard.Upload"/> -	</button> -	<button -	 top="32" -	 left="310" -	 height="32" -	 tab_stop="false" -	 name="review_btn" -	 label="4. Review" -	 enabled="false" -	 border="false" -	 image_unselected="BreadCrumbBtn_Middle_Off" -	 image_selected="BreadCrumbBtn_Middle_Press" -	 image_hover_unselected="BreadCrumbBtn_Middle_Over" -	 image_disabled="BreadCrumbBtn_Middle_Disabled" -	 image_disabled_selected="BreadCrumbBtn_Middle_Disabled" -	 width="110"> -		<button.commit_callback -		function="Wizard.Review"/> -	</button> -	<button -	 top="32" -	 left="210" -	 height="32" -	 name="physics_btn" -	 label="3. Physics" -	 tab_stop="false" -	 enabled="false" -	 border="false" -	 image_unselected="BreadCrumbBtn_Middle_Off" -	 image_selected="BreadCrumbBtn_Middle_Press" -	 image_hover_unselected="BreadCrumbBtn_Middle_Over" -	 image_disabled="BreadCrumbBtn_Middle_Disabled" -	 image_disabled_selected="BreadCrumbBtn_Middle_Disabled" -	 width="110"> -		<button.commit_callback -		function="Wizard.Physics"/> -	</button> -	<button -	 top="32" -	 left="115" -	 name="optimize_btn" -	 label="2. Optimize" -	 tab_stop="false" -	 height="32" -	 border="false" -	 image_unselected="BreadCrumbBtn_Middle_Off" -	 image_selected="BreadCrumbBtn_Middle_Press" -	 image_hover_unselected="BreadCrumbBtn_Middle_Over" -	 image_disabled="BreadCrumbBtn_Middle_Disabled" -	 image_disabled_selected="BreadCrumbBtn_Middle_Disabled" -	 width="110"> -		<button.commit_callback -		function="Wizard.Optimize"/> -	</button> -	<button -	 top="32" -	 left="15" -	 name="choose_file_btn" -	 tab_stop="false" -	 enabled="false" -	 label="1. Choose File" -	 height="32" -	 image_unselected="BreadCrumbBtn_Left_Off" -	 image_selected="BreadCrumbBtn_Left_Press" -	 image_hover_unselected="BreadCrumbBtn_Left_Over" -	 image_disabled="BreadCrumbBtn_Left_Disabled" -	 image_disabled_selected="BreadCrumbBtn_Left_Disabled" -	 width="110"> -		<button.commit_callback -		function="Wizard.Choose"/> -	</button> -	<panel -		 height="388" -		 top_pad="0" -		 name="choose_file_panel" -		 visible="false" -		 width="535" -		 left="0"> -		<panel -		 height="22" -		 top_pad="15" -		 width="505" -		 name="choose_file_header_panel" -		 bg_opaque_color="DkGray2" -		 background_visible="true" -		 background_opaque="true" -		 left="15"> -			<text -			 width="200" -			 left="10" -			 top="3" -			 name="choose_file_header_text" -			 text_color="White" -			 height="10" -			 font="SansSerifBig" -			 layout="topleft"> -				Choose model file -			</text> -		</panel> -		<panel -		 top_pad="14" -		 left="15" -		 height="310" -		 width="505" -		 name="choose_file_content" -		 bg_opaque_color="DkGray2" -		 background_visible="true" -		 background_opaque="true"> -            <text -			 height="32" -			 left="10" -			 name="advanced_users_text" -			 text_color="White" -			 top="15" -			 width="320" -			 word_wrap="true"> -				Advanced users: If you are familiar with 3D content creation tools you may wish to use the Advanced Uploader. -			</text> -			<button -			 follows="left|top" -			 height="20" -			 label="Switch to Advanced" -			 layout="topleft" -			 left_delta="0" -			 name="switch_to_advanced" -			 top_pad="5" -			 width="130"> -			</button> -			<text -			 type="string" -			 length="1" -			 text_color="White"  -			 follows="left|top" -			 top_pad="30" -			 height="10" -			 layout="topleft" -			 left_delta="0" -			 name="Cache location" -			 width="320"> -				Choose model file to upload -			</text> -			<line_editor -			 border_style="line" -			 border_thickness="1" -			 follows="left|top" -			 font="SansSerifSmall" -			 height="20" -			 layout="topleft" -			 left_delta="0" -			 max_length="4096" -			 name="lod_file" -			 top_pad="5" -			 width="230" /> -			<button -			 follows="left|top" -			 height="23" -			 label="Browse..." -			 label_selected="Browse..." -			 layout="topleft" -			 left_pad="5" -			 name="browse" -			 top_delta="-1" -			 width="85"> -			</button> -			<text -			 type="string" -			 length="1" -			 text_color="White"  -			 follows="left|top" -			 top_pad="5" -			 height="10" -			 layout="topleft" -			 left="10" -			 name="Model types" -			 width="320"> -				Second Life supports COLLADA (.dae) files -			</text> -			<!-- Placeholder panel for 3D preview render --> -			<panel -			 top="30" -			 right="-10" -			 name="choose_file_preview_panel" -			 bevel_style="none" -			 highlight_light_color="0.09 0.09 0.09 1" -			 border="true" -			 border_style="line" -			 height="150" -			 follows="all" -			 width="150"> -			</panel> -			<text -			 top_pad="10" -			 width="130" -			 height="14" -			 left_delta="0" -			 text_color="White" -			 word_wrap="true"> -				Dimensions (meters): -			</text> -			<text -			 top_pad="0" -			 width="160" -			 height="15" -			 font="SansSerifSmallBold"  -			 text_color="White" -			 name="dimensions" -			 left_delta="0"> -				X         Y         Z  -			</text> -			<text -			 top_delta="0" -			 width="160" -			 height="15" -			 name="dimension_x" -			 left="356"/> -			<text -			 top_delta="0" -			 width="160" -			 height="15" -			 name="dimension_y" -			 left="403"/> -			<text -			 top_delta="0" -			 width="160" -			 height="15" -			 name="dimension_z" -			 left="450"/> -            <text -             height="16" -             left="10" -             name="warning_label" -             text_color="Yellow" -             top="200" -             visible="false" -             width="320"> -                WARNING: -            </text> -            <text -             height="50" -             left="10" -             name="warning_text" -             top_pad="0" -             visible="false" -             width="320" -             word_wrap="true"> -                You will not be able to complete the final step of uploading this model to the Second Life servers. [secondlife:///app/floater/learn_more Find out how] to set up your account for mesh model uploads.  -            </text> -		</panel> -	</panel> - - -	<panel -		 height="388" -		 top_delta="0" -		 name="optimize_panel" -		 visible="true" -		 width="535" -		 left="0"> -		<panel -		 height="22" -		 top_pad="15" -		 name="optimize_header_panel" -		 width="505" -		 bg_opaque_color="DkGray2" -		 background_visible="true" -		 background_opaque="true" -		 left="15"> -			<text -			 width="200" -			 left="10" -			 name="optimize_header_text" -			 top="3" -			 text_color="White" -			 height="10" -			 font="SansSerifBig" -			 layout="topleft"> -				Optimize model -			</text> -		</panel> -		<text -		 top_pad="14" -		 width="460" -		 height="20" -		 font="SansSerifSmall" -		 layout="topleft" -		 name="optimize_description" -		 word_wrap="true" -		 left_delta="5"> -			We have optimized the model for performance. Adjust it further if you wish. -		</text> -		<panel -		 top_delta="40" -		 visible="false" -		 left="15" -		 height="270" -		 width="505" -		 name="optimize_content" -		 bg_opaque_color="DkGray2" -		 background_visible="true" -		 background_opaque="true"> -			<text -			 top="20" -			 width="300" -			 height="12" -			 font="SansSerifBold" -			 left="112">Generating Level of Detail</text> -			<progress_bar -			  name="optimize_progress_bar" -              image_fill="model_wizard\progress_light.png" -			  color_bg="1 1 1 1" -			  color_bar="1 1 1 0.96" -			  follows="left|right|top" -			  width="260" -			  height="16" -			  image_bar="model_wizard\progress_bar_bg.png" -			  top_pad="14" -			  left="110"/> -			<icon -			 top_pad="10" -			 left_delta="0" -			 width="13" -			 height="12" -			 image_name="model_wizard\check_mark.png"/> -			<text -			 top_delta="0" -			 left_delta="18" -			 name="high_detail_text" -			 width="200" -			 height="14">Generate Level of Detail: High</text> -			<icon -			 top_pad="10" -			 left_delta="-18" -			 width="13" -			 height="12" -			 image_name="model_wizard\check_mark.png"/> -			<text -			 top_delta="0" -			 left_delta="18" -			 name="medium_detail_text" -			 width="200" -			 height="14">Generate Level of Detail: Medium</text> -			<icon -			 top_pad="10" -			 left_delta="-18" -			 width="13" -			 height="12" -			 image_name="model_wizard\check_mark.png"/> -			<text -			 top_delta="0" -			 left_delta="18" -			 name="low_detail_text" -			 width="200" -			 height="14">Generate Level of Detail: Low</text> -			<icon -			 top_pad="10" -			 left_delta="-18" -			 width="13" -			 height="12" -			 image_name="model_wizard\check_mark.png"/> -			<text -			 top_delta="0" -			 left_delta="18" -			 name="lowest_detail_text" -			 width="200" -			 height="14">Generate Level of Detail: Lowest</text> -		</panel> -		<panel -				 top_delta="0" -				 left_delta="0" -				 height="270" -				 width="505" -				 name="content2" -				 bg_opaque_color="DkGray2" -				 background_visible="true" -				 background_opaque="true"> -			<text top="69" left="10" text_color="White" font="SansSerifSmallBold" width="120" height="16" wrap="true">Performance</text> -			<text top="85" left="10" width="120" word_wrap="true" font="SansSerifSmall" height="40">Faster rendering -Less detail -Lower prim weight</text> -			<text top="69" left="184" text_color="White" font="SansSerifSmallBold" width="120" height="16" wrap="true">Accuracy</text> -			<text top="85" left="184" width="120" word_wrap="true" font="SansSerifSmall" height="40">Slower rendering -More detail -Higher prim weight</text> - -          <slider -		   follows="left|top" -		   height="20" -		   increment="1" -		   layout="topleft" -		   left="10" -		   max_val="2" -		   initial_value="1" -		   min_val="0" -		   name="accuracy_slider" -		   show_text="false" -		   top="130" -		   width="290" /> -          <text  -			font="SansSerifSmall"  -			top_pad="0"   -			width="5"  -			left_delta="6"  -			height="4">'   -          </text> -          <text  -			font="SansSerifSmall"  -			top_delta="0"   -			width="5"  -			left_delta="137"  -			height="4">'   -          </text> -          <text  -			font="SansSerifSmall"  -			top_delta="0"   -			width="5"  -			left_delta="137"  -			height="4">'   -          </text> -          <button -			follows="left|top" -			height="20" -			label="Recalculate Geometry" -			layout="topleft" -			left="80" -			name="recalculate_geometry_btn" -			top_pad="15" -            width="150"> -          </button> -			<text top="10" right="-10" width="185" text_color="White" follows="left|top" height="15" name="lod_label"> -				Geometry preview -			</text> -			<panel -				 right="-10" -				 top="32" -				 name="optimize_preview_panel" -				 bevel_style="none" -				 highlight_light_color="0.09 0.09 0.09 1" -				 border_style="line" -				 border="true" -				 height="185" -				 follows="all" -				 width="185"> -			</panel> -			<combo_box left_delta="75" top_pad="10"  follows="left|top" list_position="below" height="22" -	     name="preview_lod_combo" width="110" tool_tip="LOD to view in preview render"> -				<combo_item name="high"> -					High detail -				</combo_item> -				<combo_item name="medium"> -					Medium detail -				</combo_item> -				<combo_item name="low"> -					Low detail -				</combo_item> -				<combo_item name="lowest"> -					Lowest detail -				</combo_item> -			</combo_box> -		</panel> -	</panel> - -	<panel -		 height="388" -		 top_delta="0" -		 name="physics_panel" -		 visible="false" -		 width="535" -		 left="0"> -		<panel -		 height="22" -		 top_pad="15" -		 name="physics_header_panel" -		 width="505" -		 bg_opaque_color="DkGray2" -		 background_visible="true" -		 background_opaque="true" -		 left="15"> -			<text -			 width="200" -			 left="10" -			 name="physics_header_text" -			 top="3" -			 height="10" -			 font="SansSerifBig" -			 text_color="White"  -			 layout="topleft"> -				Adjust physics -			</text> -		</panel> -		<text -		 top_pad="10" -		 width="474" -		 height="50" -		 font="SansSerifSmall" -		 layout="topleft" -		 name="physics_description" -		 word_wrap="true" -		 left_delta="5"> -			We will create a shape for the outer hull of the model. Adjust the shape's detail level as needed for the intended purpose of your model. -		</text> -    <panel -		 top_delta="44" -		 left="15" -		 height="270" -		 width="505" -		 name="physics_content" -		 bg_opaque_color="DkGray2" -		 background_visible="true" -		 background_opaque="true"> -      <text top="10" left="10" text_color="White" font="SansSerifSmallBold" width="120" halign="right" height="16" wrap="true">Performance</text> -      <text top="26" left="10" width="120" word_wrap="true" font="SansSerifSmall" halign="right" height="40">Faster rendering -Less detail -Lower prim weight</text> -      <text top="174" left="10" text_color="White" font="SansSerifSmallBold" width="120" halign="right" height="16" wrap="true">Accuracy</text> -      <text top="190" left="10" width="120" word_wrap="true" font="SansSerifSmall" halign="right" height="40">Slower rendering -More detail -Higher prim weight</text> - -      <slider -		   follows="left|top" -		   height="190" -		   increment=".1" -		   layout="topleft" -		   left="140" -		   max_val="1" -		   initial_value="0.5" -		   min_val="0" -		   name="physics_slider" -		   orientation="vertical" -		   show_text="false" -		   top="25" -		   width="22" /> -      <text top="10" width="120" word_wrap="true" left_pad="10" height="50">Examples: -Moving objects -Flying objects -Vehicles</text> -      <text top="95" width="120" word_wrap="true" left_delta="0" height="50">Examples: -Small static objects -Less detailed objects -Simple furniture</text> -      <text top="180" width="120" word_wrap="true" left_delta="0" height="50">Examples: -Static objects -Detailed objects -Buildings</text> -          <button -			follows="left|top" -			height="20" -			label="Recalculate physics" -			layout="topleft" -			left="80" -			name="recalculate_physics_btn" -			top_pad="10" -            width="150"> -          </button> -          <button -            enabled="false" -			follows="left|top" -			height="20" -			label="Recalculating..." -			layout="topleft" -			left_delta="0" -			name="recalculating_physics_btn" -			top_delta="0" -			visible="false" -            width="150"> -          </button> -			<text top="10" right="-10" width="185" text_color="White" follows="left|top" height="15" name="lod_label"> -				Physics preview -			</text> -			<panel -				 right="-10" -				 top="32" -				 name="physics_preview_panel" -				 bevel_style="none" -				 highlight_light_color="0.09 0.09 0.09 1" -				 border_style="line" -				 border="true" -				 height="185" -				 follows="all" -				 width="185"> -			</panel> -			<combo_box left_delta="75" top_pad="10"  follows="left|top" list_position="below" height="22" -	     name="preview_lod_combo2" width="110" tool_tip="LOD to view in preview render"> -				<combo_item name="high"> -					High detail -				</combo_item> -				<combo_item name="medium"> -					Medium detail -				</combo_item> -				<combo_item name="low"> -					Low detail -				</combo_item> -				<combo_item name="lowest"> -					Lowest detail -				</combo_item> -			</combo_box> -    </panel> -	</panel> - -	<panel -		 height="388" -		 top_delta="0" -		 name="review_panel" -		 visible="false" -		 width="535" -		 left="0"> -		<panel -		 height="22" -		 top_pad="15" -		 name="review_header_panel" -		 width="505" -		 bg_opaque_color="DkGray2" -		 background_visible="true" -		 background_opaque="true" -		 left="15"> -			<text -			 width="200" -			 left="10" -			 name="review_header_text" -			 text_color="White"  -			 top="3" -			 height="10" -			 font="SansSerifBig" -			 layout="topleft"> -				Review -			</text> -		</panel> -		<panel -		 top_pad="14" -		 left="15" -		 height="310" -		 width="505" -		 name="review_content" -		 bg_opaque_color="DkGray2" -		 background_visible="true" -		 background_opaque="true"> -			<text -			 top="20" -			 width="485" -			 font="SansSerifMedium" -			 text_color="White" -			 left="10" -			 name="review_prim_equiv" -			 height="16">Impact to parcel/region: [EQUIV] prim equivalents -			</text> -			<text -			 top_pad="20" -			 width="485" -			 font="SansSerifMedium" -			 text_color="White" -			 left="10" -			 name="review_fee" -			 height="16">Your account will be charged an upload fee of L$ [FEE]. -			</text> -			<text  -			 top_pad="20" -			 width="485" -			 font="SansSerifMedium" -			 text_color="White" -			 left="10" -			 name="review_confirmation" -			 height="32" -			 word_wrap="true">By clicking the upload button, you confirm that you have the appropriate rights to the material contained in the model. -			</text> -      </panel> -	</panel> - - - - -	<panel -		 height="388" -		 top_delta="0" -		 name="upload_panel" -		 visible="false" -		 width="535" -		 left="0"> -		<panel -		 height="22" -		 top_pad="15" -		 name="upload_header_panel" -		 width="505" -		 bg_opaque_color="DkGray2" -		 background_visible="true" -		 background_opaque="true" -		 left="15"> -			<text -			 width="200" -			 left="10" -			 name="upload_header_text" -			 top="3" -			 text_color="White"  -			 height="10" -			 font="SansSerifBig" -			 layout="topleft"> -				Upload complete -			</text> -		</panel> -		<text -		 top_pad="14" -		 width="495" -		 height="16" -		 font="SansSerifMedium" -		 layout="topleft" -		 name="model_uploaded_text" -		 text_color="White" -		 word_wrap="true" -		 left="25"> -			Your model has been uploaded. -		</text> -		<text -		 top_pad="5" -		 width="495" -		 height="16" -		 font="SansSerifMedium" -		 layout="topleft" -		 name="inventory_text" -		 text_color="White" -		 word_wrap="true" -		 left="25"> -			You will find it in the Objects folder in your inventory. -		</text> -		<text -		 top_pad="20" -		 width="495" -		 font="SansSerifMedium" -		 text_color="White" -		 left="25" -		 name="charged_fee" -		 height="16">Your account has been charged L$ [FEE]. -		</text> -	</panel> - - - -	<button -	 top="440" -	 right="-285" -	 width="90" -	 height="22" -	 name="back" -	 label="<< Back" /> -	<button -	 top_delta="0" -	 right="-190" -	 width="90" -	 height="22" -	 name="next" -	 label="Next >> " /> -	<button -	 top_delta="0" -	 left_delta="0" -	 width="160" -	 height="22" -	 name="calculate" -	 label="Calculate weights & fee >> " /> -	<button -	 enabled="false" -	 visible="false" -	 top_delta="0" -	 left_delta="0" -	 width="160" -	 height="22" -	 name="calculating" -	 label="Calculating... " /> -	<button -	 enabled="false" -	 top_delta="0" -	 right="-150" -	 width="90" -	 height="22" -	 visible="false"  -	 name="upload"  -	 tool_tip="Upload to simulator" -	 label="Upload" /> -	<button -	 top_delta="0" -	 right="-15" -	 width="90" -	 height="22" -	 name="cancel" -	 label="Cancel" /> -	<button -	 top_delta="0" -	 right="-15" -	 width="90" -	 height="22" -	 name="close" -	 visible="false"  -	 label="Close" /> -	<spinner visible="false" left="10" height="20" follows="top|left" width="80" top_pad="-50" value="1.0" min_val="0.01" max_val="64.0" name="import_scale"/> - -	<string name="status_idle">Idle</string> -  <string name="status_parse_error">Dae parsing issue - see log for details.</string> -	<string name="status_reading_file">Loading...</string> -	<string name="status_generating_meshes">Generating Meshes...</string> -	<string name="status_vertex_number_overflow">Error: Vertex number is more than 65534, aborted!</string> -	<string name="bad_element">Error: element is invalid</string> -	<string name="high">High</string> -	<string name="medium">Medium</string> -	<string name="low">Low</string> -	<string name="lowest">Lowest</string> -	<string name="mesh_status_good">Ship it!</string> -	<string name="mesh_status_na">N/A</string> -	<string name="mesh_status_none">None</string> -	<string name="mesh_status_submesh_mismatch">Levels of detail have a different number of textureable faces.</string> -	<string name="mesh_status_mesh_mismatch">Levels of detail have a different number of mesh instances.</string> -	<string name="mesh_status_too_many_vertices">Level of detail has too many vertices.</string> -	<string name="mesh_status_missing_lod">Missing required level of detail.</string> -	<string name="layer_all">All</string> -	<!-- Text to display in physics layer combo box for "all layers" --> - -</floater> diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml index a6898c554f..4e38f005a7 100644 --- a/indra/newview/skins/default/xui/en/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en/menu_viewer.xml @@ -291,6 +291,12 @@                function="SideTray.PanelPeopleTab"                parameter="nearby_panel" />          </menu_item_call> +        <menu_item_call +         label="Block List" +         name="Block List"> +            <menu_item_call.on_click +              function="Communicate.BlockList" /> +        </menu_item_call>      </menu>      <menu       create_jump_keys="true" diff --git a/indra/newview/skins/default/xui/es/floater_model_wizard.xml b/indra/newview/skins/default/xui/es/floater_model_wizard.xml deleted file mode 100644 index 5bd6b5e0e5..0000000000 --- a/indra/newview/skins/default/xui/es/floater_model_wizard.xml +++ /dev/null @@ -1,208 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<floater name="Model Wizard" title="CARGAR ASISTENTE DE MODELO"> -	<button label="5. Subir" name="upload_btn"/> -	<button label="4. Revisar" name="review_btn"/> -	<button label="3. Física" name="physics_btn"/> -	<button label="2. Optimizar" name="optimize_btn"/> -	<button label="1. Seleccionar archivo" name="choose_file_btn"/> -	<panel name="choose_file_panel"> -		<panel name="choose_file_header_panel"> -			<text name="choose_file_header_text"> -				Elige el archivo de modelo -			</text> -		</panel> -		<panel name="choose_file_content"> -			<text name="advanced_users_text"> -				Usuarios avanzados: si tienes experiencia con las herramientas de creación de contenidos 3D, quizá te interese utilizar la función de subida avanzada. -			</text> -			<button label="Cambiar al modo Avanzado" name="switch_to_advanced"/> -			<text name="Cache location"> -				Elige el archivo de modelo que deseas subir -			</text> -			<button label="Examinar..." label_selected="Examinar..." name="browse"/> -			<text name="Model types"> -				Second Life admite los archivos COLLADA (.dae) -			</text> -			<text name="dimensions"> -				X         Y         Z -			</text> -			<text name="warning_label"> -				ATENCIÓN: -			</text> -			<text name="warning_text"> -				No podrás completar el paso final de la subida de este modelo a los servidores de Second Life. [secondlife:///app/floater/learn_more Averigua cómo] configurar tu cuenta para subir modelos de malla. -			</text> -		</panel> -	</panel> -	<panel name="optimize_panel"> -		<panel name="optimize_header_panel"> -			<text name="optimize_header_text"> -				Optimizar el modelo -			</text> -		</panel> -		<text name="optimize_description"> -			Hemos optimizado el rendimiento del modelo, pero puedes ajustarlo más si lo deseas. -		</text> -		<panel name="optimize_content"> -			<text name="high_detail_text"> -				Generar el nivel de detalle: Alto -			</text> -			<text name="medium_detail_text"> -				Generar el nivel de detalle: Medio -			</text> -			<text name="low_detail_text"> -				Generar el nivel de detalle: Bajo -			</text> -			<text name="lowest_detail_text"> -				Generar el nivel de detalle: Mínimo -			</text> -		</panel> -		<panel name="content2"> -			<button label="Recalcular la geometría" name="recalculate_geometry_btn"/> -			<text name="lod_label"> -				Vista previa de geometría -			</text> -			<combo_box name="preview_lod_combo" tool_tip="LOD para ver en renderizado de prueba"> -				<combo_item name="high"> -					Detalle alto -				</combo_item> -				<combo_item name="medium"> -					Detalles medios -				</combo_item> -				<combo_item name="low"> -					Detalle bajo -				</combo_item> -				<combo_item name="lowest"> -					Detalles mínimos -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="physics_panel"> -		<panel name="physics_header_panel"> -			<text name="physics_header_text"> -				Ajustar la física -			</text> -		</panel> -		<text name="physics_description"> -			Crearemos una forma para la apariencia exterior del modelo. Ajusta el nivel de detalle de la forma según se necesite para el propósito proyectado del modelo. -		</text> -		<panel name="physics_content"> -			<button label="Recalcular física" name="recalculate_physics_btn"/> -			<button label="Recalculando..." name="recalculating_physics_btn"/> -			<text name="lod_label"> -				Prueba de física -			</text> -			<combo_box name="preview_lod_combo2" tool_tip="LOD para ver en renderizado de prueba"> -				<combo_item name="high"> -					Detalle alto -				</combo_item> -				<combo_item name="medium"> -					Detalles medios -				</combo_item> -				<combo_item name="low"> -					Detalle bajo -				</combo_item> -				<combo_item name="lowest"> -					Detalles mínimos -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="review_panel"> -		<panel name="review_header_panel"> -			<text name="review_header_text"> -				Revisar -			</text> -		</panel> -		<panel name="review_content"> -			<text name="review_prim_equiv"> -				Impacto en la parcela/región: [EQUIV] equivalentes en prim -			</text> -			<text name="review_fee"> -				Cargaremos en tu cuenta el precio de subida de L$ [FEE]. -			</text> -			<text name="review_confirmation"> -				Al pulsar en el botón de subida, confirmas que posees los derechos necesarios sobre el material que contiene el modelo. -			</text> -		</panel> -	</panel> -	<panel name="upload_panel"> -		<panel name="upload_header_panel"> -			<text name="upload_header_text"> -				Subida finalizada -			</text> -		</panel> -		<text name="model_uploaded_text"> -			Se ha subido tu modelo. -		</text> -		<text name="inventory_text"> -			Puedes buscar la carpeta Objetos en tu inventario. -		</text> -		<text name="charged_fee"> -			Se han cargado [FEE] L$ en tu cuenta. -		</text> -	</panel> -	<button label="<< Atrás" name="back"/> -	<button label="Siguiente >>" name="next"/> -	<button label="Calcular pesos y precio >>" name="calculate"/> -	<button label="Calculando..." name="calculating"/> -	<button label="Subir" name="upload" tool_tip="Cargar al simulador"/> -	<button label="Cancelar" name="cancel"/> -	<button label="Cerrar" name="close"/> -	<spinner name="import_scale" value="1.0"/> -	<string name="status_idle"> -		Inactivo -	</string> -	<string name="status_parse_error"> -		Problema de análisis de DAE - consulta los datos en el registro. -	</string> -	<string name="status_reading_file"> -		Cargando... -	</string> -	<string name="status_generating_meshes"> -		Generando redes... -	</string> -	<string name="status_vertex_number_overflow"> -		Error: El número de intersección es superior a 65534. Cancelado. -	</string> -	<string name="bad_element"> -		Error: el elemento no es válido -	</string> -	<string name="high"> -		Alto -	</string> -	<string name="medium"> -		Media -	</string> -	<string name="low"> -		Bajo -	</string> -	<string name="lowest"> -		Mínimo -	</string> -	<string name="mesh_status_good"> -		Factúralo. -	</string> -	<string name="mesh_status_na"> -		N/A -	</string> -	<string name="mesh_status_none"> -		Ninguno -	</string> -	<string name="mesh_status_submesh_mismatch"> -		Los niveles de detalle poseen un número distinto de caras a las que se pueden aplicar texturas. -	</string> -	<string name="mesh_status_mesh_mismatch"> -		Los niveles de detalle poseen un número distinto de ejemplos de red. -	</string> -	<string name="mesh_status_too_many_vertices"> -		El nivel de detalle posee demasiadas intersecciones. -	</string> -	<string name="mesh_status_missing_lod"> -		Falta un nivel de detalle requerido. -	</string> -	<string name="layer_all"> -		Todo -	</string> -</floater> diff --git a/indra/newview/skins/default/xui/fr/floater_model_preview.xml b/indra/newview/skins/default/xui/fr/floater_model_preview.xml index a3b50351ae..0f272891c7 100644 --- a/indra/newview/skins/default/xui/fr/floater_model_preview.xml +++ b/indra/newview/skins/default/xui/fr/floater_model_preview.xml @@ -214,7 +214,7 @@  			</panel>  		</tab_container>  		<panel name="weights_and_warning_panel"> -			<button label="Calculer les poids et les frais." name="calculate_btn" tool_tip="Calculer les poids et les frais."/> +			<button label="Calculer les poids et les frais" name="calculate_btn" tool_tip="Calculer les poids et les frais."/>  			<button label="Annuler" name="cancel_btn"/>  			<button label="Charger le modèle" name="ok_btn" tool_tip="Charger dans le simulateur"/>  			<button label="Effacer les paramètres et réinitialiser le formulaire" name="reset_btn"/> diff --git a/indra/newview/skins/default/xui/fr/floater_model_wizard.xml b/indra/newview/skins/default/xui/fr/floater_model_wizard.xml deleted file mode 100644 index 128b9d6fa4..0000000000 --- a/indra/newview/skins/default/xui/fr/floater_model_wizard.xml +++ /dev/null @@ -1,208 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<floater name="Model Wizard" title="ASSISTANT DE CHARGEMENT DE MODÈLE"> -	<button label="5. Chargement" name="upload_btn"/> -	<button label="4. Vérification" name="review_btn"/> -	<button label="3. Propriétés physiques" name="physics_btn"/> -	<button label="2. Optimisation" name="optimize_btn"/> -	<button label="1. Sélection du fichier" name="choose_file_btn"/> -	<panel name="choose_file_panel"> -		<panel name="choose_file_header_panel"> -			<text name="choose_file_header_text"> -				Choisir un fichier de modèle -			</text> -		</panel> -		<panel name="choose_file_content"> -			<text name="advanced_users_text"> -				Utilisateurs expérimentés : si vous êtes habitué à utiliser des outils de création de contenu en 3D, l'outil de chargement avancé est mis à votre disposition. -			</text> -			<button label="Passer à Avancé" name="switch_to_advanced"/> -			<text name="Cache location"> -				Choisir un fichier de modèle à charger -			</text> -			<button label="Parcourir..." label_selected="Parcourir..." name="browse"/> -			<text name="Model types"> -				Second Life prend en charge les fichiers COLLADA (.dae). -			</text> -			<text name="dimensions"> -				X         Y         Z -			</text> -			<text name="warning_label"> -				AVERTISSEMENT : -			</text> -			<text name="warning_text"> -				Vous ne pourrez pas effectuer l'étape de chargement finale du modèle sur les serveurs Second Life. [secondlife:///app/floater/learn_more Découvrez comment] configurer votre compte pour le chargement de modèles de maillage. -			</text> -		</panel> -	</panel> -	<panel name="optimize_panel"> -		<panel name="optimize_header_panel"> -			<text name="optimize_header_text"> -				Optimiser le modèle -			</text> -		</panel> -		<text name="optimize_description"> -			Le modèle a été optimisé en termes de performances. Vous pouvez l'ajuster si vous le souhaitez. -		</text> -		<panel name="optimize_content"> -			<text name="high_detail_text"> -				Générer le niveau de détail : Élevé -			</text> -			<text name="medium_detail_text"> -				Générer le niveau de détail : Moyen -			</text> -			<text name="low_detail_text"> -				Générer le niveau de détail : Faible -			</text> -			<text name="lowest_detail_text"> -				Générer le niveau de détail : Le plus faible -			</text> -		</panel> -		<panel name="content2"> -			<button label="Recalcul géométrique" name="recalculate_geometry_btn"/> -			<text name="lod_label"> -				Aperçu de la géométrie -			</text> -			<combo_box name="preview_lod_combo" tool_tip="Niveau de détail à afficher en rendu d'aperçu."> -				<combo_item name="high"> -					Niveau de détail élevé -				</combo_item> -				<combo_item name="medium"> -					Niveau de détail moyen -				</combo_item> -				<combo_item name="low"> -					Niveau de détail faible -				</combo_item> -				<combo_item name="lowest"> -					Niveau de détail le plus faible -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="physics_panel"> -		<panel name="physics_header_panel"> -			<text name="physics_header_text"> -				Ajuster les propriétés physiques -			</text> -		</panel> -		<text name="physics_description"> -			Une forme va être créée pour l'enveloppe externe du modèle. Ajustez le niveau de détail de la forme en fonction de l'objectif souhaité pour votre modèle. -		</text> -		<panel name="physics_content"> -			<button label="Recalcul physique" name="recalculate_physics_btn"/> -			<button label="Recalcul en cours..." name="recalculating_physics_btn"/> -			<text name="lod_label"> -				Aperçu des propriétés physiques -			</text> -			<combo_box name="preview_lod_combo2" tool_tip="Niveau de détail à afficher en rendu d'aperçu."> -				<combo_item name="high"> -					Niveau de détail élevé -				</combo_item> -				<combo_item name="medium"> -					Niveau de détail moyen -				</combo_item> -				<combo_item name="low"> -					Niveau de détail faible -				</combo_item> -				<combo_item name="lowest"> -					Niveau de détail le plus faible -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="review_panel"> -		<panel name="review_header_panel"> -			<text name="review_header_text"> -				Vérification -			</text> -		</panel> -		<panel name="review_content"> -			<text name="review_prim_equiv"> -				Impact sur la parcelle/région : équivalent à [EQUIV] prims -			</text> -			<text name="review_fee"> -				Votre compte sera débité de [FEE] L$ de frais de chargement. -			</text> -			<text name="review_confirmation"> -				En cliquant sur le bouton de chargement, vous confirmez que vous disposez des droits appropriés sur le contenu du modèle. -			</text> -		</panel> -	</panel> -	<panel name="upload_panel"> -		<panel name="upload_header_panel"> -			<text name="upload_header_text"> -				Chargement terminé -			</text> -		</panel> -		<text name="model_uploaded_text"> -			Votre modèle a été chargé. -		</text> -		<text name="inventory_text"> -			Vous le trouverez dans le dossier Objets de votre inventaire. -		</text> -		<text name="charged_fee"> -			Votre compte a été débité de [FEE] L$. -		</text> -	</panel> -	<button label="<< Préc." name="back"/> -	<button label="Suiv. >>" name="next"/> -	<button label="Calculer les poids et les frais >>" name="calculate"/> -	<button label="Calcul en cours..." name="calculating"/> -	<button label="Charger" name="upload" tool_tip="Charger dans le simulateur."/> -	<button label="Annuler" name="cancel"/> -	<button label="Fermer" name="close"/> -	<spinner name="import_scale" value="1.0"/> -	<string name="status_idle"> -		Inactif -	</string> -	<string name="status_parse_error"> -		Problème d'analyse de fichier .dae ; reportez-vous au journal pour plus de détails. -	</string> -	<string name="status_reading_file"> -		Chargement... -	</string> -	<string name="status_generating_meshes"> -		Génération des maillages... -	</string> -	<string name="status_vertex_number_overflow"> -		Erreur : valeur de sommet supérieure à 65534. Opération abandonnée. -	</string> -	<string name="bad_element"> -		Erreur : élément non valide -	</string> -	<string name="high"> -		Élevé -	</string> -	<string name="medium"> -		Moyen -	</string> -	<string name="low"> -		Faible -	</string> -	<string name="lowest"> -		Le plus faible -	</string> -	<string name="mesh_status_good"> -		Bon à publier ! -	</string> -	<string name="mesh_status_na"> -		N/A -	</string> -	<string name="mesh_status_none"> -		Aucun -	</string> -	<string name="mesh_status_submesh_mismatch"> -		Un nombre différent de faces d'application de texture est associé aux niveaux de détail. -	</string> -	<string name="mesh_status_mesh_mismatch"> -		Un nombre différent d'instances de maillage est associé aux niveaux de détail. -	</string> -	<string name="mesh_status_too_many_vertices"> -		Trop de sommets pour le niveau de détail. -	</string> -	<string name="mesh_status_missing_lod"> -		Niveau de détail requis manquant. -	</string> -	<string name="layer_all"> -		Tout -	</string> -</floater> diff --git a/indra/newview/skins/default/xui/it/floater_model_wizard.xml b/indra/newview/skins/default/xui/it/floater_model_wizard.xml deleted file mode 100644 index ab5fdb29e4..0000000000 --- a/indra/newview/skins/default/xui/it/floater_model_wizard.xml +++ /dev/null @@ -1,208 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<floater name="Model Wizard" title="PROCEDURA GUIDATA CARICA MODELLO"> -	<button label="5. Carica sul server" name="upload_btn"/> -	<button label="4. Rivedi" name="review_btn"/> -	<button label="3. Fisica" name="physics_btn"/> -	<button label="2. Ottimizza" name="optimize_btn"/> -	<button label="1. Seleziona file" name="choose_file_btn"/> -	<panel name="choose_file_panel"> -		<panel name="choose_file_header_panel"> -			<text name="choose_file_header_text"> -				Seleziona file modello -			</text> -		</panel> -		<panel name="choose_file_content"> -			<text name="advanced_users_text"> -				Utenti avanzati: Gli utenti che hanno dimestichezza con gli strumenti di creazione 3D possono usare le opzioni di caricamento avanzate. -			</text> -			<button label="Passa a modalità avanzata" name="switch_to_advanced"/> -			<text name="Cache location"> -				Scegli il file del modello da caricare -			</text> -			<button label="Sfoglia..." label_selected="Sfoglia..." name="browse"/> -			<text name="Model types"> -				Second Life supporta file COLLADA (.dae) -			</text> -			<text name="dimensions"> -				X         Y         Z -			</text> -			<text name="warning_label"> -				ATTENZIONE: -			</text> -			<text name="warning_text"> -				Non sarà possibile completare il passaggio finale per il caricamento finale di questo modello sui server di Second Life. [secondlife:///app/floater/learn_more Scopri come] impostare l'account per il caricamento di modelli con reticolo. -			</text> -		</panel> -	</panel> -	<panel name="optimize_panel"> -		<panel name="optimize_header_panel"> -			<text name="optimize_header_text"> -				Ottimizza modello -			</text> -		</panel> -		<text name="optimize_description"> -			Abbiamo ottimizzato il modello per migliorare le prestazioni. Se necessario, può essere regolato ulteriormente. -		</text> -		<panel name="optimize_content"> -			<text name="high_detail_text"> -				Genera livello di dettaglio: Alto -			</text> -			<text name="medium_detail_text"> -				Genera livello di dettaglio: Medio -			</text> -			<text name="low_detail_text"> -				Genera livello di dettaglio: Basso -			</text> -			<text name="lowest_detail_text"> -				Genera livello di dettaglio: Bassissimo -			</text> -		</panel> -		<panel name="content2"> -			<button label="Ricalcola geometria" name="recalculate_geometry_btn"/> -			<text name="lod_label"> -				Anteprima geometria -			</text> -			<combo_box name="preview_lod_combo" tool_tip="Livello di dettaglio per anteprima rendering"> -				<combo_item name="high"> -					Molti dettagli -				</combo_item> -				<combo_item name="medium"> -					Dettagli medi -				</combo_item> -				<combo_item name="low"> -					Meno dettagli -				</combo_item> -				<combo_item name="lowest"> -					Dettaglio minimo -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="physics_panel"> -		<panel name="physics_header_panel"> -			<text name="physics_header_text"> -				Modifica fisica -			</text> -		</panel> -		<text name="physics_description"> -			Verrà creata una forma per lo scafo esterno del modello. Regola il livello di dettaglio della forma in base al fine desiderato del modello. -		</text> -		<panel name="physics_content"> -			<button label="Ricalcola fisica" name="recalculate_physics_btn"/> -			<button label="Ricalcolo in corso..." name="recalculating_physics_btn"/> -			<text name="lod_label"> -				Anteprima fisica -			</text> -			<combo_box name="preview_lod_combo2" tool_tip="Livello di dettaglio per anteprima rendering"> -				<combo_item name="high"> -					Molti dettagli -				</combo_item> -				<combo_item name="medium"> -					Dettagli medi -				</combo_item> -				<combo_item name="low"> -					Meno dettagli -				</combo_item> -				<combo_item name="lowest"> -					Dettaglio minimo -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="review_panel"> -		<panel name="review_header_panel"> -			<text name="review_header_text"> -				Rivedi -			</text> -		</panel> -		<panel name="review_content"> -			<text name="review_prim_equiv"> -				Impatto sul lotto o sulla regione: [EQUIV] prim equivalenti -			</text> -			<text name="review_fee"> -				All'account verrà accreditata una tariffa di caricamento pari a L$ [FEE]. -			</text> -			<text name="review_confirmation"> -				Facendo clic sul pulsante Carica, confermi di possedere i diritti relativi ai materiali contenuti nel modello. -			</text> -		</panel> -	</panel> -	<panel name="upload_panel"> -		<panel name="upload_header_panel"> -			<text name="upload_header_text"> -				Caricamento completato -			</text> -		</panel> -		<text name="model_uploaded_text"> -			Il modello è stato caricato. -		</text> -		<text name="inventory_text"> -			Puoi trovarlo nella cartella Oggetti nel tuo inventario. -		</text> -		<text name="charged_fee"> -			La somma di L$ [FEE] è stata addebitata sul tuo account. -		</text> -	</panel> -	<button label="<< Indietro" name="back"/> -	<button label="Avanti >>" name="next"/> -	<button label="Calcolare pesi e tariffa >>" name="calculate"/> -	<button label="Calcolo in corso..." name="calculating"/> -	<button label="Carica" name="upload" tool_tip="Carica al simulatore"/> -	<button label="Annulla" name="cancel"/> -	<button label="Chiudi" name="close"/> -	<spinner name="import_scale" value="1.0"/> -	<string name="status_idle"> -		Pausa -	</string> -	<string name="status_parse_error"> -		Problema nell'elaborazione DAE - vedi il registro per informazioni al riguardo. -	</string> -	<string name="status_reading_file"> -		Caricamento in corso... -	</string> -	<string name="status_generating_meshes"> -		Generazione reticoli... -	</string> -	<string name="status_vertex_number_overflow"> -		Errore: numero di vertici maggiore di 65534, annullato. -	</string> -	<string name="bad_element"> -		Errore: elemento non valido -	</string> -	<string name="high"> -		Alto -	</string> -	<string name="medium"> -		Medio -	</string> -	<string name="low"> -		Basso -	</string> -	<string name="lowest"> -		Bassissimo -	</string> -	<string name="mesh_status_good"> -		Invia! -	</string> -	<string name="mesh_status_na"> -		N/D -	</string> -	<string name="mesh_status_none"> -		Nessuno -	</string> -	<string name="mesh_status_submesh_mismatch"> -		Ai vari livelli del dettaglio corrispondono numeri diversi di faccette con texture. -	</string> -	<string name="mesh_status_mesh_mismatch"> -		Ai vari livelli del dettaglio corrispondono numeri diversi istanze di reticoli. -	</string> -	<string name="mesh_status_too_many_vertices"> -		Troppi vertici per il livello di dettaglio. -	</string> -	<string name="mesh_status_missing_lod"> -		Livello di dettaglio minimo mancante. -	</string> -	<string name="layer_all"> -		Tutto -	</string> -</floater> diff --git a/indra/newview/skins/default/xui/ja/floater_model_wizard.xml b/indra/newview/skins/default/xui/ja/floater_model_wizard.xml deleted file mode 100644 index 746bd8553c..0000000000 --- a/indra/newview/skins/default/xui/ja/floater_model_wizard.xml +++ /dev/null @@ -1,208 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<floater name="Model Wizard" title="モデルウィザードをアップロード"> -	<button label="5. アップロード" name="upload_btn"/> -	<button label="4. 確認" name="review_btn"/> -	<button label="3. 物理効果" name="physics_btn"/> -	<button label="2. 最適化" name="optimize_btn"/> -	<button label="1. ファイルを選択" name="choose_file_btn"/> -	<panel name="choose_file_panel"> -		<panel name="choose_file_header_panel"> -			<text name="choose_file_header_text"> -				モデルファイルを選択 -			</text> -		</panel> -		<panel name="choose_file_content"> -			<text name="advanced_users_text"> -				上級ユーザーの場合:3D コンテンツ制作ツールの使用に慣れている方は、高度なアップローダーもお試しください。 -			</text> -			<button label="アドバンスモードに切り替える" name="switch_to_advanced"/> -			<text name="Cache location"> -				アップロードするモデルファイルを選択 -			</text> -			<button label="参照..." label_selected="参照..." name="browse"/> -			<text name="Model types"> -				Second Life は COLLADA (.dae) ファイルをサポートします。 -			</text> -			<text name="dimensions"> -				X         Y         Z -			</text> -			<text name="warning_label"> -				警告: -			</text> -			<text name="warning_text"> -				このモデルを Second Life サーバーにアップロードするための最終手順を実行できません。[secondlife:///app/floater/learn_more こちらを参照して]、メッシュモデルをアップロードできるようにアカウントを設定してください。 -			</text> -		</panel> -	</panel> -	<panel name="optimize_panel"> -		<panel name="optimize_header_panel"> -			<text name="optimize_header_text"> -				モデルを最適化 -			</text> -		</panel> -		<text name="optimize_description"> -			モデルはパフォーマンスを重視して最適化されています。必要に応じて調整してください。 -		</text> -		<panel name="optimize_content"> -			<text name="high_detail_text"> -				次の描画詳細度を作成:高 -			</text> -			<text name="medium_detail_text"> -				次の描画詳細度を作成:中 -			</text> -			<text name="low_detail_text"> -				次の描画詳細度を作成:低 -			</text> -			<text name="lowest_detail_text"> -				次の描画詳細度を作成:最低 -			</text> -		</panel> -		<panel name="content2"> -			<button label="ジオメトリを再計算" name="recalculate_geometry_btn"/> -			<text name="lod_label"> -				ジオメトリのプレビュー -			</text> -			<combo_box name="preview_lod_combo" tool_tip="プレビュー表示の LOD 設定"> -				<combo_item name="high"> -					高い詳細度 -				</combo_item> -				<combo_item name="medium"> -					中の詳細度 -				</combo_item> -				<combo_item name="low"> -					低い詳細度 -				</combo_item> -				<combo_item name="lowest"> -					最低の詳細度 -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="physics_panel"> -		<panel name="physics_header_panel"> -			<text name="physics_header_text"> -				物理作用の調整 -			</text> -		</panel> -		<text name="physics_description"> -			モデルの外殻構造のシェイプは弊社が作成します。モデルの目的に応じてシェイプの詳細度を調整してください。 -		</text> -		<panel name="physics_content"> -			<button label="物理作用を再計算" name="recalculate_physics_btn"/> -			<button label="再計算中..." name="recalculating_physics_btn"/> -			<text name="lod_label"> -				物理作用のプレビュー -			</text> -			<combo_box name="preview_lod_combo2" tool_tip="プレビュー表示の LOD 設定"> -				<combo_item name="high"> -					高い詳細度 -				</combo_item> -				<combo_item name="medium"> -					中の詳細度 -				</combo_item> -				<combo_item name="low"> -					低い詳細度 -				</combo_item> -				<combo_item name="lowest"> -					最低の詳細度 -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="review_panel"> -		<panel name="review_header_panel"> -			<text name="review_header_text"> -				確認 -			</text> -		</panel> -		<panel name="review_content"> -			<text name="review_prim_equiv"> -				区画/リージョンへの負荷:[EQUIV] プリム換算値 -			</text> -			<text name="review_fee"> -				L$ [FEE] のアップロード料金があなたのアカウントに請求されます。 -			</text> -			<text name="review_confirmation"> -				アップロードボタンをクリックすることにより、モデルに含まれるマテリアルの所有権や使用許可の所持を認めたことになります。 -			</text> -		</panel> -	</panel> -	<panel name="upload_panel"> -		<panel name="upload_header_panel"> -			<text name="upload_header_text"> -				アップロード完了 -			</text> -		</panel> -		<text name="model_uploaded_text"> -			モデルがアップロードされました。 -		</text> -		<text name="inventory_text"> -			それはインベントリの「オブジェクト」フォルダにあります。 -		</text> -		<text name="charged_fee"> -			あなたのアカウントに L$ [FEE] が請求されました。 -		</text> -	</panel> -	<button label="<< 戻る" name="back"/> -	<button label="次へ>>" name="next"/> -	<button label="ウェイトと料金の計算 >>" name="calculate"/> -	<button label="計算中..." name="calculating"/> -	<button label="アップロード" name="upload" tool_tip="シミュレーターにアップロード"/> -	<button label="取り消し" name="cancel"/> -	<button label="閉じる" name="close"/> -	<spinner name="import_scale" value="1.0"/> -	<string name="status_idle"> -		待機状態 -	</string> -	<string name="status_parse_error"> -		Dae に問題が見つかりました - 詳細についてはログをご参照ください。 -	</string> -	<string name="status_reading_file"> -		ローディング... -	</string> -	<string name="status_generating_meshes"> -		メッシュを作成中 -	</string> -	<string name="status_vertex_number_overflow"> -		エラー:頂点の数が65534を超過したので中止されました。 -	</string> -	<string name="bad_element"> -		エラー:要素が無効です -	</string> -	<string name="high"> -		高 -	</string> -	<string name="medium"> -		中 -	</string> -	<string name="low"> -		低 -	</string> -	<string name="lowest"> -		最低 -	</string> -	<string name="mesh_status_good"> -		発送 -	</string> -	<string name="mesh_status_na"> -		該当なし -	</string> -	<string name="mesh_status_none"> -		なし -	</string> -	<string name="mesh_status_submesh_mismatch"> -		テクスチャ編集可能な面の数は描画詳細度に応じて異なります。 -	</string> -	<string name="mesh_status_mesh_mismatch"> -		メッシュインスタンスの数は描画詳細度に応じて異なります。 -	</string> -	<string name="mesh_status_too_many_vertices"> -		描画詳細度に対して頂点の数が多すぎます。 -	</string> -	<string name="mesh_status_missing_lod"> -		必要な描画詳細度が見つかりません。 -	</string> -	<string name="layer_all"> -		全て -	</string> -</floater> diff --git a/indra/newview/skins/default/xui/pt/floater_model_wizard.xml b/indra/newview/skins/default/xui/pt/floater_model_wizard.xml deleted file mode 100644 index 0d07303c91..0000000000 --- a/indra/newview/skins/default/xui/pt/floater_model_wizard.xml +++ /dev/null @@ -1,208 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<floater name="Model Wizard" title="CARREGAR ASSISTENTE DE MODELAGEM"> -	<button label="5. Carregar" name="upload_btn"/> -	<button label="4. Revisar" name="review_btn"/> -	<button label="3. Física" name="physics_btn"/> -	<button label="2. Otimizar" name="optimize_btn"/> -	<button label="1. Selecionra arquivo" name="choose_file_btn"/> -	<panel name="choose_file_panel"> -		<panel name="choose_file_header_panel"> -			<text name="choose_file_header_text"> -				Escolher arquivo de modelo -			</text> -		</panel> -		<panel name="choose_file_content"> -			<text name="advanced_users_text"> -				Usuários avançados: se você estiver familiarizado com ferramentas de criação de conteúdo 3D, use o Advanced Uploader. -			</text> -			<button label="Trocar para avançado" name="switch_to_advanced"/> -			<text name="Cache location"> -				Escolha o arquivo de modelo para upload -			</text> -			<button label="Procurar..." label_selected="Procurar..." name="browse"/> -			<text name="Model types"> -				O Second Life oferece suporte a arquivos COLLADA (.dae) -			</text> -			<text name="dimensions"> -				X         Y         Z -			</text> -			<text name="warning_label"> -				AVISO: -			</text> -			<text name="warning_text"> -				Não será possível concluir a etapa final do upload desse modelo para os servidores do Second Life. [secondlife:///app/floater/learn_more Saiba como] configurar sua conta para uploads de modelos mesh. -			</text> -		</panel> -	</panel> -	<panel name="optimize_panel"> -		<panel name="optimize_header_panel"> -			<text name="optimize_header_text"> -				Otimizar modelo -			</text> -		</panel> -		<text name="optimize_description"> -			O modelo foi ajustado para desempenho. Faça novos ajustes, se desejar. -		</text> -		<panel name="optimize_content"> -			<text name="high_detail_text"> -				Gerar nível de detalhes: Alto -			</text> -			<text name="medium_detail_text"> -				Gerar nível de detalhes: Médio -			</text> -			<text name="low_detail_text"> -				Gerar nível de detalhes: Baixo -			</text> -			<text name="lowest_detail_text"> -				Gerar nível de detalhes: Mais baixo -			</text> -		</panel> -		<panel name="content2"> -			<button label="Recalcular geometria" name="recalculate_geometry_btn"/> -			<text name="lod_label"> -				Visualização da geometria -			</text> -			<combo_box name="preview_lod_combo" tool_tip="LOD para exibir na renderização de visualização"> -				<combo_item name="high"> -					Máximo de detalhes -				</combo_item> -				<combo_item name="medium"> -					Detalhes médios -				</combo_item> -				<combo_item name="low"> -					Poucos detalhes -				</combo_item> -				<combo_item name="lowest"> -					Mínimo de detalhes -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="physics_panel"> -		<panel name="physics_header_panel"> -			<text name="physics_header_text"> -				Ajustar físico -			</text> -		</panel> -		<text name="physics_description"> -			Criaremos uma forma para o corpo externo do modelo. Ajuste o nível de detalhes como necessário para a finalidade desejada de seu modelo. -		</text> -		<panel name="physics_content"> -			<button label="Recalcular físico" name="recalculate_physics_btn"/> -			<button label="Recalculando..." name="recalculating_physics_btn"/> -			<text name="lod_label"> -				Visualização do físico -			</text> -			<combo_box name="preview_lod_combo2" tool_tip="LOD para exibir na renderização de visualização"> -				<combo_item name="high"> -					Máximo de detalhes -				</combo_item> -				<combo_item name="medium"> -					Detalhes médios -				</combo_item> -				<combo_item name="low"> -					Poucos detalhes -				</combo_item> -				<combo_item name="lowest"> -					Mínimo de detalhes -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="review_panel"> -		<panel name="review_header_panel"> -			<text name="review_header_text"> -				Revisar -			</text> -		</panel> -		<panel name="review_content"> -			<text name="review_prim_equiv"> -				Impacto no lote/região: [EQUIV] equivalentes de prim -			</text> -			<text name="review_fee"> -				Uma tarifa de upload de L$ [FEE] será debitada da sua conta. -			</text> -			<text name="review_confirmation"> -				Ao clicar no botão de upload, você confirma que detém os direitos apropriados sobre o material contido no modelo. -			</text> -		</panel> -	</panel> -	<panel name="upload_panel"> -		<panel name="upload_header_panel"> -			<text name="upload_header_text"> -				Upload concluído -			</text> -		</panel> -		<text name="model_uploaded_text"> -			Seu modelo foi carregado. -		</text> -		<text name="inventory_text"> -			Disponível na pasta Objetos do seu inventário. -		</text> -		<text name="charged_fee"> -			L$ [FEE] foram debitados da sua conta. -		</text> -	</panel> -	<button label="<< Voltar" name="back"/> -	<button label="Próximo >>" name="next"/> -	<button label="Calcular pesos e tarifa >>" name="calculate"/> -	<button label="Calculando..." name="calculating"/> -	<button label="Carregar" name="upload" tool_tip="Carregar no simulador"/> -	<button label="Cancelar" name="cancel"/> -	<button label="Fechar" name="close"/> -	<spinner name="import_scale" value="1.0"/> -	<string name="status_idle"> -		Inativo -	</string> -	<string name="status_parse_error"> -		Dae parsing - erro, detalhes no log. -	</string> -	<string name="status_reading_file"> -		Carregando... -	</string> -	<string name="status_generating_meshes"> -		Gerando meshes... -	</string> -	<string name="status_vertex_number_overflow"> -		Erro: Número de Vertex acima de 65534. Abortado. -	</string> -	<string name="bad_element"> -		Erro: elemento inválido -	</string> -	<string name="high"> -		Alto -	</string> -	<string name="medium"> -		Médio -	</string> -	<string name="low"> -		Baixo -	</string> -	<string name="lowest"> -		Mais baixo -	</string> -	<string name="mesh_status_good"> -		Entregar! -	</string> -	<string name="mesh_status_na"> -		N/D -	</string> -	<string name="mesh_status_none"> -		Nenhum -	</string> -	<string name="mesh_status_submesh_mismatch"> -		Cada nível de detalhamento têm um número de faces para textura. -	</string> -	<string name="mesh_status_mesh_mismatch"> -		Cada nível de detalhamento têm um número de faces para textura. -	</string> -	<string name="mesh_status_too_many_vertices"> -		O nível de detalhamento possui vértices demais. -	</string> -	<string name="mesh_status_missing_lod"> -		Falta o nível de detalhamento necessário. -	</string> -	<string name="layer_all"> -		Tudo -	</string> -</floater> diff --git a/indra/newview/skins/default/xui/ru/floater_model_wizard.xml b/indra/newview/skins/default/xui/ru/floater_model_wizard.xml deleted file mode 100644 index c1a63bf7da..0000000000 --- a/indra/newview/skins/default/xui/ru/floater_model_wizard.xml +++ /dev/null @@ -1,208 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<floater name="Model Wizard" title="ПЕРЕДАТЬ МАСТЕР МОДЕЛИРОВАНИЯ"> -	<button label="5. Передать" name="upload_btn"/> -	<button label="4. Просмотр" name="review_btn"/> -	<button label="3. Физика" name="physics_btn"/> -	<button label="2. Оптимизировать" name="optimize_btn"/> -	<button label="1. Выбрать файл" name="choose_file_btn"/> -	<panel name="choose_file_panel"> -		<panel name="choose_file_header_panel"> -			<text name="choose_file_header_text"> -				Выберите файл модели -			</text> -		</panel> -		<panel name="choose_file_content"> -			<text name="advanced_users_text"> -				Пользователям, работающим в расширенном режиме: если вы умеете создавать трехмерные графические объекты, то, возможно, захотите воспользоваться средством Advanced Uploader, которое предоставляет расширенные возможности передачи объектов. -			</text> -			<button label="Перейти в расширенный режим" name="switch_to_advanced"/> -			<text name="Cache location"> -				Выберите файл модели для передачи -			</text> -			<button label="Обзор..." label_selected="Обзор..." name="browse"/> -			<text name="Model types"> -				В Second Life поддерживаются файлы COLLADA (.dae) -			</text> -			<text name="dimensions"> -				X         Y         Z -			</text> -			<text name="warning_label"> -				ВНИМАНИЕ! -			</text> -			<text name="warning_text"> -				Вы не сможете завершить передачу этой модели на серверы Second Life. [secondlife:///app/floater/learn_more Узнайте, как] настроить в вашем аккаунте передачу сеточных моделей. -			</text> -		</panel> -	</panel> -	<panel name="optimize_panel"> -		<panel name="optimize_header_panel"> -			<text name="optimize_header_text"> -				Оптимизировать модель -			</text> -		</panel> -		<text name="optimize_description"> -			Мы оптимизировали модель для повышения быстродействия. По желанию можно выполнить дополнительную настройку. -		</text> -		<panel name="optimize_content"> -			<text name="high_detail_text"> -				Создать уровень детализации: Высокий -			</text> -			<text name="medium_detail_text"> -				Создать уровень детализации: Средний -			</text> -			<text name="low_detail_text"> -				Создать уровень детализации: Низкий -			</text> -			<text name="lowest_detail_text"> -				Создать уровень детализации: Самый низкий -			</text> -		</panel> -		<panel name="content2"> -			<button label="Пересчитать геометрию" name="recalculate_geometry_btn"/> -			<text name="lod_label"> -				Просмотр геометрии -			</text> -			<combo_box name="preview_lod_combo" tool_tip="Детализация при предварительном просмотре"> -				<combo_item name="high"> -					Детально -				</combo_item> -				<combo_item name="medium"> -					Средняя детализация -				</combo_item> -				<combo_item name="low"> -					Мало деталей -				</combo_item> -				<combo_item name="lowest"> -					Минимум деталей -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="physics_panel"> -		<panel name="physics_header_panel"> -			<text name="physics_header_text"> -				Настроить физические параметры -			</text> -		</panel> -		<text name="physics_description"> -			Мы создадим форму для внешнего каркаса модели. Настройте уровень детализации формы в соответствии с целями, для которых предназначена модель. -		</text> -		<panel name="physics_content"> -			<button label="Пересчитать физические данные" name="recalculate_physics_btn"/> -			<button label="Пересчет..." name="recalculating_physics_btn"/> -			<text name="lod_label"> -				Просмотр физических данных -			</text> -			<combo_box name="preview_lod_combo2" tool_tip="Уровень детализации при предварительном просмотре"> -				<combo_item name="high"> -					Детально -				</combo_item> -				<combo_item name="medium"> -					Средняя детализация -				</combo_item> -				<combo_item name="low"> -					Мало деталей -				</combo_item> -				<combo_item name="lowest"> -					Минимум деталей -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="review_panel"> -		<panel name="review_header_panel"> -			<text name="review_header_text"> -				Просмотр -			</text> -		</panel> -		<panel name="review_content"> -			<text name="review_prim_equiv"> -				Воздействие на участок/регион: эквивалент в примитивах: [EQUIV] -			</text> -			<text name="review_fee"> -				За передачу с вашего счета будет снята плата в размере L$[FEE]. -			</text> -			<text name="review_confirmation"> -				Нажав кнопку «Передать», вы подтверждаете, что у вас есть надлежащие права на все составляющие модели. -			</text> -		</panel> -	</panel> -	<panel name="upload_panel"> -		<panel name="upload_header_panel"> -			<text name="upload_header_text"> -				Передача завершена -			</text> -		</panel> -		<text name="model_uploaded_text"> -			Ваша модель передана. -		</text> -		<text name="inventory_text"> -			Находится в папке «Объекты» вашего инвентаря. -		</text> -		<text name="charged_fee"> -			С вашего счета снято: L$[FEE]. -		</text> -	</panel> -	<button label="<< Назад" name="back"/> -	<button label="Далее >>" name="next"/> -	<button label="Рассчитать вес и плату >>" name="calculate"/> -	<button label="Расчет..." name="calculating"/> -	<button label="Передать" name="upload" tool_tip="Передать в симулятор"/> -	<button label="Отмена" name="cancel"/> -	<button label="Закрыть" name="close"/> -	<spinner name="import_scale" value="1.0"/> -	<string name="status_idle"> -		Неактивно -	</string> -	<string name="status_parse_error"> -		Проблема при анализе файла DAE – см. подробности в журнале. -	</string> -	<string name="status_reading_file"> -		Загрузка... -	</string> -	<string name="status_generating_meshes"> -		Создаются меши... -	</string> -	<string name="status_vertex_number_overflow"> -		Ошибка. Число вершин превышает 65534. Прервано. -	</string> -	<string name="bad_element"> -		Ошибка: недопустимый элемент -	</string> -	<string name="high"> -		высокий -	</string> -	<string name="medium"> -		средний -	</string> -	<string name="low"> -		низкий -	</string> -	<string name="lowest"> -		самый низкий -	</string> -	<string name="mesh_status_good"> -		Доставлено! -	</string> -	<string name="mesh_status_na"> -		Н/Д -	</string> -	<string name="mesh_status_none"> -		Нет -	</string> -	<string name="mesh_status_submesh_mismatch"> -		Отличается число текстурируемых граней на уровнях детализации. -	</string> -	<string name="mesh_status_mesh_mismatch"> -		Отличается число экземпляров меша на уровнях детализации. -	</string> -	<string name="mesh_status_too_many_vertices"> -		Слишком много вершин на уровне детализации. -	</string> -	<string name="mesh_status_missing_lod"> -		Отсутствует необходимый уровень детализации. -	</string> -	<string name="layer_all"> -		Все -	</string> -</floater> diff --git a/indra/newview/skins/default/xui/tr/floater_model_wizard.xml b/indra/newview/skins/default/xui/tr/floater_model_wizard.xml deleted file mode 100644 index 9d8b982c24..0000000000 --- a/indra/newview/skins/default/xui/tr/floater_model_wizard.xml +++ /dev/null @@ -1,208 +0,0 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?> -<floater name="Model Wizard" title="KARŞIYA MODEL YÜKLEME SİHİRBAZI"> -	<button label="5. Karşıya Yükle" name="upload_btn"/> -	<button label="4. İncele" name="review_btn"/> -	<button label="3. Fizik" name="physics_btn"/> -	<button label="2. Optimize et" name="optimize_btn"/> -	<button label="1. Dosya Seç" name="choose_file_btn"/> -	<panel name="choose_file_panel"> -		<panel name="choose_file_header_panel"> -			<text name="choose_file_header_text"> -				Model dosyasını seçin -			</text> -		</panel> -		<panel name="choose_file_content"> -			<text name="advanced_users_text"> -				Gelişmiş kullanıcılar: Eğer 3B içerik oluşturma araçlarını kullanmayı biliyorsanız, Gelişmiş Karşıya Yükleyiciyi kullanmak isteyebilirsiniz. -			</text> -			<button label="Gelişmişe geç" name="switch_to_advanced"/> -			<text name="Cache location"> -				Karşıya yüklenecek model dosyasını seçin -			</text> -			<button label="Gözat..." label_selected="Gözat..." name="browse"/> -			<text name="Model types"> -				Second Life, COLLADA (.dae) dosyalarını destekler -			</text> -			<text name="dimensions"> -				X         Y         Z -			</text> -			<text name="warning_label"> -				UYARI: -			</text> -			<text name="warning_text"> -				Bu modelin Second Life sunucularına nihai karşıya yükleme adımını tamamlayamayacaksınız. Hesabınızı örgü modellerinin karşıya yüklenmesi için ayarlamanın [secondlife:///app/floater/learn_more nasıl yapılacağını öğrenin]. -			</text> -		</panel> -	</panel> -	<panel name="optimize_panel"> -		<panel name="optimize_header_panel"> -			<text name="optimize_header_text"> -				Modeli optimize et -			</text> -		</panel> -		<text name="optimize_description"> -			Modeli performans için optimize ettik. İstiyorsanız daha da ayarlayabilirsiniz. -		</text> -		<panel name="optimize_content"> -			<text name="high_detail_text"> -				Ayrıntı Seviyesi Oluştur: Yüksek -			</text> -			<text name="medium_detail_text"> -				Ayrıntı Seviyesi Oluştur: Orta -			</text> -			<text name="low_detail_text"> -				Ayrıntı Seviyesi Oluştur: Düşük -			</text> -			<text name="lowest_detail_text"> -				Ayrıntı Seviyesi Oluştur: En Düşük -			</text> -		</panel> -		<panel name="content2"> -			<button label="Geometri hesaplarını tekrar yap" name="recalculate_geometry_btn"/> -			<text name="lod_label"> -				Geometri önizleme -			</text> -			<combo_box name="preview_lod_combo" tool_tip="Önizleme işlemesinde görülecek ayrıntı seviyesi"> -				<combo_item name="high"> -					Çok ayrıntı -				</combo_item> -				<combo_item name="medium"> -					Orta düzey ayrıntı -				</combo_item> -				<combo_item name="low"> -					Az ayrıntı -				</combo_item> -				<combo_item name="lowest"> -					En az ayrıntı -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="physics_panel"> -		<panel name="physics_header_panel"> -			<text name="physics_header_text"> -				Fizik ayarlarını yap -			</text> -		</panel> -		<text name="physics_description"> -			Modelin dış gövdesi için bir şekil oluşturacağız. Modelinizin amacına uygun olarak şeklin ayrıntı seviyesini belirleyin. -		</text> -		<panel name="physics_content"> -			<button label="Fizik hesaplarını tekrar yap" name="recalculate_physics_btn"/> -			<button label="Tekrar hesaplanıyor..." name="recalculating_physics_btn"/> -			<text name="lod_label"> -				Fizik önizleme -			</text> -			<combo_box name="preview_lod_combo2" tool_tip="Önizleme işlemesinde görülecek ayrıntı seviyesi"> -				<combo_item name="high"> -					Çok ayrıntı -				</combo_item> -				<combo_item name="medium"> -					Orta düzey ayrıntı -				</combo_item> -				<combo_item name="low"> -					Az ayrıntı -				</combo_item> -				<combo_item name="lowest"> -					En az ayrıntı -				</combo_item> -			</combo_box> -		</panel> -	</panel> -	<panel name="review_panel"> -		<panel name="review_header_panel"> -			<text name="review_header_text"> -				İncele -			</text> -		</panel> -		<panel name="review_content"> -			<text name="review_prim_equiv"> -				Parsele/bölgeye etkisi: [EQUIV] prim eşdeğerleri -			</text> -			<text name="review_fee"> -				Hesabınızdan L$ [FEE] karşıya yükleme ücreti düşülecektir. -			</text> -			<text name="review_confirmation"> -				Karşıya yükleme düğmesine tıkladığınızda, modelde yer alan malzeme için ilgili haklara sahip olduğunuzu teyid edersiniz. -			</text> -		</panel> -	</panel> -	<panel name="upload_panel"> -		<panel name="upload_header_panel"> -			<text name="upload_header_text"> -				Karşıya yükleme bitti -			</text> -		</panel> -		<text name="model_uploaded_text"> -			Modeliniz karşıya yüklendi. -		</text> -		<text name="inventory_text"> -			Bunu, envanterinizdeki Nesneler klasöründe bulacaksınız. -		</text> -		<text name="charged_fee"> -			Hesabınızdan L$ [FEE] düşüldü. -		</text> -	</panel> -	<button label="<< Geri" name="back"/> -	<button label="Sonraki >>" name="next"/> -	<button label="Ağırlıkları ve ücreti hesapla >>" name="calculate"/> -	<button label="Hesaplanıyor..." name="calculating"/> -	<button label="Karşıya Yükle" name="upload" tool_tip="Simülatöre karşıya yükle"/> -	<button label="İptal" name="cancel"/> -	<button label="Kapat" name="close"/> -	<spinner name="import_scale" value="1.0"/> -	<string name="status_idle"> -		Boşta -	</string> -	<string name="status_parse_error"> -		Dae ayrıştırma sorunu - ayrıntılar için günlüğe bakın. -	</string> -	<string name="status_reading_file"> -		Yükleniyor... -	</string> -	<string name="status_generating_meshes"> -		Örgüler Oluşturuluyor... -	</string> -	<string name="status_vertex_number_overflow"> -		Hata: Köşe numarası 65534'ten fazla, işlem durduruldu! -	</string> -	<string name="bad_element"> -		Hata: Öğe geçersiz -	</string> -	<string name="high"> -		Yüksek -	</string> -	<string name="medium"> -		Orta -	</string> -	<string name="low"> -		Düşük -	</string> -	<string name="lowest"> -		En Düşük -	</string> -	<string name="mesh_status_good"> -		Uygula! -	</string> -	<string name="mesh_status_na"> -		G/D -	</string> -	<string name="mesh_status_none"> -		Hiçbiri -	</string> -	<string name="mesh_status_submesh_mismatch"> -		Ayrıntı seviyelerinde farklı sayıda dokulanabilir yüz var. -	</string> -	<string name="mesh_status_mesh_mismatch"> -		Ayrıntı seviyelerinde farklı sayıda örgü örneği var. -	</string> -	<string name="mesh_status_too_many_vertices"> -		Ayrıntı seviyesinde fazla sayıda köşe var. -	</string> -	<string name="mesh_status_missing_lod"> -		Gereken ayrıntı seviyesi eksik. -	</string> -	<string name="layer_all"> -		Tümü -	</string> -</floater>  | 
