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-07-17re-commit temp workaround [#35920], this still fails for OSX retina display,Campbell Barton
but at least it resolves for DPI values other then 72.
2013-07-06remove dummy menu which WM_OT_context_menu_enum needed, use popup menu ↵Campbell Barton
directly instead.
2013-07-05fix [#35977] Bake Action doesn't work properlyCampbell Barton
there are cases where you want to use visual-keying but not remove constraints, also it wasnt obvious that clearing constraints used a different method of keyframing. So split these into 2 options.
2013-07-03reduce imports on startupCampbell Barton
2013-06-30revert own fix for adding nodes with (DPI != 72), the fix doesn't work for ↵Campbell Barton
OSX retina displays.
2013-06-27fix for adding nodes with a DPI besides 72 causing offset.Campbell Barton
2013-06-27pep8 cleanupCampbell Barton
2013-06-19report exceptions when enabling and disabling modules in blenders interface.Campbell Barton
so if pressing the addon checkbox fails it tells why rather then failing silently.
2013-06-14Change edgeloop delete to use dissolve, fixes bug [#35738].Campbell Barton
Was using edge-slide & remove-doubles but this was error prone since remove doubles could fail in some cases or find doubles where it shouldn't (with very small scale objects). This gives more predictable behavior when the edges of a loop wouldnt slide (in that case they would just drag over to one of the sides with no user control) and multiple edge loops work better too. eg: - http://www.graphicall.org/ftp/ideasman42/edge_loop_del_update.png
2013-06-11fix [#35574] Export Key Map issueCampbell Barton
problem was the keymap failed to import but didnt give any feedback, now it displays error message.
2013-06-10Correction to previous maya keymap commitSergey Sharybin
Added UNDOflag to the wrong operator..
2013-06-10Fix #35661: Maya key config - select operations are skipped by "undo"Sergey Sharybin
2013-06-08Fix for node search operator, this was not taking into account possible ↵Lukas Toenne
NodeItemCustom in the categories yet. Such custom items as just ignored for now.
2013-06-05Fix #35640, part 2. Check id.lib in poll functions for operators which do ↵Lukas Toenne
critical modification of node trees (create nodes, link, etc.). Transform operators and hide/show type operators are still allowed, this does not modify actual behavior of the nodes and can be useful for inspecting linked nodes.
2013-06-05fix [#35453] "copy mirrored uv coords" doesn't workCampbell Barton
- made precision configurable. - report a warning when doubles are found since they cause problems. added Polygon.center attribute to avoid calculating in python.
2013-06-02Better API design for making text datablocks after loading.Tamito Kajiyama
An optional 'internal' argument was added to the bpy.data.texts.load() operator. The changes in revision 57153 were reverted, so that the is_in_memory and is_dirty properties of text datablocks are not editable again. In the C API layer, BKE_text_load_ex() was introduced to allow for optionally making text datablocks internal after loading.
2013-06-02Added a short-cut button in the Freestyle Python Scripting mode for loadingTamito Kajiyama
a style module file as a text datablock and appending it to the style module stack.
2013-05-31Follow up to previous commitSergey Sharybin
Made Ctrl-LMB clear selection from the object.
2013-05-29workaround for search menu enum using freed python scripts (py api limitation).Campbell Barton
2013-05-29fix [#34851] "UnitSettings.scale_length" not beeing calculated the same way ↵Campbell Barton
for all objects
2013-05-24disable auto indent when pasting text into the python console.Campbell Barton
2013-05-23fix/workaround for problem with osx permissions.Campbell Barton
2013-05-11Fix #35273: click in empty space to deselect as used by the Maya keymap gaveBrecht Van Lommel
a python error when used in pose mode.
2013-05-10Smoke: Add new "Full Sample" option to high resolution smoke panel.Miika Hamalainen
This is hopefully the ultimate solution against smoke blockiness near emitter. Previously high resolution flow/emitter voxels were generated based on the low resolution ones. So if you had 32 resolution and 4 division high resolution, it still used smoke flow generated from those 32 resolution voxels. Now I introduced a new sampling method called "Full Sample" that generates full resolution flow for for high resolution domain as well. Read more about it in my blog post: https://www.miikahweb.com/en/blog/2013/05/10/getting-rid-of-smoke-blockiness Also changed "quick smoke" operator default voxel data interpolation mode to "Cubic B-Spline" to smoothen out it even more.
2013-05-10Small fix for node add operators: use the UNDO option so they get registered ↵Lukas Toenne
in undo stack properly.
2013-05-09Upgrade for the add_search node operator. This now uses the same basic ↵Lukas Toenne
system as the regular add_node operator, with enum items generated from the common node categories system (nodeitems_utils module). This means that any node listed in the regular node Add menu can now also be added via searching, including node groups and the like. The search operator also uses the subsequent transform to make insertion a bit more streamlined.
2013-05-09Fix for add_node operator: needs to have SKIP_SAVE set for the settings ↵Lukas Toenne
collection to prevent it from re-using settings from a previous call. This would otherwise lead to python exceptions when those properties don't exist for the other node type (point in case: node_tree only is defined for group nodes).
2013-05-08Moved a couple of common properties into the NodeAddOperator base class to ↵Lukas Toenne
avoid repetitive code. A new operator node_add_and_link is another variant that first creates a node and them connects a specific socket to an existing one (defined by context pointer).
2013-05-08Removed the add_group_node operator, this is now integrated into the generic ↵Lukas Toenne
node_add operator. The group node tree pointer is then part of the settings dictionary.
2013-04-30Partial fix for #35108: Shortcuts 3dsmax Blender 2.67RCSergey Sharybin
Made keyap use the same select_or_deselect_all operator as used for maya keymap instead of tricks with deselect_all. Solves issue with selection in editor mode (reported as #3 in the original bug report).
2013-04-29Usual UI messages fixes...Bastien Montagne
2013-04-26Fix a few more cases where an operator should not show in the search menu.Brecht Van Lommel
2013-04-26Fix #35080: freestyle Fill Range by Selection operator giving error when invokedBrecht Van Lommel
without a linestyle.
2013-04-23rna attribute consistency edits, use common prefix for booleans.Campbell Barton
2013-04-22Fix #34350: Maya Keyboard map preset problemsSergey Sharybin
Two main things: - Made a python operator for selection in a viewport which will de-select everything if nothing is under the mouse. To do so needed to modify VIEW3D_OT_select, so invoke sets mouse location which is later used by exec function. This way it's possible to select stuff from python defined operator. Not best-ever solution since ideally exec() shall not do OpenGL stuff, but we've got this issue in some other operators. We'll solve this later. - Used a keymap from Gianmichele Mariani as a reference, updated his keymap to latest changes in operators. We shall match Maya keymap much better now, thanks for the keymap dude!
2013-04-21Fix for add nodes search box showing nasty "UUUUUUUU"-like entries with some ↵Bastien Montagne
python builds... Workaround for an issue with python: strings generated by py scripts should also exist in python as long as they are used in C. Else C code may access freed memory. Simply store the generated list of items in the class, for now. :/
2013-04-20code cleanup: minor improvements to scripts.Campbell Barton
- make wm-property operators use INTERNAL option. - make console use str.expandtabs() rather then replacing tab->spaces.
2013-04-20code cleanup: simplify python rigidbody operators.Campbell Barton
2013-04-15add back attribution field from script.Campbell Barton
2013-04-13Replacing the node Add menu and making the toolbar usefulLukas Toenne
As some people have already noticed, the "Add" menu for nodes is a bit messy since pynodes merge. The reason for this is that the order of nodes in submenus (categories) was previously defined by the order in which all nodes are registered (at the bottom of blenkernel/intern/node.c). For the dynamic registration of node types now possible this system of defining node order along with registration is no longer viable: while it would still sort of work for C nodes, it is completely meaningless for dynamic (python) nodes, which are basically registered automatically in whatever order modules and addons are loaded, with the added complexity of unloading and reloading. To fix this problem and add a bunch of desirable features this commit replaces the C menu with a python implementation. The new menu does not rely on any particular order of types in the node registry, but instead uses a simple explicit list of all the available nodes, grouped by categories (in scripts/nodeitems_builtins.py). There are a number of additional features that become possible with this implementation: 1) Node Toolbar can be populated! The list of nodes is used to create 2 UI items for each node: 1 entry in a submenu of "Add" menu and 1 item in a node toolbar panel with basically the same functionality. Clicking a button in the toolbar will add a new node of this type, just like selecting an item in the menu. The toolbar has the advantage of having collapsible panels for each category, so users can decide if they don't need certain nodes categories and have the rest more easily accessible. 2) Each node item is a true operator call. The old Add menu is a pretty old piece of C code which doesn't even use proper operator buttons. Now there is a generic node_add operator which can be used very flexibly for adding any of the available nodes. 3) Node Items support additional settings. Each "NodeItem" consists of the basic node type plus an optional list of initial settings that shall be applied to a new instance. This gives additional flexibility for creating variants of the same node or for defining preferred initial settings. E.g. it has been requested to disable previews for all nodes except inputs, this would be simple change in the py code and much less intrusive than in C. 4) Node items can be generated with a function. A callback can be used in any category instead of the fixed list, which generates a set of items based on the context (much like dynamic enum items in bpy.props). Originally this was implemented for group nodes, because these nodes only make sense when linked to a node tree from the library data. This principle could come in handy for a number of other nodes, e.g. Image nodes could provide a similar list of node variants based on images in the library - no need to first add node, then select an image. WARNING: pynodes scripters will have to rework their "draw_add_menu" callback in node tree types, this has been removed now! It was already pretty redundant, since one can add draw functions to the Add menu just like for any other menu. In the future i'd like to improve the categories system further so scripters can use it for custom node systems too, for now just make a draw callback and attach it to the Add menu.
2013-04-11Hide preview for nodes created with Setup Tracking SceneSergey Sharybin
2013-04-11Setup tracking scene shall work with Cycles nowSergey Sharybin
2013-04-11Fix for Setup Tracking Scene operatorSergey Sharybin
- Ported to new node add operator - Alpha mode shall be set to Transparent
2013-04-11fix [#34805] Bake action ignores parent motionCampbell Barton
in fact this is more feature request. add an option to bake a parented objects animation, then clear the parent and apply the action.
2013-04-11* Better tooltip for WM_OT_properties_context_change. Thomas Dinges
2013-04-08select-camera operator could select hidden cameras, also disable freestyle ↵Campbell Barton
for `make lite` target.
2013-04-07Fix for [#34901] "Add SSS Preset" gives error.Thomas Dinges
* Mark Preset operator as 'Internal' only, so it does not show up inside the search menu. We cannot be sure if we meet the context requirements otherwise (unless we add a poll to each subclass).
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-04-07Usual typo fixes... ;)Bastien Montagne
2013-04-07freestyle lineset `tag` attribute was defined but not used, also some code ↵Campbell Barton
cleanup.