Blender Git Loki

Git Commits -> Revision ff623f3

October 15, 2014, 11:06 (GMT)
Texture painting:

Do not generate materials/images/UVs if they are missing.

Now we spawn a panel ("Missing Data") with operators to generate the missing data and
pop a warning if user tries to paint without them.

The reason we have reverted this is that it is too easy to end up with more textures
than we wanted. It was impossible to enter texture paint without having textures added,
and code makes too many assumptions about what user may want.

Discussed during Sunday's meeting.

This might be a candidate for 2.72a but I'm not sure how other artists will take this
(and how refined and crash-free it is), better make a few iterations first.

And for interested parties...test please, don't wait until after a release to poke with such issues.

Also, add slot operator now adds a new unconnected image node in cycles. Only
used in the "Missing Data" panel. This should be a separate commit but I am squashing it into the same commit because
it relies too much on changes done here and can be reverted easily if complainstorm occurs again.

Commit Details:

Full Hash: ff623f387535968444b5a0f19935933df1a07ccb
Parent Commit: 855e377
Committed By: Sergey Sharybin
Lines Changed: +425, -184

15 Modified Paths:

/release/scripts/startup/bl_ui/properties_paint_common.py (+4, -1) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+70, -12) (Diff)
/source/blender/blenkernel/BKE_paint.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+2, -0) (Diff)
/source/blender/editors/mesh/mesh_data.c (+13, -0) (Diff)
/source/blender/editors/render/render_shading.c (+17, -2) (Diff)
/source/blender/editors/render/render_update.c (+9, -10) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+29, -19) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+151, -127) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+0, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+53, -1) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+11, -3) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+6, -1) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+55, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021