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
path: root/source
AgeCommit message (Collapse)Author
2012-03-15prepare for adding bmesh py api for customdata layer access - no functional ↵Campbell Barton
changes.
2012-03-15Code cleanup: simplify brush tool selection operators.Nicholas Bishop
Created a single unifed operator, PAINT_OT_brush_select, to replace BRUSH_OT_sculpt_tool_set, BRUSH_OT_vertex_tool_set, BRUSH_OT_weight_tool_set, and BRUSH_OT_image_tool_set.
2012-03-15fixes for vertex color (found when brining X3D import back)Campbell Barton
- tessface vertex color had the wrong sized array passing to rna_iterator_array_begin - re-calculating tessface's would clear them if they were already created (own mistake) - ED_mesh_color_add initialized tessface vertex colors from the loop color array also made rna's mesh.tessface_vertex_colors.new() work like tessface_uv_textures.new() where layers can be added as long as polygons are not present.
2012-03-15Remove unused parameter from multires_dm_create_from_derived.Nicholas Bishop
2012-03-15fix [#30542] Shear Vertical Seg Faults BlenderCampbell Barton
honor the T_FREE_CUSTOMDATA flag.
2012-03-15bmesh: Fkey now creates faces from 5 or more disconnected vertices.Campbell Barton
Added function: BM_face_create_ngon_vcloud creating quads and tris use this too since it finds the best face winding direction based on surrounding face (if any)
2012-03-15comment cleanupCampbell Barton
2012-03-14Use helper functions in node_select when selecting/deselecting nodes and ↵Lukas Toenne
sockets in operators. This ensure that sockets are not selected on their own (parent node is always selected too).
2012-03-14Make extension mode (shiftkey) mandatory for socket selection. Otherwise the ↵Lukas Toenne
user can end up with unexpectedly selected nodes, since socket selection allows selecting inputs and outputs from different nodes, which in turn also mean the parent nodes are selected. This fits the workflow better, you already needed to press shiftkey before to use the auto-connect operator. It will also solve some problems with the upcoming reroute nodes, where the node is basically a single socket.
2012-03-14Fix crash on edge extrude from textured viewSergey Sharybin
Issue was caused by MFACE layer adding for even DM without tessellated faces which lead to adding new layer but with NULL data. This causes issues when layer with faces (after extrude) was attempting to add because currently CD only checks if layer type exists but does not check for size of the layer. Solved by not adding MFACE layer if there's no tessellated faces.
2012-03-14fix hang when loop selecting an ngon. We need to check if edge currently ↵Antony Riakiotakis
walked on has already been added
2012-03-14Avoid a sigsev after 44830 when reports is empty, clang compile workJens Verwiebe
2012-03-14Switch *nix fileops from calling external commands via system() to posix api ↵Sergey Sharybin
calls which resolves some possible issues with operating files with quotes and backslashes. Also this might resolve (or at least help) resolving compilation error on GNU Hurd platform which will help a lot maintaining Blender for Debian.
2012-03-14Fix for multires undo with partial visibility.Nicholas Bishop
2012-03-14Fix some errors in partial visibility drawing.Nicholas Bishop
Also changed show-in-border key to SHIFT+H as suggested by Daniel Salazar.
2012-03-14Add partial visibility operator including keymaps and menu items.Nicholas Bishop
Uses HKEY for border hide, CTRL+HKEY for border show, and ALT+HKEY for show all. Documentation: http://wiki.blender.org/index.php/User:Nicholasbishop/PartialVisibility Code review: http://codereview.appspot.com/5695043
2012-03-14Skip hidden elements in PBVH iterator, raycast, and drawing.Nicholas Bishop
2012-03-14Copy hidden flag to vertices when applying multires modifier.Nicholas Bishop
2012-03-14Skip hidden elements in PBVH iterator, raycast, and drawing.Nicholas Bishop
2012-03-14Add DerivedMesh.gridHidden and CCGDM implementation.Nicholas Bishop
2012-03-14Add MDisps.hidden bitmap.Nicholas Bishop
Updates SDNA, customdata functions, and file read/write. Also adds accessor functions to BKE paint.
2012-03-14Add new CCG accessor functions.Nicholas Bishop
ccg_gridsize() converts a level into gridsize, ccg_factor() is for converting coordinates between different multires levels.
2012-03-14Add BKE mesh function to update edge/poly hidden flags from verts.Nicholas Bishop
2012-03-14Don't wait for sculpt stroke to create PBVH.Nicholas Bishop
This idea is borrowed from the multires modifier, which already checked if the object was in sculpt mode and, if so, created the PBVH. That check is now moved higher up the chain into mesh_build_data(), so that it occurs for CDDerivedMesh too. This also replaces an assert in cdDM_getPBVH for tesselated mesh faces with a call to create them if missing.
2012-03-14mathutils py api:Campbell Barton
Vector.angle_signed(other) for 2D vectors to get the clockwise angle between them. in BLI math its called - angle_signed_v2v2() shorthand for... atan2f((v1[1] * v2[0]) - (v1[0] * v2[1]), dot_v2v2(v1, v2)) also corrects compile error in last commit.
2012-03-14bmesh py api: finished todo - editable select_historyCampbell Barton
eg: bm.select_history = vert, face, edge bm.select_history.add(edge)
2012-03-14Add 'level' field to struct MDisps, companion to 'totdisp'.Nicholas Bishop
Gets initialized when loading old files and updated at the same places totdisp is updated. Saves having to do log+sqrt to extract level from totdisp.
2012-03-14documentation edit to address bmesh py api bug [#30453]Campbell Barton
warn when addons are not found when running cmake.
2012-03-14fix [#30493] GE crashes on exit because of using freed mtfaces from tessfacesCampbell Barton
prevent gpu_draw.c holding a pointer to a freed array.
2012-03-13loopwalker support for selecting the sides of ngonsCampbell Barton
see: wiki.blender.org/uploads/d/dc/BMesh_NGon_Loop_Select.png
2012-03-13code/style cleanup for loop walker which was is fairly confusing and hard to ↵Campbell Barton
extend. - only have one return at the end of the function. - break up functionality more clearly between wire/face walk. - remove unused struct member.
2012-03-13patch [#30511] from r44792, broke setting the window state from the command ↵Campbell Barton
line (-W / -w). Fix this by storing if the border is set - before this was only done for the window dimensions. also move these variables into a static struct so this logic is easier to follow.
2012-03-13Fix possible usage of NULL function reported by clangSergey Sharybin
2012-03-13bmesh py api: more comprehensive intro page, also fix some spelling errors.Campbell Barton
2012-03-13bmesh python api:Campbell Barton
BMesh.select_history.remove/clear/validate functions.
2012-03-13bmesh: Pressing Fkey when a face cant be made falls back to the selection ↵Campbell Barton
history and creates edges in the order of verts selected, pressing F again will make an NGon. (fun feature while our bug tracker is down)
2012-03-13stule cleanup for rct.c and fix for error in last commit.Campbell Barton
2012-03-13workaround [#30480] Knife tool flickerCampbell Barton
the problem was numeric precision when in ortho mode the start/end points for the view vector would be 2000 apart which caused trouble for the intersection test.
2012-03-13style cleanupCampbell Barton
2012-03-13Code cleanup: use explicit PBVH type enum rather than checking for grids or ↵Nicholas Bishop
faces. No functional changes, this is just a bit easier to read I think (and nicer if we add more PBVH types in the future, e.g. for dynamic topology sculpting.)
2012-03-13Code cleanup: replace multires update function pointer with direct call.Nicholas Bishop
Renamed the multiresModifier_update() function to multires_modifier_update_mdisps() and made it visible to subsurf_ccg.c so it can be called directly. No functional change, just a bit simpler.
2012-03-13better fix for [#30529], find the right axis rather then checking for folded ↵Campbell Barton
quads.
2012-03-13fix [#30529] BMesh: Wrong Indizes of FacesCampbell Barton
problem was bow-tie quads would add opposite normals together and result in zero vector which was used for projection. Now is_quad_convex_v3() checks if quad contains 2 faces which point away from eachother when split by either direction. Theres another fix for this bug which can be done since creating the face can use existing edges in the example given so it wont have to guess which order of verts to use.
2012-03-12Fix #30406: Hooks ignore Automatic handles setting in curvesSergey Sharybin
Update handles positions after applying modifiers which seems to be expected behavior. The only currently unsolved issue is about updating aligned handles because this needs to determine in which order handles need to be recalculated which currently depends on selection flags and which is quite tricky to do when running modifiers and animation data, so currently just not update their positions for now.
2012-03-12Fix for lasso gestures. After executing the modal gesture operator the list ↵Lukas Toenne
of gesture points is copied to the operator "path" id property, which is simply a collection of points. This list must be cleared before adding new lasso points to it, since operator properties are now stored after each execution. Noticed by Olivier Amrein (oenvoyage) on IRC.
2012-03-12Fix #30496: Bugs and crashes about "make links modifers" function.Sergey Sharybin
Was missed check for if modifier is available for particular object type which ended up with unpredictable results when modifier which isn't supported yet for some object type as linked to that object type.
2012-03-12Code cleanup: knife gathers pos-related state into a struct. No functional ↵Howard Trickey
change. This is in preparation for bug fixing and cleanup related to tracking of bmface and is_space state variables. And makes it more likely to avoid bugs in future where some part of state is copied but not all.
2012-03-12Fix #30512: external render saved render result after reporting error.Brecht Van Lommel
2012-03-12Make knifetool more robust against crashes. Fix some hole problems.Howard Trickey
Sometimes split would fail to make a face - make sure it doesn't crash if that happens. Chain finding code for holes would sometimes go back to same vertex on the face, which causes problems, so fixe that. Also, disallowed a cut that starts at a vertex or edge and cycles back to that same point in a face - this would make a face with a repeated vertex, which may not be handled by the rest of the system properly.
2012-03-12Style cleanup in blenfont (spaces, C++ comments, etc.).Bastien Montagne