Blender Git Loki

Git Commits -> Revision 56b8ce2

Revision 56b8ce2 by Ton Roosendaal (master)
May 3, 2009, 13:22 (GMT)
Bugfix 18671 revisted

Node editor didn't support editing non-material texture node trees.
Campbell pointed me to fact it's been used already, like for brush
painting. However, this only worked via linking the texture to a
material... hackish stuff.

Now the Node Editor supports all other Textures too, with three extra
icon buttons to define which.

- Active Object: for textures linked to Materials or Lamps
- World: textures from Scene world.
- Brush: textures from active Brush

The latter can only be set and used when in Paint or Sculpt mode:

- Paint mode: in Image window, Paint Tool panel, set active brush
- Sculpt mode: in EditButtons, Texture panel, select empty slot, add texture.

Note that refreshes of previews in Node Editor is not always happening on
switching contextes. Just click a socket to refresh view.




Commit Details:

Full Hash: 56b8ce2ec17ea555dc2042ab3d843384b9d1e7cd
SVN Revision: 20041
Parent Commit: c352993
Lines Changed: +63, -10

4 Modified Paths:

/source/blender/makesdna/DNA_space_types.h (+7, -1) (Diff)
/source/blender/src/buttons_shading.c (+1, -2) (Diff)
/source/blender/src/editnode.c (+35, -6) (Diff)
/source/blender/src/header_node.c (+20, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021