Page MenuHome

Curves: Add surface UV map name property
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Jun 3 2022, 3:35 PM.

Details

Summary

In the latest discussions about curves/hair mesh attachement
information (T95776), it was decided to use UV coordinates to
store where on the mesh each root is. For that, we have to specify
which of the UV map attributes to use for UV lookups.

This property isn't used yet, but it will be shortly when refactoring
the attachement information in the add brush and the to particle
system conversion.

Diff Detail

Repository
rB Blender

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Jun 3 2022, 3:35 PM
Hans Goudey (HooglyBoogly) created this revision.
source/blender/makesdna/DNA_curves_types.h
161

typo (attachement)

source/blender/makesrna/intern/rna_curves.c
295

How about calling it surface_uv_map (here and in dna)?

Hans Goudey (HooglyBoogly) updated this revision to Diff 52224.EditedJun 3 2022, 3:39 PM
  • Fix typo
  • name -> map in DNA and RNA
Jacques Lucke (JacquesLucke) added inline comments.
source/blender/blenkernel/intern/curves.cc
177

This check shouldn't be necessary.

This revision is now accepted and ready to land.Jun 3 2022, 3:45 PM