blender/release/scripts/startup/bl_ui
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
..
__init__.py Moved the definitions of Freestyle-specific panels to its own module. 2013-03-21 23:25:18 +00:00
properties_animviz.py Bugfix [#32754] Clear Motion paths button not available on Motion paths panel 2012-10-04 11:05:48 +00:00
properties_constraint.py code cleanup: pep8 & minor changes 2013-03-11 02:19:58 +00:00
properties_data_armature.py Fix [#34300] Slider for list of particle systems (keyed particles) is not doing anything. Navigating a list of more than 5 elements requires keyboard. 2013-02-18 13:30:40 +00:00
properties_data_bone.py rename rna prop _parenting -> _parent 2012-12-21 12:17:30 +00:00
properties_data_camera.py Some minor cleanup in camera's FOV angle props (mostly use DEG2RAD macro, and remove reference to degrees in tips - user is free to use radians if he prefers!). 2012-12-31 14:52:55 +00:00
properties_data_curve.py Added Map Taper option which if enabled maps affect of taper object on 2012-11-08 08:16:44 +00:00
properties_data_empty.py
properties_data_lamp.py Removing BLENDER_GAME from the COMPAT_ENGINES set for the sun lamp's Sky & Atmosphere panel since it isn't supported in the BGE. 2012-10-30 01:59:15 +00:00
properties_data_lattice.py
properties_data_mesh.py Fix uilists showing data names translated (reported on bf-translations ML by Satoshi Yamasaki aka yamyam, thanks!). 2013-02-08 16:01:21 +00:00
properties_data_metaball.py
properties_data_modifier.py Bit flag enum props are always expanded, no need to specify it explicitely! 2013-05-09 19:30:09 +00:00
properties_data_speaker.py style cleanup 2012-07-29 12:07:06 +00:00
properties_freestyle.py minor fixes for freestyle 2013-04-25 16:23:23 +00:00
properties_game.py partial revert of commit 54126 - (BGE UI: removing " use_occlusion_culling" from the ui) 2013-05-16 21:37:24 +00:00
properties_mask_common.py Fix uilists showing data names translated (reported on bf-translations ML by Satoshi Yamasaki aka yamyam, thanks!). 2013-02-08 16:01:21 +00:00
properties_material.py Fix for [#34308] only half width of material list row is used for material name. 2013-02-18 23:41:28 +00:00
properties_object.py rna attribute consistency edits, use common prefix for booleans. 2013-04-23 07:06:29 +00:00
properties_paint_common.py Fix #35190: texture mask stencil Reset Transform did not work properly. 2013-05-02 17:55:17 +00:00
properties_particle.py Bugfix [#35075] Physics Panel of Particles Fluid is Truncated 2013-04-25 10:05:49 +00:00
properties_physics_cloth.py Fix part of #33469: cloth preroll had a wrong tooltip and low limit of 200 frames. 2012-12-18 15:44:04 +00:00
properties_physics_common.py code cleanup: py ui 2013-04-04 17:01:51 +00:00
properties_physics_dynamicpaint.py Fix uilists showing data names translated (reported on bf-translations ML by Satoshi Yamasaki aka yamyam, thanks!). 2013-02-08 16:01:21 +00:00
properties_physics_field.py Google Summer of Code project: "Smoke Simulator Improvements & Fire". 2012-10-10 13:18:07 +00:00
properties_physics_fluid.py Fluid UI: 2013-04-28 16:52:51 +00:00
properties_physics_rigidbody_constraint.py rna attribute consistency edits, use common prefix for booleans. 2013-04-23 07:06:29 +00:00
properties_physics_rigidbody.py rna attribute consistency edits, use common prefix for booleans. 2013-04-23 07:06:29 +00:00
properties_physics_smoke.py Smoke: Add new "Full Sample" option to high resolution smoke panel. 2013-05-10 16:18:00 +00:00
properties_physics_softbody.py Google Summer of Code project: "Smoke Simulator Improvements & Fire". 2012-10-10 13:18:07 +00:00
properties_render_layer.py Render Layers UI 2013-05-12 15:25:35 +00:00
properties_render.py Merged changes in the trunk up to revision 55700. 2013-04-01 13:47:19 +00:00
properties_scene.py rna attribute consistency edits, use common prefix for booleans. 2013-04-23 07:06:29 +00:00
properties_texture.py 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
properties_world.py style cleanup 2012-07-29 12:07:06 +00:00
space_clip.py Refine markers position operator 2013-05-12 16:04:14 +00:00
space_console.py code cleanup: minor improvements to scripts. 2013-04-20 13:23:53 +00:00
space_dopesheet.py code cleanup: pep8 & minor changes 2013-03-11 02:19:58 +00:00
space_filebrowser.py == file browser == 2012-10-27 18:31:52 +00:00
space_graph.py Animation Editors: Operators to Group/Ungroup Selected F-Curves 2013-02-22 01:49:51 +00:00
space_image.py Fix Show Brush button being missing from the UI for paint modes, the feature was 2013-05-01 15:28:56 +00:00
space_info.py code cleanup: py ui 2013-04-04 17:01:51 +00:00
space_logic.py Editors UI: 2012-11-04 18:26:30 +00:00
space_nla.py code cleanup: python/pep8 and double-promotion warnings. 2013-03-28 19:33:14 +00:00
space_node.py Fix #35376: node editor throwing python error on some files saved with 2.66 test builds. 2013-05-15 19:24:07 +00:00
space_outliner.py
space_sequencer.py rna attribute consistency edits, use common prefix for booleans. 2013-04-23 07:06:29 +00:00
space_text.py Actually, UI scripts should not use directly pgettext, but rather the iface or tooltip variants. Added those to bpy.app.translations, and used pgettext_iface. 2013-02-10 10:29:38 +00:00
space_time.py code cleanup: py ui 2013-04-04 17:01:51 +00:00
space_userpref_keymap.py I18n: various fixing. 2013-03-28 15:41:43 +00:00
space_userpref.py Code cleanup / Layout script: 2013-04-13 22:52:28 +00:00
space_view3d_toolbar.py Fix Show Brush button being missing from the UI for paint modes, the feature was 2013-05-01 15:28:56 +00:00
space_view3d.py Fix #35368: 2013-05-16 00:07:01 +00:00