<commit_before><?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
         border="false"
         follows="all"
         height="420"
         label="Texture"
         layout="topleft"
         left="0"
         mouse_opaque="false"
         help_topic="toolbox_texture_tab"
         name="Texture"
         top="0"
         width="295">
            <panel.string
             name="string repeats per meter">
                Repeats Per Meter
            </panel.string>
            <panel.string
             name="string repeats per face">
                Repeats Per Face
            </panel.string>
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left="10"
             name="color label"
             text_readonly_color="LabelDisabledColor"
             top="6"
             width="64">
                Color
            </text>
            <!-- label is blank because control places it below the box -->
            <color_swatch
             can_apply_immediately="true"
             follows="left|top"
             height="45"
             label=""
             layout="topleft"
             left="10"
             name="colorswatch"
             tool_tip="Click to open color picker"
             top="20"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_pad="15"
             name="color trans"
             text_readonly_color="LabelDisabledColor"
             top="6"
             width="110">
                Transparency %
            </text>
            <spinner
             decimal_digits="0"
             follows="left|top"
             height="19"
             increment="2"
             initial_value="0"
             layout="topleft"
             left_delta="0"
             max_val="100"
             name="ColorTrans"
             top_pad="4"
             width="80" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_pad="15"
             name="glow label"
             text_readonly_color="LabelDisabledColor"
             top="6"
             width="80">
                Glow
            </text>
            <spinner
             decimal_digits="2"
             follows="left|top"
             height="19"
             initial_value="0"
             layout="topleft"
             left_delta="0"
             name="glow"
             top_pad="4"
             width="80" />
            <check_box
             height="19"
             label="Full Bright"
             layout="topleft"
             left="7"
             name="checkbox fullbright"
             top_pad="4"
             width="81" />
            <combo_box
             height="23"
             layout="topleft"
             left="10"
             name="combobox matmedia"
             top_pad="5"
             width="100">
                <combo_box.item
                 label="Materials"
                 name="Materials"
                 value="Materials" />
                <combo_box.item
                 label="Media"
                 name="Media"
                 value="Media" />
            </combo_box>
            <combo_box
             height="23"
             layout="topleft"
             left_pad="10"
             name="combobox mattype"
             top_delta="0"
             width="155">
                <combo_box.item
                 label="Texture (diffuse)"
                 name="Texture (diffuse)"
                 value="Texture (diffuse)" />
                <combo_box.item
                 label="Bumpiness (normal)"
                 name="Bumpiness (normal)"
                 value="Bumpiness (normal)" />
                <combo_box.item
                 label="Shininess (specular)"
                 name="Shininess (specular)"
                 value="Shininess (specular)" />
            </combo_box>
            <texture_picker
             can_apply_immediately="true"
             default_image_name="Default"
             fallback_image="materials_ui_x_24.png"
             follows="left|top"
             height="80"
             label="Texture       "
             layout="topleft"
             left="10"
             name="texture control"
             tool_tip="Click to choose a picture"
             top_pad="8"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_pad="10"
             name="label alphamode"
             text_readonly_color="LabelDisabledColor"
             top_delta="0"
             width="90">
                Alpha mode
            </text>
            <combo_box
             height="23"
             layout="topleft"
             left_delta="0"
             name="combobox alphamode"
             top_pad="4"
             width="120">
                <combo_box.item
                 label="None"
                 name="None"
                 value="None" />
                <combo_box.item
                 label="Alpha blending"
                 name="Alpha blending"
                 value="Alpha blending" />
                <combo_box.item
                 label="Alpha masking"
                 name="Alpha masking"
                 value="Alpha masking" />
                <combo_box.item
                 label="Emissive mask"
                 name="Emissive mask"
                 value="Emissive mask" />
            </combo_box>
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_delta="0"
             name="label maskcutoff"
             text_readonly_color="LabelDisabledColor"
             top_pad="4"
             width="90">
                Mask cutoff
            </text>
            <spinner
             decimal_digits="0"
             min_val="0"
             max_val="255"
             follows="left|top"
             height="19"
             initial_value="55"
             layout="topleft"
             top_pad="4"
             left_delta="0"
             increment="1"
             name="maskcutoff"
             width="80" />
            <texture_picker
             allow_no_texture="true"
             can_apply_immediately="true"
             default_image_name="Default"
             fallback_image="materials_ui_x_24.png"
             follows="left|top"
             height="80"
             label="Texture       "
             layout="topleft"
             left="10"
             name="bumpytexture control"
             tool_tip="Click to choose a picture"
             top_delta="-55"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_pad="10"
             name="label bumpiness"
             text_readonly_color="LabelDisabledColor"
             top_delta="0"
             width="90">
                Bumpiness
            </text>
            <combo_box
             height="23"
             layout="topleft"
             left_delta="0"
             name="combobox bumpiness"
             top_pad="4"
             width="90">
                <combo_box.item
                 label="None"
                 name="None"
                 value="None" />
                <combo_box.item
                 label="Brightness"
                 name="Brightness"
                 value="Brightness" />
                <combo_box.item
                 label="Darkness"
                 name="Darkness"
                 value="Darkness" />
                <combo_box.item
                 label="woodgrain"
                 name="woodgrain"
                 value="woodgrain" />
                <combo_box.item
                 label="bark"
                 name="bark"
                 value="bark" />
                <combo_box.item
                 label="bricks"
                 name="bricks"
                 value="bricks" />
                <combo_box.item
                 label="checker"
                 name="checker"
                 value="checker" />
                <combo_box.item
                 label="concrete"
                 name="concrete"
                 value="concrete" />
                <combo_box.item
                 label="crustytile"
                 name="crustytile"
                 value="crustytile" />
                <combo_box.item
                 label="cutstone"
                 name="cutstone"
                 value="cutstone" />
                <combo_box.item
                 label="discs"
                 name="discs"
                 value="discs" />
                <combo_box.item
                 label="gravel"
                 name="gravel"
                 value="gravel" />
                <combo_box.item
                 label="petridish"
                 name="petridish"
                 value="petridish" />
                <combo_box.item
                 label="siding"
                 name="siding"
                 value="siding" />
                <combo_box.item
                 label="stonetile"
                 name="stonetile"
                 value="stonetile" />
                <combo_box.item
                 label="stucco"
                 name="stucco"
                 value="stucco" />
                <combo_box.item
                 label="suction"
                 name="suction"
                 value="suction" />
                <combo_box.item
                 label="weave"
                 name="weave"
                 value="weave" />
                <combo_box.item
                 label="Use texture"
                 name="Use texture"
                 value="Use texture" />
            </combo_box>
            <texture_picker
             allow_no_texture="true"
             can_apply_immediately="true"
             default_image_name="Default"
             fallback_image="materials_ui_x_24.png"
             follows="left|top"
             height="80"
             label="Texture       "
             layout="topleft"
             left="10"
             name="shinytexture control"
             tool_tip="Click to choose a picture"
             top_delta="-14"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             name="label shininess"
             left_pad="10"
             text_readonly_color="LabelDisabledColor"
             top_delta="6"
             width="90">
                Shininess
            </text>
            <combo_box
             height="23"
             layout="topleft"
             left_pad="10"
             name="combobox shininess"
             top_delta="-6"
             width="90">
                <combo_box.item
                 label="None"
                 name="None"
                 value="None" />
                <combo_box.item
                 label="Low"
                 name="Low"
                 value="Low" />
                <combo_box.item
                 label="Medium"
                 name="Medium"
                 value="Medium" />
                <combo_box.item
                 label="High"
                 name="High"
                 value="High" />
                <combo_box.item
                 label="Use texture"
                 name="Use texture"
                 value="Use texture" />
            </combo_box>
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_delta="-100"
             name="label glossiness"
             text_readonly_color="LabelDisabledColor"
             top_pad="8"
             width="116">
                Glossiness
            </text>
            <spinner
             decimal_digits="0"
             min_val="0"
             max_val="255"
             follows="left|top"
             height="19"
             initial_value="51"
             increment="1"
             layout="topleft"
             top_delta="-4"
             left_pad="10"
             name="glossiness"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_delta="-126"
             name="label environment"
             text_readonly_color="LabelDisabledColor"
             top_pad="8"
             width="116">
                Environment
            </text>
            <spinner
             decimal_digits="0"
             min_val="0"
             max_val="255"
             increment="1"
             follows="left|top"
             height="19"
             initial_value="0"
             layout="topleft"
             top_delta="-4"
             left_pad="10"
             name="environment"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_delta="-126"
             name="label shinycolor"
             text_readonly_color="LabelDisabledColor"
             top_pad="8"
             width="116">
                Color
            </text>
            <!-- label is blank because control places it below the box -->
            <color_swatch
             can_apply_immediately="true"
             follows="left|top"
             height="45"
             label=""
             layout="topleft"
             left_pad="10"
             name="shinycolorswatch"
             tool_tip="Click to open color picker"
             top_delta="-4"
             width="64" />
            <text
			 follows="left|top|right"
			 height="9"
			 layout="topleft"
			 left="10"
			 top_delta="-50"
             use_ellipses="true"
			 read_only="true"
			 name="media_info"
			 width="280">
			 URL of chosen media, if any, goes here
			 </text>
			<button
			 follows="top|left"
			 height="18"
			 layout="topleft"
			 left="10"
			 name="add_media"
			 top_pad="4"
			 tool_tip="Add Media"
			 label="Choose..."
			 width="85">
				<button.commit_callback
				function="BuildTool.AddMedia"/>
			</button>
			<button
			 follows="top|left"
			 height="18"
			 layout="topleft"
			 left_pad="5"
			 name="delete_media"
			 tool_tip="Delete this media texture"
			 top_delta="0"
			 label="Remove"
			 width="85">
				<button.commit_callback
				function="BuildTool.DeleteMedia"/>
			</button>
            <button
			 follows="left|top"
			 height="18"
			 label="Align"
			 label_selected="Align Media"
			 layout="topleft"
			 left_pad="5"
			 name="button align"
			 top_delta="0"
			 tool_tip="Align media texture (must load first)"
			 width="85" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left="10"
             name="tex gen"
             text_readonly_color="LabelDisabledColor"
             top_pad="60"
             width="140">
                Mapping
            </text>
            <combo_box
             height="23"
             layout="topleft"
             left_pad="0"
             name="combobox texgen"
             top_pad="-13"
             width="125">
                <combo_box.item
                 label="Default"
                 name="Default"
                 value="Default" />
                <combo_box.item
                 label="Planar"
                 name="Planar"
                 value="Planar" />
            </combo_box>
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="TexScaleU"
             top_pad="5"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="TexScaleV"
             width="265" />
            <spinner
             decimal_digits="1"
             follows="left|top"
             height="19"
             initial_value=""
			 label="Repeats per meter"
             layout="topleft"
			 label_width="205"
             left="10"
             max_val="100"
             min_val="0.1"
             name="rptctrl"
             width="265" />
           <spinner
             decimal_digits="2"
             follows="left|top"
             height="19"
             increment="1"
             initial_value="0"
			 label="Rotation degrees"
             layout="topleft"
			 label_width="205"
             left="10"
             max_val="9999"
             min_val="-9999"
             name="TexRot"
             width="265" />

            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="TexOffsetU"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="TexOffsetV"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="bumpyScaleU"
             top_delta="-115"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="bumpyScaleV"
             width="265" />
           <spinner
             decimal_digits="2"
             follows="left|top"
             height="19"
             top_pad="27"
             increment="1"
             initial_value="0"
			 label="Rotation degrees"
             layout="topleft"
			 label_width="205"
             left="10"
             max_val="9999"
             min_val="-9999"
             name="bumpyRot"
             width="265" />

            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="bumpyOffsetU"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="bumpyOffsetV"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="shinyScaleU"
             top_delta="-115"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="shinyScaleV"
             width="265" />
           <spinner
             decimal_digits="2"
             follows="left|top"
             height="19"
             top_pad="27"
             increment="1"
             initial_value="0"
			 label="Rotation degrees"
             layout="topleft"
			 label_width="205"
             left="10"
             max_val="9999"
             min_val="-9999"
             name="shinyRot"
             width="265" />

            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="shinyOffsetU"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical offset"
             label_width="205"<commit_msg>NORSPEC-186 clamp norm/spec map rotations to 0-360 until we can fix the server side issue with negative rotations<commit_after><?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
         border="false"
         follows="all"
         height="420"
         label="Texture"
         layout="topleft"
         left="0"
         mouse_opaque="false"
         help_topic="toolbox_texture_tab"
         name="Texture"
         top="0"
         width="295">
            <panel.string
             name="string repeats per meter">
                Repeats Per Meter
            </panel.string>
            <panel.string
             name="string repeats per face">
                Repeats Per Face
            </panel.string>
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left="10"
             name="color label"
             text_readonly_color="LabelDisabledColor"
             top="6"
             width="64">
                Color
            </text>
            <!-- label is blank because control places it below the box -->
            <color_swatch
             can_apply_immediately="true"
             follows="left|top"
             height="45"
             label=""
             layout="topleft"
             left="10"
             name="colorswatch"
             tool_tip="Click to open color picker"
             top="20"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_pad="15"
             name="color trans"
             text_readonly_color="LabelDisabledColor"
             top="6"
             width="110">
                Transparency %
            </text>
            <spinner
             decimal_digits="0"
             follows="left|top"
             height="19"
             increment="2"
             initial_value="0"
             layout="topleft"
             left_delta="0"
             max_val="100"
             name="ColorTrans"
             top_pad="4"
             width="80" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_pad="15"
             name="glow label"
             text_readonly_color="LabelDisabledColor"
             top="6"
             width="80">
                Glow
            </text>
            <spinner
             decimal_digits="2"
             follows="left|top"
             height="19"
             initial_value="0"
             layout="topleft"
             left_delta="0"
             name="glow"
             top_pad="4"
             width="80" />
            <check_box
             height="19"
             label="Full Bright"
             layout="topleft"
             left="7"
             name="checkbox fullbright"
             top_pad="4"
             width="81" />
            <combo_box
             height="23"
             layout="topleft"
             left="10"
             name="combobox matmedia"
             top_pad="5"
             width="100">
                <combo_box.item
                 label="Materials"
                 name="Materials"
                 value="Materials" />
                <combo_box.item
                 label="Media"
                 name="Media"
                 value="Media" />
            </combo_box>
            <combo_box
             height="23"
             layout="topleft"
             left_pad="10"
             name="combobox mattype"
             top_delta="0"
             width="155">
                <combo_box.item
                 label="Texture (diffuse)"
                 name="Texture (diffuse)"
                 value="Texture (diffuse)" />
                <combo_box.item
                 label="Bumpiness (normal)"
                 name="Bumpiness (normal)"
                 value="Bumpiness (normal)" />
                <combo_box.item
                 label="Shininess (specular)"
                 name="Shininess (specular)"
                 value="Shininess (specular)" />
            </combo_box>
            <texture_picker
             can_apply_immediately="true"
             default_image_name="Default"
             fallback_image="materials_ui_x_24.png"
             follows="left|top"
             height="80"
             label="Texture       "
             layout="topleft"
             left="10"
             name="texture control"
             tool_tip="Click to choose a picture"
             top_pad="8"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_pad="10"
             name="label alphamode"
             text_readonly_color="LabelDisabledColor"
             top_delta="0"
             width="90">
                Alpha mode
            </text>
            <combo_box
             height="23"
             layout="topleft"
             left_delta="0"
             name="combobox alphamode"
             top_pad="4"
             width="120">
                <combo_box.item
                 label="None"
                 name="None"
                 value="None" />
                <combo_box.item
                 label="Alpha blending"
                 name="Alpha blending"
                 value="Alpha blending" />
                <combo_box.item
                 label="Alpha masking"
                 name="Alpha masking"
                 value="Alpha masking" />
                <combo_box.item
                 label="Emissive mask"
                 name="Emissive mask"
                 value="Emissive mask" />
            </combo_box>
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_delta="0"
             name="label maskcutoff"
             text_readonly_color="LabelDisabledColor"
             top_pad="4"
             width="90">
                Mask cutoff
            </text>
            <spinner
             decimal_digits="0"
             min_val="0"
             max_val="255"
             follows="left|top"
             height="19"
             initial_value="55"
             layout="topleft"
             top_pad="4"
             left_delta="0"
             increment="1"
             name="maskcutoff"
             width="80" />
            <texture_picker
             allow_no_texture="true"
             can_apply_immediately="true"
             default_image_name="Default"
             fallback_image="materials_ui_x_24.png"
             follows="left|top"
             height="80"
             label="Texture       "
             layout="topleft"
             left="10"
             name="bumpytexture control"
             tool_tip="Click to choose a picture"
             top_delta="-55"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_pad="10"
             name="label bumpiness"
             text_readonly_color="LabelDisabledColor"
             top_delta="0"
             width="90">
                Bumpiness
            </text>
            <combo_box
             height="23"
             layout="topleft"
             left_delta="0"
             name="combobox bumpiness"
             top_pad="4"
             width="90">
                <combo_box.item
                 label="None"
                 name="None"
                 value="None" />
                <combo_box.item
                 label="Brightness"
                 name="Brightness"
                 value="Brightness" />
                <combo_box.item
                 label="Darkness"
                 name="Darkness"
                 value="Darkness" />
                <combo_box.item
                 label="woodgrain"
                 name="woodgrain"
                 value="woodgrain" />
                <combo_box.item
                 label="bark"
                 name="bark"
                 value="bark" />
                <combo_box.item
                 label="bricks"
                 name="bricks"
                 value="bricks" />
                <combo_box.item
                 label="checker"
                 name="checker"
                 value="checker" />
                <combo_box.item
                 label="concrete"
                 name="concrete"
                 value="concrete" />
                <combo_box.item
                 label="crustytile"
                 name="crustytile"
                 value="crustytile" />
                <combo_box.item
                 label="cutstone"
                 name="cutstone"
                 value="cutstone" />
                <combo_box.item
                 label="discs"
                 name="discs"
                 value="discs" />
                <combo_box.item
                 label="gravel"
                 name="gravel"
                 value="gravel" />
                <combo_box.item
                 label="petridish"
                 name="petridish"
                 value="petridish" />
                <combo_box.item
                 label="siding"
                 name="siding"
                 value="siding" />
                <combo_box.item
                 label="stonetile"
                 name="stonetile"
                 value="stonetile" />
                <combo_box.item
                 label="stucco"
                 name="stucco"
                 value="stucco" />
                <combo_box.item
                 label="suction"
                 name="suction"
                 value="suction" />
                <combo_box.item
                 label="weave"
                 name="weave"
                 value="weave" />
                <combo_box.item
                 label="Use texture"
                 name="Use texture"
                 value="Use texture" />
            </combo_box>
            <texture_picker
             allow_no_texture="true"
             can_apply_immediately="true"
             default_image_name="Default"
             fallback_image="materials_ui_x_24.png"
             follows="left|top"
             height="80"
             label="Texture       "
             layout="topleft"
             left="10"
             name="shinytexture control"
             tool_tip="Click to choose a picture"
             top_delta="-14"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             name="label shininess"
             left_pad="10"
             text_readonly_color="LabelDisabledColor"
             top_delta="6"
             width="90">
                Shininess
            </text>
            <combo_box
             height="23"
             layout="topleft"
             left_pad="10"
             name="combobox shininess"
             top_delta="-6"
             width="90">
                <combo_box.item
                 label="None"
                 name="None"
                 value="None" />
                <combo_box.item
                 label="Low"
                 name="Low"
                 value="Low" />
                <combo_box.item
                 label="Medium"
                 name="Medium"
                 value="Medium" />
                <combo_box.item
                 label="High"
                 name="High"
                 value="High" />
                <combo_box.item
                 label="Use texture"
                 name="Use texture"
                 value="Use texture" />
            </combo_box>
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_delta="-100"
             name="label glossiness"
             text_readonly_color="LabelDisabledColor"
             top_pad="8"
             width="116">
                Glossiness
            </text>
            <spinner
             decimal_digits="0"
             min_val="0"
             max_val="255"
             follows="left|top"
             height="19"
             initial_value="51"
             increment="1"
             layout="topleft"
             top_delta="-4"
             left_pad="10"
             name="glossiness"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_delta="-126"
             name="label environment"
             text_readonly_color="LabelDisabledColor"
             top_pad="8"
             width="116">
                Environment
            </text>
            <spinner
             decimal_digits="0"
             min_val="0"
             max_val="255"
             increment="1"
             follows="left|top"
             height="19"
             initial_value="0"
             layout="topleft"
             top_delta="-4"
             left_pad="10"
             name="environment"
             width="64" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left_delta="-126"
             name="label shinycolor"
             text_readonly_color="LabelDisabledColor"
             top_pad="8"
             width="116">
                Color
            </text>
            <!-- label is blank because control places it below the box -->
            <color_swatch
             can_apply_immediately="true"
             follows="left|top"
             height="45"
             label=""
             layout="topleft"
             left_pad="10"
             name="shinycolorswatch"
             tool_tip="Click to open color picker"
             top_delta="-4"
             width="64" />
            <text
			 follows="left|top|right"
			 height="9"
			 layout="topleft"
			 left="10"
			 top_delta="-50"
             use_ellipses="true"
			 read_only="true"
			 name="media_info"
			 width="280">
			 URL of chosen media, if any, goes here
			 </text>
			<button
			 follows="top|left"
			 height="18"
			 layout="topleft"
			 left="10"
			 name="add_media"
			 top_pad="4"
			 tool_tip="Add Media"
			 label="Choose..."
			 width="85">
				<button.commit_callback
				function="BuildTool.AddMedia"/>
			</button>
			<button
			 follows="top|left"
			 height="18"
			 layout="topleft"
			 left_pad="5"
			 name="delete_media"
			 tool_tip="Delete this media texture"
			 top_delta="0"
			 label="Remove"
			 width="85">
				<button.commit_callback
				function="BuildTool.DeleteMedia"/>
			</button>
            <button
			 follows="left|top"
			 height="18"
			 label="Align"
			 label_selected="Align Media"
			 layout="topleft"
			 left_pad="5"
			 name="button align"
			 top_delta="0"
			 tool_tip="Align media texture (must load first)"
			 width="85" />
            <text
             type="string"
             length="1"
             follows="left|top"
             height="10"
             layout="topleft"
             left="10"
             name="tex gen"
             text_readonly_color="LabelDisabledColor"
             top_pad="60"
             width="140">
                Mapping
            </text>
            <combo_box
             height="23"
             layout="topleft"
             left_pad="0"
             name="combobox texgen"
             top_pad="-13"
             width="125">
                <combo_box.item
                 label="Default"
                 name="Default"
                 value="Default" />
                <combo_box.item
                 label="Planar"
                 name="Planar"
                 value="Planar" />
            </combo_box>
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="TexScaleU"
             top_pad="5"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="TexScaleV"
             width="265" />
            <spinner
             decimal_digits="1"
             follows="left|top"
             height="19"
             initial_value=""
			 label="Repeats per meter"
             layout="topleft"
			 label_width="205"
             left="10"
             max_val="100"
             min_val="0.1"
             name="rptctrl"
             width="265" />
           <spinner
             decimal_digits="2"
             follows="left|top"
             height="19"
             increment="1"
             initial_value="0"
			 label="Rotation degrees"
             layout="topleft"
			 label_width="205"
             left="10"
             max_val="9999"
             min_val="-9999"
             name="TexRot"
             width="265" />

            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="TexOffsetU"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="TexOffsetV"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="bumpyScaleU"
             top_delta="-115"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="bumpyScaleV"
             width="265" />
           <spinner
             decimal_digits="2"
             follows="left|top"
             height="19"
             top_pad="27"
             increment="1"
             initial_value="0"
			 label="Rotation degrees"
             layout="topleft"
			 label_width="205"
             left="10"
             max_val="360"
             min_val="0"
             name="bumpyRot"
             width="265" />

            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="bumpyOffsetU"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="bumpyOffsetV"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="shinyScaleU"
             top_delta="-115"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical scale"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-100"
             max_val="100"
             name="shinyScaleV"
             width="265" />
           <spinner
             decimal_digits="2"
             follows="left|top"
             height="19"
             top_pad="27"
             increment="1"
             initial_value="0"
			 label="Rotation degrees"
             layout="topleft"
			 label_width="205"
             left="10"
             max_val="360"
             min_val="0"
             name="shinyRot"
             width="265" />

            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Horizontal offset"
             label_width="205"
             layout="topleft"
             left="10"
             min_val="-1"
             name="shinyOffsetU"
             width="265" />
            <spinner
             follows="left|top"
             height="19"
             initial_value="0"
             label="Vertical offset"
             label_width="205"
{'fraction_non_alphanumeric': 0.10578883945124212, 'fraction_numerical': 0.025421764923989617, 'mean_word_length': 1.0487584864454256, 'pattern_counts': {'":': 0, '<': 229, '<?xml version=': 2, '>': 227, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '414435', 'n_tokens_mistral': 11873, 'n_tokens_neox': 10941, 'n_words': 1740}