<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 12, 2018 at 9:49 PM,  <span dir="ltr"><<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Chris Cunningham uploaded a new version of Morphic to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Morphic-cbc.1450.mcz" rel="noreferrer" target="_blank">http://source.squeak.org/<wbr>trunk/Morphic-cbc.1450.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Morphic-cbc.1450<br>
Author: cbc<br>
Time: 12 June 2018, 9:49:08.273851 pm<br>
UUID: 85dec3fe-462d-7242-bdb4-<wbr>797746d320a0<br>
Ancestors: Morphic-dtl.1449<br>
<br>
Recategorized rotationCenter and referencePosition (and setter versions) to more a more appropriate category.<br>
rotationCenter is the relative position of the referencePosition point within the morph.  They are related - and should live together.<br>
Also, moved base Morph versions of these out of EToys to be with the others<br></blockquote><div><snip></div><div>Apparently there are other methods directly related to these (such as #referencePositionInWorld) that need to be moved out of EToys as well - and re-categorized.  Eventually I'll track those down - winding down for the night.</div><div><br></div><div>In a related effort, I tried to track down a way to validate what these methods DO (not yet being an EToys user).</div><div>If you open a new morph in Squeak</div><div>  Morph new openInWorld</div><div>and then bring up the halo, grab the bottom left blue swirly handle, you can see the morph rotates around it's center.</div><div>At this point, it should also show the #rotationCenter in the middle (little yellow circle with an arrow)</div><div><div><img src="cid:ii_jiconqjd0_163f7a59871ec3bd" width="165" height="179"><br></div>You can shift-drag it around to change the rotationCenter (and referencePosition), which you can verify changes by debugging>exploring the morph.</div><div>However, after changing the rotationCenter, the morph still rotates around the center of the morph, and not around the #rotationCenter.  That is kind of annoying.  (Although I haven't ever tried this before today - still, it would be nice if all the pieces worked together.)</div><div><br></div><div>-cbc</div></div></div></div>