s-leger / blender_cad_transforms

Precise CAD like transfoms for blender
GNU General Public License v3.0
75 stars 4 forks source link

Scaling a drag dropped image #19

Closed BW2001 closed 4 years ago

BW2001 commented 4 years ago

Drag dropped an image in (Blender 2.82) top view, invoke CAD Transform, set face snapping, scale, drag pos1 to pos 2 and hit ESC -see below. Also the displayed axes didn't align with the two positions given.

scale then escape

s-leger commented 4 years ago

Thank you for reporting, looks like Image object is not properly supported, will take a look at this issue for next release.

In the meantime, here is something wich should work for this case, wired that Image object has more than one user at create time ..

slcad_transform.py line 2782

   def _make_unique_obdata(self, o):
        """Make object unique as we can't apply object's transform on shared data
        :param context:
        :param o:
        :return:
        """
        if o.data is not None and o.data.users > 1:
            o.data = o.data.copy()
            try:
                o.data.update_flag()
            except:
                pass
s-leger commented 3 years ago

Fixed in 0.0.9 https://blenderartists.org/t/cad-like-transform/1226197/253