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
2014-08-12Fix T41415: Lasso keymap not working in UV editor.Bastien Montagne
Extend option was not implemented for UV lasso select...
2014-07-23Bake-API: Test for cyclic node connectionDalai Felinto
If the active image node contributes to the final material shader (meaning it's either directly or indirectly connected to an Output Node) the user will receive an alert about circular dependency. Similar to what we do for Blender internal the baking will still happen, but the user will receive the alert which should prevent the image saving to happen if the result was not intentional. Core function to check for node output written by Lukas Toenne. Reviewers: lukastoenne, campbellbarton Differential Revision: https://developer.blender.org/D673
2014-07-21GSOC 2013 paintAntony Riakiotakis
Yep, at last it's here! There are a few minor issues remaining but development can go on in master after discussion at blender institute. For full list of features see: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.72/Painting Thanks to Sergey and Campbell for the extensive review and to the countless artists that have given their input and reported issues during development.
2014-06-22WM: set circle select minimum radius to 1Campbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-04-21View2d: check UI_view2d_view_to_region_clip succeeds before using the resultCampbell Barton
2014-04-21View2d: API Cleanup for view<->region conversionCampbell Barton
View2D had some inconsistencies making it error prone in some cases. - Inconstant checking for NULL x/y args. Disallow NULL args for x/y destination pointers, instead add: - UI_view2d_region_to_view_x/y - UI_view2d_view_to_region_x/y - '_no_clip' suffix wasn't always used for non-clipping conversion, switch it around and use a '_clip' suffix for all funcs that clip. - UI_view2d_text_cache_add now clips before adding cache. - '_clip' funcs return a bool to quickly check if its in the view. - add conversion for rectangles, since this is a common task: - UI_view2d_view_to_region_rcti - UI_view2d_region_to_view_rctf
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-25Code cleanup: function callsCampbell Barton
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-02-26BMesh: add overwrite option to BM_mesh_elem_hflag_enable/disable_testCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2013-12-12Code Cleanup: move mesh mapping functions into their own file/headerCampbell Barton
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-08-27Mask primitivesSergey Sharybin
Currently only circle and square, might be easily extended in the future. New primitives are creating at cursor location. This also implied adding 2d cursor to space clip. Also fix set 2D cursor location which didn't work in image editor's mask mode since 2.67. TODO: draw_image_cursor better be moved to some more generic file, but it's not so much important for now and might be solved later. Thanks Campbell for the review!
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-21snap to cursor (offset option) added for UV's too.Campbell Barton
2013-06-24add api calls for BM_mesh_active_vert/edge_get.Campbell Barton
inspecting the edit-selection inline was cumbersome.
2013-06-21Code cleanup: fix some vs2012 compiler warningsBrecht Van Lommel
2013-06-16Attempt to fix #35548:Antony Riakiotakis
Use nearest edge instead of nearest vertex for UV island selection, or you may get a far away UV island that happens to have a vertex nearby.
2013-06-02remove duplicate operator,Campbell Barton
select-split and unlink-selection did the same thing, keep select split since it fits closer to mesh editmode and single key access (Ykey).
2013-05-19code cleanup: remove unneeded elements in uv NearestHit.Campbell Barton
2013-05-19code cleanup: bmesh/uvCampbell Barton
- uv_mouse_select() move from BLI_array to alloca - was unnecessarily looping over faces for an index lookup when an array is already created.
2013-05-19code cleanup: remove some kludge from uv loop selectCampbell Barton
2013-05-19code cleanup: uv_find_nearest_vertCampbell Barton
was doing unneeded lookups on face uv's when the adjacent uv's are known.
2013-05-11style cleanupCampbell Barton
2013-05-10avoid customdata lookups for selection test/enable disable.Campbell Barton
also add uvedit_face_select_set, uvedit_edge_select_set, uvedit_uv_select_set - since quite a few areas where setting based on a boolean.
2013-04-25minor fixesCampbell Barton
- build with netbsd works again. - select uv more/less was crashing when called outside image space. - node RNA property update was crashing when not called in node space.
2013-04-22revision r56196 adding uv select more/less used 4 nested 'for' loops, Campbell Barton
rewrite to use only 2. also use generic, reusable functions for selection flushing so each operator doesn't need to implement its own. and merge more-less operation into the same function, just call the selection flush function with select/deselect arg.
2013-04-22remove unneeded null checks from commit r56194, also minor style cleanup.Campbell Barton
2013-04-21Add Select More (ctrl np+) and Select Less (ctrl np-) to UV editorSv. Lockal
These tools allow to extend or shrink uv selection like in edit mode, but also take selection mode, sync mode and sticky mode into account.
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-15Fix #34978: for cycles, images displayed in the UV editor where coupled to theBrecht Van Lommel
active image texture node in the material, now this is removed and the image in the image editor is decoupled and not changed upon entering edit mode. This system caused more confusion then it's worth, changing or removing textures would modify the material but users would often not be aware of this.
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-08fix for various crashes from incorrect poll functions.Campbell Barton
- bevel had incorrect cancel when initialization failed which could crash (own mistake). - main particle poll function didnt check if the area/region were NULL. - some uv operators needed space image but didnt check for it. also use uv_ prefix for most operator functions.
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell 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-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-02-27code cleanup: unused argCampbell Barton
2013-02-24Bug fix #34384Ton Roosendaal
Border select in UV Image window crashed, if used when Image Window shows a render. Made operators for UV vertex manipulations having a more strict check for this mode. (Similar to other UV tools there).
2013-02-17code cleanup: operator/function mismatchCampbell Barton
2013-01-12reduce customdata lookups for UV drawing and tools.Campbell Barton
2013-01-10bmesh todo: uv stretch area draw mode wasn't calculating ngon area - added ↵Campbell Barton
area_poly_v2().