Permalink
Browse files

Object Mode - iconize the Track menu

  • Loading branch information...
ReinerBforartists committed Jul 2, 2017
1 parent 0ad78af commit 3d6ca9b98c15cbc3935c361971c0418ffe7a0935
@@ -24005,6 +24005,64 @@
y1="15.545153"
x2="441.9628"
y2="13.21724" />
<radialGradient
r="4.4262571"
fy="370.11554"
fx="410.73904"
cy="370.11554"
cx="410.73904"
gradientTransform="matrix(0.5274943,0,0,0.7696585,194.81546,86.715119)"
gradientUnits="userSpaceOnUse"
id="radialGradient25457-8"
xlink:href="#linearGradient18495"
inkscape:collect="always" />
<linearGradient
y2="375.5058"
x2="410.55432"
y1="373.01221"
x1="408.91928"
gradientUnits="userSpaceOnUse"
id="linearGradient16766"
xlink:href="#linearGradient25108"
inkscape:collect="always" />
<radialGradient
r="4.4262571"
fy="375.96332"
fx="412.10059"
cy="375.96332"
cx="412.10059"
gradientTransform="matrix(0.5274943,0,0,0.7696585,194.81546,86.715119)"
gradientUnits="userSpaceOnUse"
id="radialGradient25048-1"
xlink:href="#linearGradient18495"
inkscape:collect="always" />
<linearGradient
y2="370.21317"
x2="407.62576"
y1="375.39175"
x1="411.05389"
gradientUnits="userSpaceOnUse"
id="linearGradient17388"
xlink:href="#linearGradient25108"
inkscape:collect="always" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient25108"
id="linearGradient16787"
gradientUnits="userSpaceOnUse"
x1="408.91928"
y1="373.01221"
x2="410.55432"
y2="375.5058" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient25108"
id="linearGradient16789"
gradientUnits="userSpaceOnUse"
x1="411.05389"
y1="375.39175"
x2="407.62576"
y2="370.21317" />
</defs>
<sodipodi:namedview
id="base"
@@ -24016,9 +24074,9 @@
objecttolerance="20"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="2.2931802"
inkscape:cx="307.4216"
inkscape:cy="459.91376"
inkscape:zoom="7.296875"
inkscape:cx="479.28167"
inkscape:cy="458.32365"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
@@ -82693,6 +82751,110 @@
</g>
</g>
</g>
<g
transform="translate(-39.285708,-300.64792)"
id="CLEAR_TRACK"
inkscape:label="Ebene 1">
<g
id="g16803"
transform="translate(102.28876,112.6369)"
style="display:inline;opacity:1;enable-background:new">
<rect
transform="matrix(0,-1,1,0,0,0)"
style="display:inline;overflow:visible;visibility:visible;opacity:0;fill:#b3b3b3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.79999995;marker:none;enable-background:accumulate"
id="rect25028-8"
width="16"
height="16"
x="-382.01102"
y="403.99695" />
<g
id="g25030-2">
<rect
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.5;stroke-opacity:1"
id="rect25032-6"
width="8.4518671"
height="5.651536"
x="-33.931175"
y="-559.32709"
ry="2.143424"
rx="2.1489482"
transform="matrix(-0.7071068,0.7071068,-0.7071068,-0.7071068,0,0)" />
<rect
rx="2.1489475"
ry="2.1434233"
y="-557.84644"
x="-28.308893"
height="5.5904222"
width="8.5198517"
id="rect25034-7"
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.5;stroke-opacity:1"
transform="matrix(-0.7071068,0.7071068,-0.7071068,-0.7071068,0,0)" />
<path
inkscape:connector-curvature="0"
style="display:inline;overflow:visible;visibility:visible;fill:none;stroke:url(#linearGradient17388);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.5;stroke-opacity:1;marker:none;enable-background:accumulate"
d="m 411.49427,375.51102 -0.5,-0.5 c -0.69131,-0.69131 -0.84611,-2.14587 0.0258,-3.01533 l 2.98873,-2.98076 c 0.87178,-0.86946 2.29697,-0.69523 2.98828,-0.004 l 0.52541,0.52542"
id="path25036-3"
sodipodi:nodetypes="cssssc" />
<path
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc"
id="rect25114-5"
d="m -26.159946,-552.25601 c -1.190517,0 -2.148947,-0.95597 -2.148947,-2.14343"
style="fill:none;stroke:#000000;stroke-width:2.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.5;stroke-opacity:1"
transform="matrix(-0.7071068,0.7071068,-0.7071068,-0.7071068,0,0)" />
<path
inkscape:connector-curvature="0"
sodipodi:nodetypes="cssssc"
id="path25455-0"
d="m 411.49427,375.51102 -0.5,-0.5 c -0.69131,-0.69131 -0.84611,-2.14587 0.0258,-3.01533 l 2.98873,-2.98076 c 0.87178,-0.86946 2.29697,-0.69523 2.98828,-0.004 l 0.52541,0.52542"
style="display:inline;overflow:visible;visibility:visible;opacity:0.7;fill:none;stroke:url(#radialGradient25457-8);stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.5;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
inkscape:connector-curvature="0"
id="path25038-6"
style="display:inline;overflow:visible;visibility:visible;fill:none;stroke:url(#linearGradient16787);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.5;stroke-opacity:1;marker:none;enable-background:accumulate"
d="m 407.51079,379.37902 c 0.56229,0.50812 1.81497,0.33519 2.49825,-0.3481 l 2.96969,-3.09463 c 0.87062,-0.87061 0.69197,-2.30021 0.004,-2.98827 l -1.02382,-1.02382 c -0.69131,-0.69131 -2.11766,-0.86672 -2.98828,0.004 l -2.96969,3.09462 c -0.87062,0.87063 -0.62293,2.42889 -0.004,2.98829 l 1.51384,1.368 10e-6,-9e-5 0,0 0,0 z"
sodipodi:nodetypes="ccccccczz" />
<path
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccczz"
d="m 407.4987,379.35912 c 0.56229,0.50812 1.81497,0.33519 2.49825,-0.3481 l 2.98178,-3.07473 c 0.87062,-0.87061 0.69197,-2.30021 0.004,-2.98827 l -1.02382,-1.02382 c -0.69131,-0.69131 -2.11766,-0.86672 -2.98828,0.004 l -2.98178,3.07472 c -0.87062,0.87063 -0.62293,2.42889 -0.004,2.98829 l 1.51384,1.368 10e-6,-9e-5 0,0 0,0 z"
style="opacity:0.7;fill:none;stroke:url(#radialGradient25048-1);stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.5;stroke-opacity:1"
id="path25040-8" />
<path
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc"
id="rect25127-2"
d="m -27.628256,-559.32709 c 1.190517,0 2.148948,0.95597 2.148948,2.14343"
style="fill:none;stroke:#000000;stroke-width:2.79999995;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.5;stroke-opacity:1"
transform="matrix(-0.7071068,0.7071068,-0.7071068,-0.7071068,0,0)" />
<path
inkscape:connector-curvature="0"
sodipodi:nodetypes="csssssc"
id="path25042-6"
d="m 417.50245,369.52434 0.49841,0.4984 c 0.68807,0.68805 0.86319,2.11415 -0.004,2.98828 l -2.96882,2.99286 c -0.68052,0.68603 -1.74799,0.71589 -2.49825,0.34809 -0.18628,-0.0913 -0.39866,-0.20409 -0.53552,-0.34095 l -1,-1"
style="display:inline;overflow:visible;visibility:visible;fill:none;stroke:url(#linearGradient16789);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0.5;stroke-opacity:1;marker:none;enable-background:accumulate" />
</g>
</g>
<path
inkscape:connector-curvature="0"
id="path4172"
d="m 513.65682,494.61148 c -0.13319,-0.062 -0.30043,-0.21111 -0.78472,-0.69962 -0.39562,-0.39907 -0.63934,-0.67015 -0.6823,-0.7589 -0.0555,-0.11472 -0.0668,-0.19469 -0.0668,-0.47295 0,-0.22219 0.0153,-0.37146 0.0454,-0.44357 0.048,-0.11476 0.45077,-0.54028 1.78111,-1.8815 l 0.81366,-0.82031 -0.79832,-0.80469 c -1.29006,-1.30036 -1.75037,-1.78683 -1.79753,-1.8997 -0.0286,-0.0685 -0.0442,-0.22004 -0.044,-0.42742 4.5e-4,-0.48172 0.0249,-0.52194 0.76612,-1.26159 0.73817,-0.73659 0.78054,-0.76243 1.24919,-0.76186 0.24306,3e-4 0.3425,0.014 0.44749,0.0616 0.097,0.044 0.49239,0.41625 1.40625,1.32392 l 1.27126,1.26266 1.24252,-1.22683 c 0.68338,-0.67475 1.30087,-1.26731 1.37219,-1.31679 0.12032,-0.0835 0.15443,-0.0907 0.47206,-0.10064 0.52244,-0.0163 0.50915,-0.0241 1.30879,0.77326 0.76744,0.7653 0.7766,0.78025 0.77601,1.26652 -5.2e-4,0.43138 0.0159,0.40986 -1.40904,1.84554 l -1.25612,1.26556 1.28124,1.29214 c 1.43314,1.44534 1.38423,1.38057 1.38423,1.83317 0,0.47015 -0.0128,0.49089 -0.77674,1.25333 -0.79895,0.79742 -0.78535,0.78938 -1.30837,0.77308 -0.31652,-0.01 -0.35203,-0.0174 -0.47039,-0.0995 -0.0704,-0.0488 -0.68791,-0.64138 -1.3722,-1.31674 l -1.24418,-1.22793 -1.27126,1.26261 c -0.91381,0.90759 -1.30922,1.27984 -1.40625,1.32387 -0.10499,0.0476 -0.20443,0.0613 -0.44749,0.0616 -0.26893,3.3e-4 -0.33609,-0.0106 -0.48176,-0.0784 z"
style="fill:#cafdfd" />
<path
style="fill:#fe0000"
d="m 513.76123,493.066 -0.50607,-0.50983 1.4978,-1.50724 c 0.82379,-0.82897 1.4978,-1.52778 1.4978,-1.55291 0,-0.0251 -0.67401,-0.72393 -1.4978,-1.5529 l -1.4978,-1.50724 0.50607,-0.50983 0.50605,-0.50984 1.49163,1.49943 c 0.96038,0.96541 1.5129,1.49944 1.55135,1.49944 0.0385,0 0.59097,-0.53403 1.55135,-1.49944 l 1.49162,-1.49943 0.50606,0.50984 0.50607,0.50983 -1.4978,1.50724 c -0.8238,0.82897 -1.4978,1.52778 -1.4978,1.5529 0,0.0251 0.674,0.72394 1.4978,1.55291 l 1.4978,1.50724 -0.50607,0.50983 -0.50606,0.50984 -1.49162,-1.49944 c -0.96038,-0.96541 -1.5129,-1.49944 -1.55135,-1.49944 -0.0385,0 -0.59097,0.53403 -1.55135,1.49944 l -1.49163,1.49944 -0.50605,-0.50984 z"
id="path4144-42-8"
inkscape:connector-curvature="0" />
<path
style="fill:#191919"
d="m 514.03254,493.96198 c -0.12099,-0.0549 -1.15155,-1.09651 -1.19182,-1.20464 -0.0406,-0.10905 -0.0406,-0.32492 -5e-5,-0.4341 0.0174,-0.0468 0.64607,-0.70018 1.39708,-1.45202 l 1.36545,-1.36697 -1.36547,-1.36698 c -0.75101,-0.75183 -1.37969,-1.40524 -1.39708,-1.45201 -0.0444,-0.11951 -0.0393,-0.33724 0.0106,-0.45215 0.0538,-0.12386 1.09261,-1.1562 1.20588,-1.19839 0.10905,-0.0406 0.32491,-0.0406 0.4341,-4e-5 0.0468,0.0174 0.70019,0.64606 1.45203,1.39705 l 1.36699,1.36546 1.36699,-1.36546 c 0.75185,-0.75099 1.40526,-1.37967 1.45204,-1.39705 0.10918,-0.0406 0.32505,-0.0405 0.4341,4e-5 0.11327,0.0422 1.15206,1.07453 1.20588,1.19839 0.0499,0.11491 0.055,0.33264 0.0106,0.45215 -0.0174,0.0468 -0.64606,0.70018 -1.39707,1.45201 l -1.36547,1.36698 1.36547,1.36697 c 0.75101,0.75184 1.37969,1.40524 1.39707,1.45202 0.0444,0.1195 0.0393,0.33724 -0.0106,0.45214 -0.0538,0.12387 -1.09261,1.15621 -1.20588,1.19839 -0.10905,0.0406 -0.32492,0.0407 -0.4341,5e-5 -0.0468,-0.0174 -0.70019,-0.64606 -1.45204,-1.39706 l -1.36699,-1.36543 -1.36699,1.36545 c -0.75184,0.751 -1.40525,1.37967 -1.45203,1.39706 -0.11727,0.0436 -0.34972,0.0376 -0.45873,-0.0119 z m 3.27775,-3.4004 c 0.0248,0 0.71817,0.67296 1.54081,1.49547 l 1.49571,1.49547 0.50569,-0.50633 0.50568,-0.50634 -1.49527,-1.49503 c -0.8224,-0.82227 -1.49528,-1.51542 -1.49528,-1.54035 0,-0.0249 0.67297,-0.71838 1.49549,-1.54101 l 1.4955,-1.4957 -0.50635,-0.50568 -0.50634,-0.50568 -1.49505,1.49526 c -0.82227,0.82239 -1.51544,1.49526 -1.54036,1.49526 -0.0249,0 -0.71839,-0.67296 -1.54103,-1.49547 l -1.49572,-1.49548 -0.50568,0.50634 -0.50569,0.50634 1.49528,1.49503 c 0.8224,0.82226 1.49527,1.51552 1.49527,1.54057 0,0.025 -0.67287,0.7183 -1.49527,1.54057 l -1.49528,1.49503 0.50569,0.50634 0.50568,0.50633 1.49572,-1.49547 c 0.82264,-0.82251 1.516,-1.49547 1.5408,-1.49547 z"
id="path4140-33-1"
inkscape:connector-curvature="0" />
<g
id="g4138-64-6"
transform="matrix(0.02499918,0,0,0.025,506.18513,478.64792)"
style="display:inline;opacity:1;enable-background:new" />
</g>
</g>
<text
xml:space="preserve"
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
@@ -1790,9 +1790,18 @@ class VIEW3D_MT_object_track(Menu):
def draw(self, context):
layout = self.layout
layout.operator_enum("object.track_set", "type")
#layout.operator_enum("object.track_set", "type")
#layout.separator()
#layout.operator_enum("object.track_clear", "type")
#layout.separator()
layout.operator("object.track_set", text= "Damped Track Constraint", icon = "CONSTRAINT").type = 'DAMPTRACK'
layout.operator("object.track_set", text= "Track to Constraint", icon = "CONSTRAINT").type = 'TRACKTO'
layout.operator("object.track_set", text= "Lock Track Constraint", icon = "CONSTRAINT").type = 'LOCKTRACK'
layout.separator()
layout.operator_enum("object.track_clear", "type")
layout.operator("object.track_clear", text= "Clear Track", icon = "CLEAR_TRACK").type = 'CLEAR'
layout.operator("object.track_clear", text= "Clear Track - Keep Transformation", icon = "CLEAR_TRACK").type = 'CLEAR_KEEP_TRANSFORM'
class VIEW3D_MT_object_constraints(Menu):
@@ -947,9 +947,9 @@ DEF_ICON(RNDCURVE)
DEF_ICON(PROP_OFF)
DEF_ICON(PROP_ON)
DEF_ICON(PROP_CON)
#ifndef DEF_ICON_BLANK_SKIP
DEF_ICON(BLANK0569) /* XXX Empty icon! */
#endif
DEF_ICON(CLEAR_TRACK)
DEF_ICON(PARTICLE_POINT)
DEF_ICON(PARTICLE_TIP)
DEF_ICON(PARTICLE_PATH)

0 comments on commit 3d6ca9b

Please sign in to comment.