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:
authorBastien Montagne <bastien@blender.org>2020-07-28 19:26:56 +0300
committerBastien Montagne <bastien@blender.org>2020-07-28 19:31:51 +0300
commit9c1da81a4c173437c1e556afde7b32eef4b0a47d (patch)
tree7675a89fde25907989722666b14289e5b2598cbc /source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
parent5d88f8eba2e2a303c7777af0aa60aec875071596 (diff)
Fix T54544: "Copy Materials to Selected" only works when materials are defined on the mesh.
Build a temp matarray storing materials from obdata and source object (depending on slots 'allocation' of source object), and assign those to targets. Also remove limitation of 'using same obdata is forbidden', just never edit obdata materials in that case... Certainly not perfect, but already much better than existing code.
Diffstat (limited to 'source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp')
0 files changed, 0 insertions, 0 deletions