Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2021-01-20 20:17:25 +0300
committerSebastian Parborg <darkdefende@gmail.com>2021-01-20 20:17:25 +0300
commitb33d839162b6d4b8b85937eb095b661ac93cbddd (patch)
treeca9c1f422f67e61db76dc32c7da4fb0865c7b00a /source/blender/blenkernel/BKE_geometry_set.hh
parenta823e825c899c30a98dd1c3fe64c5e3d72716921 (diff)
Fix T84867: Transform node does not rotate/scale instances
The manipulation of rot/scale was simply not implemented.
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set.hh')
-rw-r--r--source/blender/blenkernel/BKE_geometry_set.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set.hh b/source/blender/blenkernel/BKE_geometry_set.hh
index 391bd243edf..ad5a5d57045 100644
--- a/source/blender/blenkernel/BKE_geometry_set.hh
+++ b/source/blender/blenkernel/BKE_geometry_set.hh
@@ -456,6 +456,8 @@ class InstancesComponent : public GeometryComponent {
blender::Span<blender::float3> scales() const;
blender::Span<int> ids() const;
blender::MutableSpan<blender::float3> positions();
+ blender::MutableSpan<blender::float3> rotations();
+ blender::MutableSpan<blender::float3> scales();
int instances_amount() const;
bool is_empty() const final;