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
AgeCommit message (Collapse)Author
2013-06-24Bugfix: Bone Constraints tab used wrong icon after r57584Joshua Leung
2013-06-19This commit tackles the "context" buttons in Properties header, which were ↵Bastien Montagne
still using "ugly" old UI code. It removes buttons_header.c file, adds a (small) space_properties.py one, with a PROPERTIES_HT_header class, which simply uses the RNA enum to draw the context buttons. It also fixes that enum, btw, it always featured all contexts, which means you could (try to!) set through RNA invalid contexts... Thanks to brecht and dingto for the reviews.
2013-06-14Code cleanup: removed unused B_BUTSPREVIEW event, and moved back ↵Bastien Montagne
rna_SpaceProperties_texture_context_itemf() together with its fellow functions.
2013-06-10RNA: simplify space type items code, no need to have this duplicated.Brecht Van Lommel
2013-06-10Fix for r57316: SPACE_EMPTY *is* needed in RNA enum for now, exported ↵Bastien Montagne
keymaps abuse it... So for now, static enum is back to its previous form, and the menu one is dynamically generated by a callback. Not nice, but works.
2013-06-09This commit replaces old "manual" Editors menu with nice RNA-based one (so ↵Bastien Montagne
once again, some cleanup of old UI code). It makes the following changes: * RNA's editor types enum (space_type_items) has been re-ordered, added icons, and removed internal-only SPACE_EMPTY value, so that it matches the menu. * Two fixes in code drawing enums as dropdown menu: ** All items were taken into account when computing the number of needed columns, now simple separators (void string items) are ignored. ** Simple separators items were drawn as labels, taking far too much space! And now translators will be free from that ugly, insane menu-string! :P Thanks to Brecht for the review.
2013-05-24Bring back "Local" as second orientation choice after "Global", as in ↵Bastien Montagne
previuos "manual" menu. Pointed out by sebastian_k on IRC, thanks.
2013-05-17This commit addresses the somewhat weak handling of stackless textures in ↵Bastien Montagne
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-12Fix for [#35224] Transform Orientation - order inconsistencyBastien Montagne
Fix turned out to remove as much "manual UI" from 3D view header as possible. Mode selector and all transform manipulators/orientations stuff are now RNA-based UI (leaving basically only edit mesh select modes with custom handlers, as they have some quite specific features). To achieve this, four main modifications were done: * enum-operator-generated menus are now MENU (i.e. dropdown lists) in headers too. * All bit-flag enums expanded in ROW buttons now have a handling consistent with e.g. layers, or what we already have for transform manipulators, i.e. clicking select only one element, shift-click to select multiple ones. * Consequently, the three RNA booleans manipulators flags are merged into a single bit-flag enum (yes, this is also an API change, though I doubt many scripts use it). * Now the width of enum-based dropdown lists is computed from longest item name in enum, no more from a dummy place holder string (when no label/name is given). All this allows to remove some code from 3DView/transform areas, that was actually mostly duplicating RNA/operator one. Also done a few optimizations here and there (among others, do not pass &numitems to RNA_property_enum_items() when you do not need it, saves at least an iteration over enum items to count them). Many thanks to Brecht for the reviews!
2013-05-09Partial revert of own commits r56604 and r56603:Thomas Dinges
* Reverted the changes to code comments, as suggested by Campbell. It makes it more hard to follow. * Only keep changes to actual UI messages.
2013-05-09UI naming consistency:Thomas Dinges
* ShapeKey -> Shape Key. Was called "Shape Key" in most places already. Pointed out by Dalai, thanks!
2013-05-09UI naming consistency:Thomas Dinges
* DopeSheet -> Dope Sheet. No need to glue the words together. Only changed comments and UI strings, no functional changes. Request by Dalai Felinto.
2013-04-22Fix #35054: adjust tooltip for Render Border option in 3D view panel to sayBrecht Van Lommel
it has an effect outside of the camera view.
2013-04-12Small change to the node space RNA function for opening a node group: pass ↵Lukas Toenne
the node tree as explicit argument plus an optional group node, instead of trying to get the node tree from a node property. This is more flexible for future nodes that want to change the node editor. Node group operators can rely on group node types, but the generic RNA functions should not.
2013-04-05svn merge ^/trunk/blender -r55776:55813Campbell Barton
2013-04-04Two small fixes:Ton Roosendaal
- "Add node" was showing on wrong location when used via pulldown menus. Now this option will put the nodes in center of the view. - The Curves widget was making itself smaller/bigger based on width of region. That messes up the layout engine now - especially the code that checks if there's a scroller needed or not (it went into an eternal feedback loop). Now this widget has fixed height (like the other larger widgets). Better would be to allow such large widgets to be scaled vertically individually. That's for the todo!
2013-04-04svn merge ^/trunk/blender -r55700:55776Campbell Barton
2013-04-03style cleanupCampbell Barton
2013-04-02Fix #34711: matcap option not showing when switching from cycles ↵Brecht Van Lommel
material/rendered draw mode to blender internal.
2013-03-19svn merge ^/trunk/blender -r55372:55392Campbell Barton
2013-03-18code cleanupCampbell Barton
2013-03-18Merge of the PyNodes branch (aka "custom nodes") into trunk.Lukas Toenne
PyNodes opens up the node system in Blender to scripters and adds a number of UI-level improvements. === Dynamic node type registration === Node types can now be added at runtime, using the RNA registration mechanism from python. This enables addons such as render engines to create a complete user interface with nodes. Examples of how such nodes can be defined can be found in my personal wiki docs atm [1] and as a script template in release/scripts/templates_py/custom_nodes.py [2]. === Node group improvements === Each node editor now has a tree history of edited node groups, which allows opening and editing nested node groups. The node editor also supports pinning now, so that different spaces can be used to edit different node groups simultaneously. For more ramblings and rationale see (really old) blog post on code.blender.org [3]. The interface of node groups has been overhauled. Sockets of a node group are no longer displayed in columns on either side, but instead special input/output nodes are used to mirror group sockets inside a node tree. This solves the problem of long node lines in groups and allows more adaptable node layout. Internal sockets can be exposed from a group by either connecting to the extension sockets in input/output nodes (shown as empty circle) or by adding sockets from the node property bar in the "Interface" panel. Further details such as the socket name can also be changed there. [1] http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes [2] http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/templates_py/custom_nodes.py?view=markup&root=bf-blender [3] http://code.blender.org/index.php/2012/01/improving-node-group-interface-editing/
2013-03-18Merged changes in the trunk up to revision 55357.Tamito Kajiyama
Resolved conflicts: release/datafiles/startup.blend source/blender/editors/space_nla/nla_buttons.c Also updated source/blender/blenkernel/intern/linestyle.c as a follow-up of recent changes for the use of bool.
2013-03-15Fix/disambiguation for some "Clip" i18n messages.Bastien Montagne
2013-03-07use bool for rna funcs.Campbell Barton
2013-03-03Merged changes in the trunk up to revision 54992.Tamito Kajiyama
Resolved conflicts: release/scripts/startup/bl_ui/space_view3d.py
2013-03-01keymap filter by keybindings in the userpreferences.Campbell Barton
- optional, select between name/keybinding. - when key input can't be parsed, alert red to give the user some feedback. - key shortcut parsing could be improved or swapped out for button which grabs shortcut.
2013-02-27Added RGBA|RGB channels toggle to sequencer previewSergey Sharybin
Main purpose of this is to be more compatible with older versions of blender (before alpha cleanup) where sequencer used to display premultiplied image on an straight opengl viewport. Now sequencer preview would behave closer to image editor However adding Alpha and R|G|B displays is not so simple because sequencer is using 2D textures. Would be nice to implement this options as well, but this is not so much important IMO. This hall fix - #34453: VSE: Subtract function does not work properly TODO: Make RGBA display default for our startup.blend
2013-02-24Merged changes in the trunk up to revision 54802.Tamito Kajiyama
2013-02-18checking for V3D_LOCAL was duplicated in transform.c, and both checks not ↵Campbell Barton
quite correct. - When checking edimode, make sure its mesh editmode. - Graph editor supports this option but wasn't being checked.
2013-02-10Merged changes in the trunk up to revision 54421.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend release/scripts/startup/bl_ui/properties_render.py source/blender/SConscript source/blender/blenloader/intern/readfile.c
2013-02-05New matcap collection for default in release. It's now 24 images, orderedTon Roosendaal
from regular diffuse to more shiny, stone, wax, eflective, glass and two non-realistic ones. The menu now shows it in 3 rows. I made the previews a bit smaller, 96 pixels, like the brushes for painting. Thanks everyone for submitting pics! I updated the credit file too, but name from one person is missing still, will be added next.
2013-01-29Fix #34003: hide confusing unlink button for pinned datablock in properties ↵Brecht Van Lommel
editor.
2013-01-29Alpha display changes:Sergey Sharybin
Previous alpha-overing on black for RGB display wasn't so much useful for artists, changed in a way: - Made RGBA display default for node editor backdrop and image editor, so it'll be clear that image does have alpha channel - RGB display will ignore alpha channel completely Reshuffled buttons for RGBA/RGB so now the order is following: RGBA | RGB | Alpha | Z Still to come: startup.blend shall be altered to make RGBA default.
2013-01-27Merged changes in the trunk up to revision 54110.Tamito Kajiyama
Conflicts resolved: source/blender/blenfont/SConscript source/blender/blenkernel/intern/subsurf_ccg.c source/blender/makesdna/intern/makesdna.c source/blender/makesrna/intern/rna_scene.c
2013-01-24fix for setting RegionView3D.view_matrixCampbell Barton
2013-01-23rigidbody: Add point cache supportSergej Reich
Add read/write/interpolate functions. In order to get rigid body point cache id from object it's now required to pass the scene to BKE_ptcache_ids_from_object(). Rigid body cache is drawn in the orange color of the bullet logo.
2013-01-22Matcap fix: on enabling it, and when no matcap was selected before, Ton Roosendaal
it sets first matcap icon.
2013-01-22add missing includesCampbell Barton
2013-01-22Matcap support in 3D Viewport.Ton Roosendaal
Full log is here: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability#Matcap_in_3D_viewport Implementation notes: - Matcaps are an extension of Solid draw mode, and don't show in other drawmodes. (It's mostly intended to aid modeling/sculpt) - By design, Matcaps are a UI feature, and only stored locally for the UI itself, and won't affect rendering or materials. - Currently a set of 16 (GPL licensed) Matcaps have been compiled into Blender. It doesn't take memory or cpu time, until you use it. - Brush Icons and Matcaps use same code now, and only get generated/allocated on actually using it (instead of on startup). - The current set might get new or different images still, based on user feedback. - Matcap images are 512x512 pixels, so each image takes 1 Mb memory. Unused matcaps get freed immediately. The Matcap icon previews (128x128 pixels) stay in memory. - Loading own matcap image files will be added later. That needs design and code work to get it stable and memory-friendly. - The GLSL code uses the ID PreviewImage for matcaps. I tested it using the existing Material previews, which has its limits... especially for textured previews the normal-mapped matcap won't look good.
2013-01-06Merged changes in the trunk up to revision 53584.Tamito Kajiyama
Conflicts resolved: release/scripts/startup/bl_ui/properties_render.py source/blender/blenloader/intern/readfile.c source/blender/editors/interface/interface_templates.c source/blender/makesrna/RNA_enum_types.h Also made additional code updates for: r53355 UIList - Python-extendable list of UI items r53460 Alpha premul pipeline cleanup
2013-01-05Making a few tooltips more descriptive, in light of recent confusion over theJoshua Leung
purpose of some of these features * ClampTo Constraint, Target Object field: now mentions that it is for curve objects only * Dopesheet Editor Modes: now describe what data is editable in each mode. The wording may be a bit clumsy here, but (apart from Mask Editor one, which I'm not entirely sure about) should at least be technically correct
2013-01-05Add translation contexts for line, mute and clipSv. Lockal
2012-12-23Merged changes in the trunk up to revision 53280.Tamito Kajiyama
2012-12-22Reshuffled data view for Outliner.Ton Roosendaal
- The new "Main Data" option is now under the category "Blender File". - That category also displays the Linked Library files. (Including allows browsing what's used from this file) Also fixed CTRL+click on names, crashed.
2012-12-22From the long todo:Ton Roosendaal
New Outliner mode: "Main Data". This shows a flattened, non-hierarchical list of all linkable "ID" data in your current project. It works fine on searches. Actually this is the view on the "Main" database in Blender, the one that's saved in a .blend. This is in general more useful than the "Datablocks" viewer, which is not searchable, and shows every property of data as well.
2012-12-19Animation system small fix:Ton Roosendaal
On browsing actions in DopeSheet editor, the animation state didn't update.
2012-12-19Merged changes in the trunk up to revision 53146.Tamito Kajiyama
Conflicts resolved: release/datafiles/startup.blend source/blender/blenkernel/CMakeLists.txt source/blender/blenlib/intern/bpath.c source/blender/blenloader/intern/readfile.c
2012-12-17missed adding show_grease_pencil to node space in recent commitCampbell Barton
2012-12-17code cleanup: use 'const float *' when getting the 3d cursor and not editing it.Campbell Barton