blender/intern
Bastien Montagne 9d567dd366 This commit addresses the somewhat weak handling of stackless textures in Blender with default (BI) renderer. To do so, it's defining an "other" texture context, and when in this one, it switches to using the "new shading" texture handling already known with Cycles engine.
So now, in the new "other" tex context, you can (depending on active data) have direct access to modifiers', force's or brushes' textures...

I also refactored a bit how texture contexts are handled (once again, we had some quite similar code in both space_buttons and RNA sources). This should also solve some harmless glitches like "no texture context selected in UI" sometimes when you remove data related to current texture (see e.g. after removing the material from default cube, in startup scene).

This usage of two different systems for textures, and the handling of switches between them, has been a bit tricky to get working right, but it is OK now I think. I also had to add a bool flag to buttons space, SB_TEX_USER_LIMITED (use_limited_texture_context in RNA), which indicates "new shading" texture code whether it has to ignore materials, lamps etc. (BI) or not (Cycles).

Btw, pinned textures from modifiers/force/etc. were also broken (showing nothing), now it should work too.

Thanks to Brecht for reviewing.
2013-05-17 07:10:10 +00:00
..
audaspace Supress error message if dlopen for jack.so failed 2013-05-07 15:49:23 +00:00
bsp style cleanup: also some typos 2013-02-11 00:49:00 +00:00
container Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
cycles This commit addresses the somewhat weak handling of stackless textures in Blender with default (BI) renderer. To do so, it's defining an "other" texture context, and when in this one, it switches to using the "new shading" texture handling already known with Cycles engine. 2013-05-17 07:10:10 +00:00
dualcon misc minor edits. 2013-03-29 06:25:22 +00:00
elbeem code cleanup: unused defines, remove unused scanfill success value from BLI_scanfill_begin(). 2013-04-10 23:52:07 +00:00
ffmpeg More build fixes for visual studio 2012. 2013-04-29 19:15:56 +00:00
ghost Fix #35340: 3D manipulator not working right after undoing with cmd+Z on OS X. 2013-05-13 21:19:30 +00:00
guardedalloc correct assert for driver evaluation, 2013-05-12 05:54:33 +00:00
iksolver Fix various warnings with clang build, and adjust cmake clang warnings flags 2013-02-26 21:58:06 +00:00
itasc style cleanup 2013-03-18 11:44:56 +00:00
locale Some minor cleanup/polish... 2013-05-01 17:49:19 +00:00
memutil Prefetching for movie clips 2013-03-20 17:03:20 +00:00
mikktspace Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
moto Added GPL header to sconscripts! 2012-12-17 08:01:43 +00:00
opencl Move opencl and reigidbody from source/blender/ to intern/ 2013-02-01 06:24:49 +00:00
opencolorio Tweak allocation vars for XYZ space for more accurate GPU transform 2013-04-29 10:53:10 +00:00
opennl code cleanup: quiet warnings building with mingw. 2013-03-29 00:50:52 +00:00
raskter code cleanup: use NULL rather then 0 for pointers, and make vars static where possible. 2013-03-22 05:34:10 +00:00
rigidbody rigidbody: Code cleanup 2013-04-25 19:50:51 +00:00
smoke use psys->seed for smoke random number generator, increase size of MATHUTILS_TOT_CB and reduce float->double conversions. 2013-04-16 09:04:34 +00:00
string fix for buffer out-of-bounds reading for STR_String comparisons with char arrays. 2013-03-22 21:26:59 +00:00
utfconv misc minor edits. 2013-03-29 06:25:22 +00:00
CMakeLists.txt Move opencl and reigidbody from source/blender/ to intern/ 2013-02-01 06:24:49 +00:00
SConscript Move opencl and reigidbody from source/blender/ to intern/ 2013-02-01 06:24:49 +00:00