This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/blenkernel
Pratik Borhade c13754e647 Fixes T84928 : Lattice vertices at unexpected positions when changing lattice resolution from 1 to 3 or more.
Fix for T84928 .
Considering the changes , issue is resolved ( Ignoring readability issues) .

**Changes **:

  - `Change in value assignment of fu/v/w :`  Observing previous code , I noticed ,value assigned to them is equivalent to -0.5 ( i.e. co-ordinate of left most vertex of lattice size =1 where  centre of lattice is origin ) .

  - `Change in value assignment of du/v/w :`    Margin ( distance ) between each division of surface along any axis is equivalent to **( (length of surface along axis ) / (no of division line - 1) )** . that's why is changed it to (default_size/unew -1) .

  - ` New variable declared "default_size"  :`  As far as I gone through the code , I noticed values  1 < du ,fu < 1  , which indicates these values were calculated with respect to default lattice of size 1 .

  - `removed pntsu/v/w != 1 check :`  Following changes inside the if block worked properly for pntsu/v/w = 1 .

Reviewed By: lichtwerk, campbellbarton

Differential Revision: https://developer.blender.org/D10353
2021-02-16 13:47:12 +01:00
..
2020-12-16 16:26:23 +11:00
2021-01-04 17:38:11 +11:00
2020-11-06 12:32:54 +11:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2021-01-13 13:21:29 +11:00
2020-10-01 14:29:45 +02:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2020-12-15 17:19:55 +01:00
2020-11-03 23:59:24 +11:00
2020-12-15 12:01:45 +01:00
2020-12-16 16:26:23 +11:00
2021-01-19 18:58:35 +01:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2020-12-16 16:26:23 +11:00
2020-10-19 09:11:00 -07:00
2021-01-20 16:08:52 +11:00