827959ff98
Cleanup: use const arguments to deform functions
...
This changes curve deform code not to set the objects inverse matrix,
this shouldn't cause problems as it's not used elsewhere afterwards.
2020-06-13 16:20:09 +10:00
ca10903299
Cleanup: use 'r_' prefix for return arguments
...
Also improve alignment.
2020-06-13 15:56:36 +10:00
75aac463e7
Cleanup: comments, use bool return value
2020-06-13 15:16:18 +10:00
1754828e33
Cleanup: rename 'par', in deform code
...
Naming is from legacy code where the deforming object was the parent.
2020-06-13 15:02:47 +10:00
9f5833798c
Modifier: skip edit-mesh conversion for armature, curve & lattice
...
This is an improvement over 2.7x which converted edit-mesh to mesh
(CDDM) for all 3 modifiers.
Overall this increases performance in edit-mode by around 15-20%.
2020-06-13 13:19:34 +10:00
16595b9ea1
Cleanup: split object data deform functions into their own files
...
Move armature/curve functions into their headers,
they were previously in BKE_lattice.h
2020-06-12 16:27:46 +10:00