I got bored and put in the math functions from Imprudence.

We need something to show the list - Preferably a bit better than the popup that they use, I'm thinking maybe an expanding sidebar on the build menu?

Oh, minor changes - Texture repeats go up to 1000 now because it has numbers, and I tweaked the primitive params section so it doesn't fall off the window.

Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
Beeks
2010-09-16 22:08:33 -04:00
parent 7f0af74e00
commit d49c92b6fe
9 changed files with 350 additions and 218 deletions

View File

@@ -42,6 +42,7 @@
#include "llgl.h" #include "llgl.h"
#include "lltimer.h" #include "lltimer.h"
#include "llcalc.h"
//#include "llclipboard.h" //#include "llclipboard.h"
#include "llcontrol.h" #include "llcontrol.h"
#include "llbutton.h" #include "llbutton.h"
@@ -130,6 +131,7 @@ LLLineEditor::LLLineEditor(const std::string& name, const LLRect& rect,
mDrawAsterixes( FALSE ), mDrawAsterixes( FALSE ),
mHandleEditKeysDirectly( FALSE ), mHandleEditKeysDirectly( FALSE ),
mSelectAllonFocusReceived( FALSE ), mSelectAllonFocusReceived( FALSE ),
mSelectAllonCommit( TRUE ),
mPassDelete(FALSE), mPassDelete(FALSE),
mReadOnly(FALSE), mReadOnly(FALSE),
mHaveHistory(FALSE), mHaveHistory(FALSE),
@@ -223,7 +225,10 @@ void LLLineEditor::onCommit()
updateHistory(); updateHistory();
LLUICtrl::onCommit(); LLUICtrl::onCommit();
selectAll();
// Selection on commit needs to be turned off when evaluating maths
// expressions, to allow indication of the error position
if (mSelectAllonCommit) selectAll();
} }
@@ -2164,6 +2169,40 @@ BOOL LLLineEditor::prevalidateASCII(const LLWString &str)
return rv; return rv;
} }
BOOL LLLineEditor::evaluateFloat()
{
bool success = false;
std::string expr = getText();
// user deleted the contents, nothing to evaluate -- MC
if (expr.empty())
{
return success;
}
else
{
F32 result = 0.f;
success = LLCalc::getInstance()->evalString(expr, result);
if (!success)
{
// Move the cursor to near the error on failure
setCursor(LLCalc::getInstance()->getLastErrorPos());
// *TODO: Translated error message indicating the type of error? Select error text?
}
else
{
// Replace the expression with the result
std::ostringstream result_str;
result_str << result;
setText(result_str.str());
selectAll();
}
return success;
}
}
void LLLineEditor::onMouseCaptureLost() void LLLineEditor::onMouseCaptureLost()
{ {
endSelection(); endSelection();

View File

@@ -195,6 +195,7 @@ public:
void setHandleEditKeysDirectly( BOOL b ) { mHandleEditKeysDirectly = b; } void setHandleEditKeysDirectly( BOOL b ) { mHandleEditKeysDirectly = b; }
void setSelectAllonFocusReceived(BOOL b); void setSelectAllonFocusReceived(BOOL b);
void setSelectAllonCommit(BOOL b) { mSelectAllonCommit = b; }
void setKeystrokeCallback(void (*keystroke_callback)(LLLineEditor* caller, void* user_data)); void setKeystrokeCallback(void (*keystroke_callback)(LLLineEditor* caller, void* user_data));
@@ -214,6 +215,8 @@ public:
static BOOL prevalidateASCII(const LLWString &str); static BOOL prevalidateASCII(const LLWString &str);
static BOOL postvalidateFloat(const std::string &str); static BOOL postvalidateFloat(const std::string &str);
BOOL evaluateFloat();
// line history support: // line history support:
void setEnableLineHistory( BOOL enabled ) { mHaveHistory = enabled; } // switches line history on or off void setEnableLineHistory( BOOL enabled ) { mHaveHistory = enabled; } // switches line history on or off
@@ -307,6 +310,7 @@ protected:
BOOL mHandleEditKeysDirectly; // If true, the standard edit keys (Ctrl-X, Delete, etc,) are handled here instead of routed by the menu system BOOL mHandleEditKeysDirectly; // If true, the standard edit keys (Ctrl-X, Delete, etc,) are handled here instead of routed by the menu system
BOOL mSelectAllonFocusReceived; BOOL mSelectAllonFocusReceived;
BOOL mSelectAllonCommit;
BOOL mPassDelete; BOOL mPassDelete;
BOOL mReadOnly; BOOL mReadOnly;

View File

@@ -123,7 +123,7 @@ LLSpinCtrl::LLSpinCtrl( const std::string& name, const LLRect& rect, const std::
mEditor = new LLLineEditor( std::string("SpinCtrl Editor"), editor_rect, LLStringUtil::null, font, mEditor = new LLLineEditor( std::string("SpinCtrl Editor"), editor_rect, LLStringUtil::null, font,
MAX_STRING_LENGTH, MAX_STRING_LENGTH,
&LLSpinCtrl::onEditorCommit, NULL, NULL, this, &LLSpinCtrl::onEditorCommit, NULL, NULL, this,
&LLLineEditor::prevalidateFloat ); &LLLineEditor::prevalidateASCII );
mEditor->setFollowsLeft(); mEditor->setFollowsLeft();
mEditor->setFollowsBottom(); mEditor->setFollowsBottom();
mEditor->setFocusReceivedCallback( &LLSpinCtrl::onEditorGainFocus, this ); mEditor->setFocusReceivedCallback( &LLSpinCtrl::onEditorGainFocus, this );
@@ -132,6 +132,7 @@ LLSpinCtrl::LLSpinCtrl( const std::string& name, const LLRect& rect, const std::
// it's easier to understand // it's easier to understand
//mEditor->setSelectAllonFocusReceived(TRUE); //mEditor->setSelectAllonFocusReceived(TRUE);
mEditor->setIgnoreTab(TRUE); mEditor->setIgnoreTab(TRUE);
mEditor->setSelectAllonCommit(FALSE);
addChild(mEditor); addChild(mEditor);
updateEditor(); updateEditor();
@@ -292,9 +293,10 @@ void LLSpinCtrl::onEditorCommit( LLUICtrl* caller, void *userdata )
LLSpinCtrl* self = (LLSpinCtrl*) userdata; LLSpinCtrl* self = (LLSpinCtrl*) userdata;
llassert( caller == self->mEditor ); llassert( caller == self->mEditor );
std::string text = self->mEditor->getText(); if( self->mEditor->evaluateFloat() )
if( LLLineEditor::postvalidateFloat( text ) )
{ {
std::string text = self->mEditor->getText();
LLLocale locale(LLLocale::USER_LOCALE); LLLocale locale(LLLocale::USER_LOCALE);
F32 val = (F32) atof(text.c_str()); F32 val = (F32) atof(text.c_str());
@@ -322,9 +324,17 @@ void LLSpinCtrl::onEditorCommit( LLUICtrl* caller, void *userdata )
success = TRUE; success = TRUE;
} }
} }
self->updateEditor(); else
{
// We want to update the editor in case it fails while blanking -- MC
success = TRUE;
}
if( !success ) if( success )
{
self->updateEditor();
}
else
{ {
self->reportInvalidData(); self->reportInvalidData();
} }
@@ -396,6 +406,18 @@ void LLSpinCtrl::setLabel(const LLStringExplicit& label)
} }
} }
BOOL LLSpinCtrl::setLabelArg( const std::string& key, const LLStringExplicit& text )
{
if (mLabelBox)
{
BOOL res = mLabelBox->setTextArg(key, text);
reshape(getRect().getWidth(), getRect().getHeight(), FALSE);
return res;
}
return FALSE;
}
void LLSpinCtrl::setAllowEdit(BOOL allow_edit) void LLSpinCtrl::setAllowEdit(BOOL allow_edit)
{ {
mEditor->setEnabled(allow_edit); mEditor->setEnabled(allow_edit);
@@ -463,6 +485,11 @@ BOOL LLSpinCtrl::handleKeyHere(KEY key, MASK mask)
LLSpinCtrl::onDownBtn(this); LLSpinCtrl::onDownBtn(this);
return TRUE; return TRUE;
} }
if(key == KEY_RETURN)
{
forceEditorCommit();
return TRUE;
}
} }
return FALSE; return FALSE;
} }

View File

@@ -116,6 +116,8 @@ public:
static void onUpBtn(void *userdata); static void onUpBtn(void *userdata);
static void onDownBtn(void *userdata); static void onDownBtn(void *userdata);
virtual BOOL setLabelArg( const std::string& key, const LLStringExplicit& text );
private: private:
void updateEditor(); void updateEditor();
void reportInvalidData(); void reportInvalidData();

View File

@@ -281,7 +281,9 @@ BOOL LLFloaterTools::postBuild()
{ {
found->setClickedCallback(setObjectType,toolData[t]); found->setClickedCallback(setObjectType,toolData[t]);
mButtons.push_back( found ); mButtons.push_back( found );
}else{ }
else
{
llwarns << "Tool button not found! DOA Pending." << llendl; llwarns << "Tool button not found! DOA Pending." << llendl;
} }
} }

View File

@@ -143,6 +143,9 @@ BOOL LLPanelObject::postBuild()
// Top // Top
//-------------------------------------------------------- //--------------------------------------------------------
// Build constant tipsheet
childSetAction("build_math_constants",onClickBuildConstants,this);
// Lock checkbox // Lock checkbox
mCheckLock = getChild<LLCheckBoxCtrl>("checkbox locked"); mCheckLock = getChild<LLCheckBoxCtrl>("checkbox locked");
childSetCommitCallback("checkbox locked",onCommitLock,this); childSetCommitCallback("checkbox locked",onCommitLock,this);
@@ -473,6 +476,7 @@ void LLPanelObject::getState( )
BOOL enable_scale = objectp->permMove() && objectp->permModify(); BOOL enable_scale = objectp->permMove() && objectp->permModify();
BOOL enable_rotate = objectp->permMove() && ( (objectp->permModify() && !objectp->isAttachment()) || !gSavedSettings.getBOOL("EditLinkedParts")); BOOL enable_rotate = objectp->permMove() && ( (objectp->permModify() && !objectp->isAttachment()) || !gSavedSettings.getBOOL("EditLinkedParts"));
BOOL enable_link = objectp->permMove() && !objectp->isAttachment() && (objectp->permModify() || !gSavedSettings.getBOOL("EditLinkedParts")); BOOL enable_link = objectp->permMove() && !objectp->isAttachment() && (objectp->permModify() || !gSavedSettings.getBOOL("EditLinkedParts"));
childSetEnabled("build_math_constants",true);
S32 selected_count = LLSelectMgr::getInstance()->getSelection()->getObjectCount(); S32 selected_count = LLSelectMgr::getInstance()->getSelection()->getObjectCount();
BOOL single_volume = (LLSelectMgr::getInstance()->selectionAllPCode( LL_PCODE_VOLUME )) BOOL single_volume = (LLSelectMgr::getInstance()->selectionAllPCode( LL_PCODE_VOLUME ))
&& (selected_count == 1); && (selected_count == 1);
@@ -901,8 +905,8 @@ void LLPanelObject::getState( )
F32 end_t = volume_params.getEndT(); F32 end_t = volume_params.getEndT();
// Hollowness // Hollowness
F32 hollow = volume_params.getHollow(); F32 hollow = 100.f * volume_params.getHollow();
mSpinHollow->set( 100.f * hollow ); mSpinHollow->set( hollow );
calcp->setVar(LLCalc::HOLLOW, hollow); calcp->setVar(LLCalc::HOLLOW, hollow);
// All hollow objects allow a shape to be selected. // All hollow objects allow a shape to be selected.
if (hollow > 0.f) if (hollow > 0.f)
@@ -2382,6 +2386,8 @@ void LLPanelObject::clearCtrls()
childSetEnabled("advanced_cut", FALSE); childSetEnabled("advanced_cut", FALSE);
childSetEnabled("advanced_dimple", FALSE); childSetEnabled("advanced_dimple", FALSE);
childSetVisible("advanced_slice", FALSE); childSetVisible("advanced_slice", FALSE);
childSetEnabled("build_math_constants",false);
} }
// //
@@ -2521,6 +2527,12 @@ void LLPanelObject::onCommitSculptType(LLUICtrl *ctrl, void* userdata)
self->sendSculpt(); self->sendSculpt();
} }
// static
void LLPanelObject::onClickBuildConstants(void *)
{
LLNotifications::instance().add("ClickBuildConstants");
}
std::string shortfloat(F32 in) std::string shortfloat(F32 in)
{ {
std::string out = llformat("%f", in); std::string out = llformat("%f", in);

View File

@@ -98,7 +98,7 @@ public:
static BOOL onDropSculpt( LLUICtrl* ctrl, LLInventoryItem* item, void* ud); static BOOL onDropSculpt( LLUICtrl* ctrl, LLInventoryItem* item, void* ud);
static void onCommitSculptType( LLUICtrl *ctrl, void* userdata); static void onCommitSculptType( LLUICtrl *ctrl, void* userdata);
static void onClickBuildConstants(void *);
static const LLUUID& findItemID(const LLUUID& asset_id); static const LLUUID& findItemID(const LLUUID& asset_id);
protected: protected:

View File

@@ -8,89 +8,84 @@
<!-- Main floater tabs --> <!-- Main floater tabs -->
<button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32" <button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32"
image_disabled="tool_zoom.tga" image_disabled="tool_zoom.tga" image_disabled_selected="tool_zoom_active.tga"
image_disabled_selected="tool_zoom_active.tga" image_selected="tool_zoom_active.tga" image_unselected="tool_zoom.tga"
image_selected="tool_zoom_active.tga" image_unselected="tool_zoom.tga" label="" label_selected="" left="4" mouse_opaque="true" name="button focus"
label="" label_selected="" left="4" mouse_opaque="true" name="button focus" tool_tip="Focus" width="32" />
tool_tip="Focus" width="32" />
<button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32" <button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32"
image_disabled="UIImgGrabUUID" image_disabled="UIImgGrabUUID" image_disabled_selected="UIImgGrabSelectedUUID"
image_disabled_selected="UIImgGrabSelectedUUID" image_selected="UIImgGrabSelectedUUID" image_unselected="UIImgGrabUUID"
image_selected="UIImgGrabSelectedUUID" image_unselected="UIImgGrabUUID" label="" label_selected="" left="40" mouse_opaque="true" name="button move"
label="" label_selected="" left="40" mouse_opaque="true" name="button move" tool_tip="Move" width="32" />
tool_tip="Move" width="32" />
<button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32" <button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32"
image_disabled="UIImgFaceUUID" image_disabled="UIImgFaceUUID" image_disabled_selected="UIImgFaceSelectedUUID"
image_disabled_selected="UIImgFaceSelectedUUID" image_selected="UIImgFaceSelectedUUID" image_unselected="UIImgFaceUUID"
image_selected="UIImgFaceSelectedUUID" image_unselected="UIImgFaceUUID" label="" label_selected="" left="76" mouse_opaque="true" name="button edit"
label="" label_selected="" left="76" mouse_opaque="true" name="button edit" tool_tip="Edit" width="32" />
tool_tip="Edit" width="32" />
<button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32" <button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32"
image_disabled="UIImgCreateUUID" image_disabled="UIImgCreateUUID" image_disabled_selected="UIImgCreateSelectedUUID"
image_disabled_selected="UIImgCreateSelectedUUID" image_selected="UIImgCreateSelectedUUID" image_unselected="UIImgCreateUUID"
image_selected="UIImgCreateSelectedUUID" image_unselected="UIImgCreateUUID" label="" label_selected="" left="112" mouse_opaque="true"
label="" label_selected="" left="112" mouse_opaque="true" name="button create" tool_tip="Create" width="32" />
name="button create" tool_tip="Create" width="32" />
<button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32" <button bottom="-34" follows="left|top" font="SansSerif" halign="center" height="32"
image_disabled="tool_dozer.tga" image_disabled="tool_dozer.tga" image_disabled_selected="tool_dozer_active.tga"
image_disabled_selected="tool_dozer_active.tga" image_selected="tool_dozer_active.tga" image_unselected="tool_dozer.tga"
image_selected="tool_dozer_active.tga" image_unselected="tool_dozer.tga" label="" label_selected="" left="148" mouse_opaque="true"
label="" label_selected="" left="148" mouse_opaque="true" name="button land" tool_tip="Land" width="32" />
name="button land" tool_tip="Land" width="32" />
<!-- Focus panel --> <!-- Focus panel -->
<check_box bottom="-70" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom="-70" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Zoom" left="4" mouse_opaque="true" initial_value="false" label="Zoom" left="4" mouse_opaque="true"
name="radio zoom" radio_style="true" width="114" /> name="radio zoom" radio_style="true" width="114" />
<volume_slider bottom="-69" follows="left|top" height="14" increment="0.01" <volume_slider bottom="-69" follows="left|top" height="14" increment="0.01"
initial_val="0.125" left="114" max_val="0.5" min_val="0" initial_val="0.125" left="114" max_val="0.5" min_val="0"
mouse_opaque="true" name="slider zoom" width="134" /> mouse_opaque="true" name="slider zoom" width="134" />
<check_box bottom="-84" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom="-84" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Orbit (Ctrl)" left="4" mouse_opaque="true" initial_value="false" label="Orbit (Ctrl)" left="4" mouse_opaque="true"
name="radio orbit" radio_style="true" width="114" /> name="radio orbit" radio_style="true" width="114" />
<check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Pan (Ctrl-Shift)" left="4" initial_value="false" label="Pan (Ctrl-Shift)" left="4"
mouse_opaque="true" name="radio pan" radio_style="true" width="114" /> mouse_opaque="true" name="radio pan" radio_style="true" width="114" />
<!-- Move panel --> <!-- Move panel -->
<check_box bottom="-70" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom="-70" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Move" left="4" mouse_opaque="true" initial_value="false" label="Move" left="4" mouse_opaque="true"
name="radio move" radio_style="true" width="114" /> name="radio move" radio_style="true" width="114" />
<check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Lift (Ctrl)" left="4" mouse_opaque="true" initial_value="false" label="Lift (Ctrl)" left="4" mouse_opaque="true"
name="radio lift" radio_style="true" width="114" /> name="radio lift" radio_style="true" width="114" />
<check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Spin (Ctrl-Shift)" left="4" initial_value="false" label="Spin (Ctrl-Shift)" left="4"
mouse_opaque="true" name="radio spin" radio_style="true" width="114" /> mouse_opaque="true" name="radio spin" radio_style="true" width="114" />
<!-- Edit panel --> <!-- Edit panel -->
<check_box bottom="-70" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom="-70" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Position" left="4" mouse_opaque="true" initial_value="false" label="Position" left="4" mouse_opaque="true"
name="radio position" radio_style="true" width="114" /> name="radio position" radio_style="true" width="114" />
<check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Rotate (Ctrl)" left="4" mouse_opaque="true" initial_value="false" label="Rotate (Ctrl)" left="4" mouse_opaque="true"
name="radio rotate" radio_style="true" width="114" /> name="radio rotate" radio_style="true" width="114" />
<check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Stretch (Ctrl-Shift)" left="4" initial_value="false" label="Stretch (Ctrl-Shift)" left="4"
mouse_opaque="true" name="radio stretch" radio_style="true" width="123" /> mouse_opaque="true" name="radio stretch" radio_style="true" width="123" />
<check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom_delta="-15" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Select Texture" left="4" mouse_opaque="true" initial_value="false" label="Select Texture" left="4" mouse_opaque="true"
name="radio select face" radio_style="true" width="114" /> name="radio select face" radio_style="true" width="114" />
<check_box bottom_delta="-19" control_name="EditLinkedParts" follows="left|top" <check_box bottom_delta="-19" control_name="EditLinkedParts" follows="left|top"
font="SansSerifSmall" height="16" initial_value="false" font="SansSerifSmall" height="16" initial_value="false"
label="Edit linked parts" left="4" mouse_opaque="true" label="Edit linked parts" left="4" mouse_opaque="true"
name="checkbox edit linked parts" width="114" /> name="checkbox edit linked parts" width="114" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom_delta="-20" drop_shadow_visible="true" follows="left|top" bottom_delta="-20" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="14" left="6" font="SansSerifSmall" h_pad="0" halign="left" height="14" left="6"
mouse_opaque="true" name="text ruler mode" v_pad="0" width="68"> mouse_opaque="true" name="text ruler mode" v_pad="0" width="68">
Ruler: Ruler:
</text> </text>
<combo_box allow_text_entry="false" bottom_delta="-4" follows="left|top" height="20" <combo_box allow_text_entry="false" bottom_delta="-4" follows="left|top" height="20"
left_delta="40" max_chars="20" mouse_opaque="true" left_delta="40" max_chars="20" mouse_opaque="true"
name="combobox grid mode" width="86"> name="combobox grid mode" width="86">
<combo_item name="World" value="World"> <combo_item name="World" value="World">
World World
</combo_item> </combo_item>
@@ -102,104 +97,100 @@
</combo_item> </combo_item>
</combo_box> </combo_box>
<check_box bottom="-70" control_name="ScaleUniform" follows="left|top" <check_box bottom="-70" control_name="ScaleUniform" follows="left|top"
font="SansSerifSmall" height="15" initial_value="false" font="SansSerifSmall" height="15" initial_value="false"
label="Stretch Both Sides" left="143" mouse_opaque="true" label="Stretch Both Sides" left="143" mouse_opaque="true"
name="checkbox uniform" width="134" /> name="checkbox uniform" width="134" />
<check_box bottom_delta="-16" control_name="ScaleStretchTextures" follows="left|top" <check_box bottom_delta="-16" control_name="ScaleStretchTextures" follows="left|top"
font="SansSerifSmall" height="15" initial_value="true" font="SansSerifSmall" height="15" initial_value="true"
label="Stretch Textures" left_delta="0" mouse_opaque="true" label="Stretch Textures" left_delta="0" mouse_opaque="true"
name="checkbox stretch textures" width="134" /> name="checkbox stretch textures" width="134" />
<check_box bottom_delta="-16" control_name="LimitDragDistance" follows="left|top" <check_box bottom_delta="-16" control_name="LimitDragDistance" follows="left|top"
font="SansSerifSmall" height="15" initial_value="true" font="SansSerifSmall" height="15" initial_value="true"
label="Limit drag distance" left_delta="0" mouse_opaque="true" label="Limit drag distance" left_delta="0" mouse_opaque="true"
name="checkbox limit drag distance" width="134" /> name="checkbox limit drag distance" width="134" />
<check_box bottom_delta="-16" control_name="SnapEnabled" follows="left|top" <check_box bottom_delta="-16" control_name="SnapEnabled" follows="left|top"
font="SansSerifSmall" height="15" initial_value="true" label="Use Grid" font="SansSerifSmall" height="15" initial_value="true" label="Use Grid"
left_delta="0" mouse_opaque="true" name="checkbox snap to grid" width="134" /> left_delta="0" mouse_opaque="true" name="checkbox snap to grid" width="134" />
<button bottom_delta="-17" follows="left|top" font="SansSerifSmall" <button bottom_delta="-17" follows="left|top" font="SansSerifSmall" halign="center"
halign="center" valign="center" valign="center" height="20" label="Options..." label_selected="Options..."
height="20" label="Options..." label_selected="Options..." left_delta="20" left_delta="20" mouse_opaque="true" name="Options..." scale_image="TRUE" width="80" />
mouse_opaque="true" name="Options..." scale_image="TRUE" width="80" />
<!-- Help text --> <!-- Help text -->
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-52" drop_shadow_visible="true" follows="left|top" bottom="-52" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="16" left="4" font="SansSerifSmall" h_pad="0" halign="left" height="16" left="4"
mouse_opaque="true" name="text status" v_pad="0" width="264"> mouse_opaque="true" name="text status" v_pad="0" width="264">
Drag to move, shift-drag to copy Drag to move, shift-drag to copy
</text> </text>
<!-- Create panel --> <!-- Create panel -->
<button bottom="-75" follows="left|top" font="SansSerif" halign="center" height="24" <button bottom="-75" follows="left|top" font="SansSerif" halign="center" height="24"
image_disabled="object_cube.tga" image_disabled="object_cube.tga"
image_disabled_selected="object_cube_active.tga" image_disabled_selected="object_cube_active.tga"
image_selected="object_cube_active.tga" image_unselected="object_cube.tga" image_selected="object_cube_active.tga" image_unselected="object_cube.tga"
label="" label_selected="" left="4" mouse_opaque="true" name="ToolCube" label="" label_selected="" left="4" mouse_opaque="true" name="ToolCube"
scale_image="TRUE" width="24" tool_tip="Cube"/> scale_image="TRUE" width="24" tool_tip="Cube"/>
<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_prism.tga" height="24" image_disabled="object_prism.tga" image_disabled_selected="object_prism_active.tga"
image_disabled_selected="object_prism_active.tga" image_selected="object_prism_active.tga" image_unselected="object_prism.tga"
image_selected="object_prism_active.tga" label="" label_selected="" left_delta="23" mouse_opaque="true" name="ToolPrism"
image_unselected="object_prism.tga" label="" label_selected="" scale_image="TRUE" tool_tip="Prism" width="24" />
left_delta="23" mouse_opaque="true" name="ToolPrism" scale_image="TRUE"
tool_tip="Prism" width="24" />
<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_pyramid.tga" height="24" image_disabled="object_pyramid.tga"
image_disabled_selected="object_pyramid_active.tga" image_disabled_selected="object_pyramid_active.tga"
image_selected="object_pyramid_active.tga" image_selected="object_pyramid_active.tga"
image_unselected="object_pyramid.tga" label="" label_selected="" image_unselected="object_pyramid.tga" label="" label_selected=""
left_delta="23" mouse_opaque="true" name="ToolPyramid" scale_image="TRUE" left_delta="23" mouse_opaque="true" name="ToolPyramid" scale_image="TRUE"
tool_tip="Pyramid" width="24" /> tool_tip="Pyramid" width="24" />
<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_tetrahedron.tga" height="24" image_disabled="object_tetrahedron.tga"
image_disabled_selected="object_tetrahedron_active.tga" image_disabled_selected="object_tetrahedron_active.tga"
image_selected="object_tetrahedron_active.tga" image_selected="object_tetrahedron_active.tga"
image_unselected="object_tetrahedron.tga" label="" label_selected="" image_unselected="object_tetrahedron.tga" label="" label_selected=""
left_delta="23" mouse_opaque="true" name="ToolTetrahedron" left_delta="23" mouse_opaque="true" name="ToolTetrahedron"
scale_image="TRUE" tool_tip="Tetrahedron" width="24" /> scale_image="TRUE" tool_tip="Tetrahedron" width="24" />
<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_cylinder.tga" height="24" width="24" image_disabled="object_cylinder.tga"
image_disabled_selected="object_cylinder_active.tga" image_disabled_selected="object_cylinder_active.tga"
image_selected="object_cylinder_active.tga" image_selected="object_cylinder_active.tga"
image_unselected="object_cylinder.tga" label="" label_selected="" image_unselected="object_cylinder.tga" label="" label_selected=""
left_delta="23" mouse_opaque="true" tool_tip="Cylinder" name="ToolCylinder" scale_image="TRUE" left_delta="23" mouse_opaque="true" tool_tip="Cylinder" name="ToolCylinder" scale_image="TRUE"/>
width="24" />
<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_hemi_cylinder.tga" height="24" image_disabled="object_hemi_cylinder.tga"
image_disabled_selected="object_hemi_cylinder_active.tga" image_disabled_selected="object_hemi_cylinder_active.tga"
image_selected="object_hemi_cylinder_active.tga" image_selected="object_hemi_cylinder_active.tga"
image_unselected="object_hemi_cylinder.tga" label="" label_selected="" image_unselected="object_hemi_cylinder.tga" label="" label_selected=""
left_delta="23" mouse_opaque="true" name="ToolHemiCylinder" left_delta="23" mouse_opaque="true" name="ToolHemiCylinder"
scale_image="TRUE" tool_tip="Hemicylinder" width="24" /> scale_image="TRUE" tool_tip="Hemicylinder" width="24" />
<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_cone.tga" height="24" image_disabled="object_cone.tga"
image_disabled_selected="object_cone_active.tga" image_disabled_selected="object_cone_active.tga"
image_selected="object_cone_active.tga" image_unselected="object_cone.tga" image_selected="object_cone_active.tga" image_unselected="object_cone.tga"
label="" label_selected="" left_delta="23" mouse_opaque="true" label="" label_selected="" left_delta="23" mouse_opaque="true"
name="ToolCone" scale_image="TRUE" tool_tip="Cone" width="24" /> name="ToolCone" scale_image="TRUE" tool_tip="Cone" width="24" />
<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_hemi_cone.tga" height="24" image_disabled="object_hemi_cone.tga"
image_disabled_selected="object_hemi_cone_active.tga" image_disabled_selected="object_hemi_cone_active.tga"
image_selected="object_hemi_cone_active.tga" image_selected="object_hemi_cone_active.tga"
image_unselected="object_hemi_cone.tga" label="" label_selected="" image_unselected="object_hemi_cone.tga" label="" label_selected=""
left_delta="23" mouse_opaque="true" name="ToolHemiCone" scale_image="TRUE" left_delta="23" mouse_opaque="true" name="ToolHemiCone" scale_image="TRUE"
tool_tip="Hemicone" width="24" /> tool_tip="Hemicone" width="24" />
<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_sphere.tga" height="24" image_disabled="object_sphere.tga"
image_disabled_selected="object_sphere_active.tga" image_disabled_selected="object_sphere_active.tga"
image_selected="object_sphere_active.tga" image_selected="object_sphere_active.tga"
image_unselected="object_sphere.tga" label="" label_selected="" image_unselected="object_sphere.tga" label="" label_selected=""
left_delta="23" mouse_opaque="true" name="ToolSphere" scale_image="TRUE" left_delta="23" mouse_opaque="true" name="ToolSphere" scale_image="TRUE"
width="24" tool_tip="Sphere" /> width="24" tool_tip="Sphere" />
<button bottom_delta="0" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="0" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_hemi_sphere.tga" height="24" image_disabled="object_hemi_sphere.tga"
image_disabled_selected="object_hemi_sphere_active.tga" image_disabled_selected="object_hemi_sphere_active.tga"
image_selected="object_hemi_sphere_active.tga" image_selected="object_hemi_sphere_active.tga"
image_unselected="object_hemi_sphere.tga" label="" label_selected="" image_unselected="object_hemi_sphere.tga" label="" label_selected=""
left_delta="23" mouse_opaque="true" name="ToolHemiSphere" left_delta="23" mouse_opaque="true" name="ToolHemiSphere"
scale_image="TRUE" tool_tip="Hemisphere" width="24" /> scale_image="TRUE" tool_tip="Hemisphere" width="24" />
<button bottom_delta="-23" follows="left|top" font="SansSerif" halign="center" <button bottom_delta="-23" follows="left|top" font="SansSerif" halign="center"
height="24" image_disabled="object_torus.tga" height="24" image_disabled="object_torus.tga"
image_disabled_selected="object_torus_active.tga" image_disabled_selected="object_torus_active.tga"
@@ -298,18 +289,18 @@
<volume_slider bottom_delta="-4" follows="left|top" height="16" hidden="false" <volume_slider bottom_delta="-4" follows="left|top" height="16" hidden="false"
increment="0.1" initial_val="0.00" left="178" max_val="2.0" min_val="-1.0" increment="0.1" initial_val="0.00" left="178" max_val="2.0" min_val="-1.0"
mouse_opaque="true" name="slider force" width="80" /> mouse_opaque="true" name="slider force" width="80" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-151" left="118" drop_shadow_visible="true" follows="left|top" bottom="-151" left="118" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="right" height="16" visible="false" font="SansSerifSmall" h_pad="0" halign="right" height="16" visible="false"
mouse_opaque="true" name="link_num_obj_count" v_pad="0" width="143"> mouse_opaque="true" name="link_num_obj_count" v_pad="0" width="143">
[DESC] [NUM] [DESC] [NUM]
</text> </text>
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-163" left="118" drop_shadow_visible="true" follows="left|top" bottom="-163" left="118" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="right" height="16" font="SansSerifSmall" h_pad="0" halign="right" height="16"
mouse_opaque="true" name="prim_count" v_pad="0" width="143"> mouse_opaque="true" name="prim_count" v_pad="0" width="143">
primitives: [COUNT] primitives: [COUNT]
</text> </text>
<!-- Sub-tabs --> <!-- Sub-tabs -->
@@ -365,63 +356,63 @@
font="SansSerifSmall" h_pad="0" halign="left" height="16" left_delta="78" font="SansSerifSmall" h_pad="0" halign="left" height="16" left_delta="78"
mouse_opaque="true" name="Owner Name" v_pad="0" width="88"> mouse_opaque="true" name="Owner Name" v_pad="0" width="88">
Thrax Linden Thrax Linden
</text> </text>
<button bottom="-86" follows="top|right" font="SansSerifSmall" halign="center" <button bottom="-86" follows="top|right" font="SansSerifSmall" halign="center"
height="16" label="Profile..." label_selected="Profile..." left_delta="94" height="16" label="Profile..." label_selected="Profile..." left_delta="94"
mouse_opaque="true" name="button owner profile" scale_image="TRUE" mouse_opaque="true" name="button owner profile" scale_image="TRUE"
width="78" /> width="78" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom_delta="-20" drop_shadow_visible="true" follows="left|top" bottom_delta="-20" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10" font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
mouse_opaque="true" name="Last Owner:" v_pad="0" width="78"> mouse_opaque="true" name="Last Owner:" v_pad="0" width="78">
Last Owner: Last Owner:
</text>
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom_delta="0" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="16" left_delta="78"
mouse_opaque="true" name="Last Owner Name" v_pad="0" width="88">
Thrax Linden
</text>
<button bottom_delta="0" follows="top|right" font="SansSerifSmall" halign="center"
height="16" label="Profile..." label_selected="Profile..." left_delta="94"
mouse_opaque="true" name="button last owner profile" scale_image="TRUE"
width="78" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-126" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
mouse_opaque="true" name="Group:" v_pad="0" width="78">
Group:
</text> </text>
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-126" drop_shadow_visible="true" follows="left|top" bottom_delta="0" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="16" left_delta="78" font="SansSerifSmall" h_pad="0" halign="left" height="16" left_delta="78"
mouse_opaque="true" name="Group Name Proxy" v_pad="0" visible="false" mouse_opaque="true" name="Last Owner Name" v_pad="0" width="88">
width="88"> Thrax Linden
The Lindens </text>
</text> <button bottom_delta="0" follows="top|right" font="SansSerifSmall" halign="center"
<button bottom="-126" follows="top|right" font="SansSerifSmall" halign="center" height="16" label="Profile..." label_selected="Profile..." left_delta="94"
height="16" label="Set" label_selected="Set..." left_delta="94" mouse_opaque="true" name="button last owner profile" scale_image="TRUE"
mouse_opaque="true" name="button set group" scale_image="TRUE" width="30" /> width="78" />
<button bottom_delta="0" follows="top|right" font="SansSerifSmall" halign="center" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
height="16" label="View" label_selected="Open" left_delta="30" bottom="-126" drop_shadow_visible="true" follows="left|top"
mouse_opaque="true" name="button open group" scale_image="TRUE" width="48" /> font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" mouse_opaque="true" name="Group:" v_pad="0" width="78">
bottom_delta="-20" drop_shadow_visible="true" follows="left|top" Group:
font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10" </text>
mouse_opaque="true" name="Permissions:" v_pad="0" width="85"> <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-126" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="16" left_delta="78"
mouse_opaque="true" name="Group Name Proxy" v_pad="0" visible="false"
width="88">
The Lindens
</text>
<button bottom="-126" follows="top|right" font="SansSerifSmall" halign="center"
height="16" label="Set" label_selected="Set..." left_delta="94"
mouse_opaque="true" name="button set group" scale_image="TRUE" width="30" />
<button bottom_delta="0" follows="top|right" font="SansSerifSmall" halign="center"
height="16" label="View" label_selected="Open" left_delta="30"
mouse_opaque="true" name="button open group" scale_image="TRUE" width="48" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom_delta="-20" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
mouse_opaque="true" name="Permissions:" v_pad="0" width="85">
Permissions: Permissions:
</text> </text>
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom_delta="-20" drop_shadow_visible="true" follows="left|top|right" bottom_delta="-20" drop_shadow_visible="true" follows="left|top|right"
font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10" font="SansSerifSmall" h_pad="0" halign="left" height="16" left="10"
mouse_opaque="true" name="perm_modify" v_pad="0" width="250"> mouse_opaque="true" name="perm_modify" v_pad="0" width="250">
You can modify this object. You can modify this object.
</text> </text>
<check_box bottom_delta="-20" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom_delta="-20" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Share with group" left="10" initial_value="false" label="Share with group" left="10"
mouse_opaque="true" name="checkbox share with group" mouse_opaque="true" name="checkbox share with group"
tool_tip="Allow all members of the set group to share and use your permissions for this object. You must Deed to enable role restrictions." tool_tip="Allow all members of the set group to share and use your permissions for this object. You must Deed to enable role restrictions."
width="166" /> width="166" />
<string name="text deed continued"> <string name="text deed continued">
Deed... Deed...
</string> </string>
@@ -651,15 +642,15 @@
tool_tip="Paste Position from Clipboard" width="20" /> tool_tip="Paste Position from Clipboard" width="20" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom_delta="-14" drop_shadow_visible="true" follows="left|top" bottom_delta="-14" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="10" left="7" font="SansSerifSmall" h_pad="0" halign="left" height="10" left="7"
mouse_opaque="true" name="label size" v_pad="0" width="121"> mouse_opaque="true" name="label size" v_pad="0" width="121">
Size Size
</text> </text>
<spinner bottom_delta="-22" decimal_digits="5" follows="left|top" height="16" <spinner bottom_delta="-22" decimal_digits="5" follows="left|top" height="16"
increment="0.01" initial_val="0" label="X" label_width="10" left_delta="0" increment="0.01" initial_val="0" label="X" label_width="10" left_delta="0"
max_val="1024" min_val="0.01" mouse_opaque="true" name="Scale X" max_val="10" min_val="0.01" mouse_opaque="true" name="Scale X"
text_enabled_color="1, 1, 1, 1" width="87" /> text_enabled_color="1, 1, 1, 1" width="87" />
<spinner bottom_delta="-18" decimal_digits="5" follows="left|top" height="16" <spinner bottom_delta="-18" decimal_digits="5" follows="left|top" height="16"
increment="0.01" initial_val="0" label="Y" label_width="10" left_delta="0" increment="0.01" initial_val="0" label="Y" label_width="10" left_delta="0"
@@ -669,18 +660,18 @@
increment="0.01" initial_val="0" label="Z" label_width="10" left_delta="0" increment="0.01" initial_val="0" label="Z" label_width="10" left_delta="0"
max_val="10" min_val="0.01" mouse_opaque="true" name="Scale Z" max_val="10" min_val="0.01" mouse_opaque="true" name="Scale Z"
text_enabled_color="1, 1, 1, 1" width="87" /> text_enabled_color="1, 1, 1, 1" width="87" />
<button bottom_delta="35" follows="top|right" font="SansSerifSmall" halign="center" <button bottom_delta="35" follows="top|right" font="SansSerifSmall" halign="center"
height="18" label="C" left_delta="90" mouse_opaque="true" name="copysize" enabled="true" height="18" label="C" left_delta="90" mouse_opaque="true" name="copysize" enabled="true"
tool_tip="Copy Size" width="20" /> tool_tip="Copy Size" width="20" />
<button bottom_delta="-18" follows="top|right" font="SansSerifSmall" halign="center" <button bottom_delta="-18" follows="top|right" font="SansSerifSmall" halign="center"
height="18" label="P" left_delta="0" mouse_opaque="true" name="pastesize" enabled="true" height="18" label="P" left_delta="0" mouse_opaque="true" name="pastesize" enabled="true"
tool_tip="Paste Size" width="20" /> tool_tip="Paste Size" width="20" />
<button bottom_delta="-18" follows="top|right" font="SansSerifSmall" halign="center" <button bottom_delta="-18" follows="top|right" font="SansSerifSmall" halign="center"
height="18" label="p" left_delta="0" mouse_opaque="true" name="pastesizeclip" enabled="true" height="18" label="p" left_delta="0" mouse_opaque="true" name="pastesizeclip" enabled="true"
tool_tip="Paste Size from Clipboard" width="20" /> tool_tip="Paste Size from Clipboard" width="20" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom_delta="-14" drop_shadow_visible="true" follows="left|top" bottom_delta="-14" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="10" left="7" font="SansSerifSmall" h_pad="0" halign="left" height="10" left="7"
mouse_opaque="true" name="label rotation" v_pad="0" width="121"> mouse_opaque="true" name="label rotation" v_pad="0" width="121">
@@ -698,19 +689,19 @@
increment="1" initial_val="0" label="Z" label_width="10" left_delta="0" increment="1" initial_val="0" label="Z" label_width="10" left_delta="0"
max_val="9999" min_val="-9999" mouse_opaque="true" name="Rot Z" max_val="9999" min_val="-9999" mouse_opaque="true" name="Rot Z"
text_enabled_color="1, 1, 1, 1" width="87" /> text_enabled_color="1, 1, 1, 1" width="87" />
<button bottom_delta="35" follows="top|right" font="SansSerifSmall" halign="center" <button bottom_delta="35" follows="top|right" font="SansSerifSmall" halign="center"
height="18" label="C" left_delta="90" mouse_opaque="true" name="copyrot" enabled="true" height="18" label="C" left_delta="90" mouse_opaque="true" name="copyrot" enabled="true"
tool_tip="Copy Rotation" width="20" /> tool_tip="Copy Rotation" width="20" />
<button bottom_delta="-18" follows="top|right" font="SansSerifSmall" halign="center" <button bottom_delta="-18" follows="top|right" font="SansSerifSmall" halign="center"
height="18" label="P" left_delta="0" mouse_opaque="true" name="pasterot" enabled="true" height="18" label="P" left_delta="0" mouse_opaque="true" name="pasterot" enabled="true"
tool_tip="Paste Rotation" width="20" /> tool_tip="Paste Rotation" width="20" />
<button bottom_delta="-18" follows="top|right" font="SansSerifSmall" halign="center" <button bottom_delta="-18" follows="top|right" font="SansSerifSmall" halign="center"
height="18" label="p" left_delta="0" mouse_opaque="true" name="pasterotclip" enabled="true" height="18" label="p" left_delta="0" mouse_opaque="true" name="pasterotclip" enabled="true"
tool_tip="Paste Rotation from Clipboard" width="20" /> tool_tip="Paste Rotation from Clipboard" width="20" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom_delta="-16" drop_shadow_visible="true" follows="left|top" bottom_delta="-16" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="10" left="10" font="SansSerifSmall" h_pad="0" halign="left" height="10" left="10"
mouse_opaque="true" name="label material" v_pad="0" width="121"> mouse_opaque="true" name="label material" v_pad="0" width="121">
@@ -740,19 +731,19 @@
Rubber Rubber
</combo_item> </combo_item>
</combo_box> </combo_box>
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-20" drop_shadow_visible="true" follows="left|top" bottom="-20" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="10" left="121" font="SansSerifSmall" h_pad="0" halign="left" height="10" left="121"
mouse_opaque="true" name="edit_object" v_pad="0" width="252"> mouse_opaque="true" name="edit_object" v_pad="0" width="252">
Params: Params:
</text> </text>
<button bottom="-24" follows="top|right" font="SansSerifSmall" halign="center" <button bottom="-24" follows="top|right" font="SansSerifSmall" halign="center"
height="16" label="Copy" left="178" mouse_opaque="true" name="copyparams" enabled="true" height="16" label="Copy" left="178" mouse_opaque="true" name="copyparams" enabled="true"
tool_tip="Copy Parameters from Clipboard" width="42" /> tool_tip="Copy Parameters from Clipboard" width="42" />
<button bottom_delta="0" follows="top|right" font="SansSerifSmall" halign="center" <button bottom_delta="0" follows="top|right" font="SansSerifSmall" halign="center"
height="16" label="Paste" left_delta="42" mouse_opaque="true" name="pasteparams" enabled="true" height="16" label="Paste" left_delta="42" mouse_opaque="true" name="pasteparams" enabled="true"
tool_tip="Paste Parameters from Clipboard" width="42" /> tool_tip="Paste Parameters from Clipboard" width="42" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom="-36" drop_shadow_visible="true" follows="left|top" bottom="-36" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="10" left="121" font="SansSerifSmall" h_pad="0" halign="left" height="10" left="121"
mouse_opaque="true" name="label basetype" v_pad="0" width="141"> mouse_opaque="true" name="label basetype" v_pad="0" width="141">
@@ -848,7 +839,7 @@
increment="0.05" initial_val="0" left_delta="73" max_val="0.95" increment="0.05" initial_val="0" left_delta="73" max_val="0.95"
min_val="-0.95" mouse_opaque="true" name="Skew" width="68" /> min_val="-0.95" mouse_opaque="true" name="Skew" width="68" />
<text bg_visible="false" border_drop_shadow_visible="false" border_visible="false" <text bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
bottom_delta="-15" drop_shadow_visible="true" follows="left|top" bottom_delta="-12" drop_shadow_visible="true" follows="left|top"
font="SansSerifSmall" h_pad="0" halign="left" height="10" left="121" font="SansSerifSmall" h_pad="0" halign="left" height="10" left="121"
mouse_opaque="true" name="Hollow Shape" v_pad="0" width="141"> mouse_opaque="true" name="Hollow Shape" v_pad="0" width="141">
Hollow Shape Hollow Shape
@@ -1010,7 +1001,7 @@
<combo_item name="Cylinder" value="Cylinder"> <combo_item name="Cylinder" value="Cylinder">
Cylinder Cylinder
</combo_item> </combo_item>
</combo_box> </combo_box>
</panel> </panel>
<!-- Features sub-tab --> <!-- Features sub-tab -->
@@ -1237,15 +1228,15 @@
mouse_opaque="true" name="tex scale" v_pad="0" width="160"> mouse_opaque="true" name="tex scale" v_pad="0" width="160">
Repeats per Face Repeats per Face
</text> </text>
<spinner bottom="-178" decimal_digits="3" follows="left|top" height="16" increment="0.1" <spinner bottom="-178" decimal_digits="5" follows="left|top" height="16" increment="0.1"
initial_val="0" label="Horizontal (U)" label_width="90" left="20" initial_val="0" label="Horizontal (U)" label_width="90" left="20"
max_val="100" min_val="0" mouse_opaque="true" name="TexScaleU" width="160" /> max_val="1000" min_val="0" mouse_opaque="true" name="TexScaleU" width="160" />
<check_box bottom="-179" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom="-179" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Flip" left_delta="170" mouse_opaque="true" initial_value="false" label="Flip" left_delta="170" mouse_opaque="true"
name="checkbox flip s" width="70" /> name="checkbox flip s" width="70" />
<spinner bottom="-196" decimal_digits="3" follows="left|top" height="16" increment="0.1" <spinner bottom="-196" decimal_digits="5" follows="left|top" height="16" increment="0.1"
initial_val="0" label="Vertical (V)" label_width="90" left="20" initial_val="0" label="Vertical (V)" label_width="90" left="20"
max_val="100" min_val="0" mouse_opaque="true" name="TexScaleV" width="160" /> max_val="1000" min_val="0" mouse_opaque="true" name="TexScaleV" width="160" />
<check_box bottom="-197" follows="left|top" font="SansSerifSmall" height="16" <check_box bottom="-197" follows="left|top" font="SansSerifSmall" height="16"
initial_value="false" label="Flip" left_delta="170" mouse_opaque="true" initial_value="false" label="Flip" left_delta="170" mouse_opaque="true"
name="checkbox flip t" width="70" /> name="checkbox flip t" width="70" />

View File

@@ -572,6 +572,61 @@ Objects: [N]
yestext="OK"/> yestext="OK"/>
</notification> </notification>
<notification
icon="alert.tga"
name="ClickBuildConstants"
type="alert">
The following constants are accepted in this tab:
PX -- X-axis position
PY -- Y-axis position
PZ -- Z-axis position
SX -- X-axis size
SY -- Y-axis size
SZ -- Z-axis size
RX -- X-axis rotation
RY -- Y-axis rotation
RZ -- Z-axis rotation
CB -- Path cut begin
CE -- Path cut end
HLW -- Hollow size
SKW -- Skew
PB -- Slice/Dimple/Profile cut begin
PE -- Slice/Dimple/Profile cut end
TB -- Twist begin
TE -- Twist end
SHX -- X-axis top shear
SHY -- Y-axis top shear
HLX -- X-axis hole size
HLY -- Y-axis hole size
TPX -- X-axis taper
TPY -- Y-axis taper
ROF -- Radius offset
REV -- Revolutions
PI -- pi
TWO_PI -- 2pi
PI_BY_TWO -- pi/2
SQRT2 -- Square root of 2
DEG_TO_RAD -- DEG_TO_RAD conversion (pi/180)
RAD_TO_DEG -- RAD_TO_DEG conversion (180/pi)
GRAVITY -- -9.8
* -- Multiplication
\ -- Division
+ -- Addition
- -- Subtraction
For information about this feature, click "More Info".
<url option="1" name="url">
http://imprudenceviewer.org/wiki/Build_Math_Expressions
</url>
<usetemplate
name="okhelpbuttons"
yestext="OK"
helptext="More Info"/>
</notification>
<notification <notification
icon="alertmodal.tga" icon="alertmodal.tga"
name="ReturnObjectsOwnedBySelf" name="ReturnObjectsOwnedBySelf"