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
2016-03-30Shortest Path Select: option to select all paths between 2 elementsCampbell Barton
This option selects all paths between source/destination which are no longer than the path found. Handy for selecting meshes with a grid-topology.
2016-03-28Fix T47969: Select Random always uses same seedCampbell Barton
Increment the seed on each use, otherwise calling again selects the same order, unless you manually adjust the seed.
2016-03-25Fix modal bevel OP immediately stopping when called using enter key from ↵Julian Eisel
search menu Steps to reproduce were: * Go to edit mode, select geometry * Spacebar -> search for bevel OP * Activate *using enter key* * Immediately stops when releasing enter key To fix we simply make sure the initial release event is ignored. For mouse events that wasn't an issue since activating an element is done on key release in menus. An alternative fix would be to do the same for enter key, but that's more risky. Also, checking event value is highly recommended anyway.
2016-03-24Fix T47910: Knife project failsCampbell Barton
Regression in fix for T43896, using screen-space precision here is very problematic, using lower precision here works for both reports.
2016-03-15Fix T47759: Mesh 'Select less', leaves isolated vertsCampbell Barton
Select less in mesh edit-mode would leave selected vertices/edges in edge/face mode which don't support selecting these elements.
2016-03-14Fix T47788: Symmetrize flips multi-res dataCampbell Barton
Symmetrize was unusable with multi-res data, add an option for the bmesh operator not to flip the multi-res depth.
2016-03-05Cleanup: quiet -Wcomma, cast to void where neededCampbell Barton
2016-03-02Fix T47610: Texture node in compositing nodes does not updateSergey Sharybin
The issue was caused by some code accessing R from a functions which are marked as safe for use from outside of render pipeline. Now those functions are safe(er) for use.
2016-03-01Edit Mesh: Edge tag toggle when no active path is foundCampbell Barton
User request, this matches 2.6x behavior more closely.
2016-02-20Fix for NULL used instead of falseSergey Sharybin
2016-01-23OpenGL: call glLineWidth less oftenMike Erwin
Each LINES draw call is now responsible for its own line width. No need to set it back to its 1.0 default after every draw. This eliminates half our calls to glLineWidth , similar to last week’s work on glPointSize.
2016-01-23Math Lib: optimize segment-plane clippingCampbell Barton
Calculate the clipped min/max factor along the segment, only applying to the coordinates at the end (will give better precision too). Also make split input/output args.
2016-01-21Cleanup: line length, indentationCampbell Barton
2016-01-20Fix T43896: Knife Project fails when zoomed outCampbell Barton
While knife-project still uses screen-space projection, use much lower snap thresholds when projecting.
2016-01-16OpenGL: fixes related to GL_POINTSMike Erwin
I put all usage of GL_POINTS under the microscope. Fixed problems & optimized a couple of spots. - reduce calls to glPointSize by about 50% - draw selected & unselected vertices together for UV editor & EditMesh - draw initial gpencil stroke point the proper size - a few other smaller fixes New policy: each GL_POINTS draw call needs to set its desired point size. This eliminates half our calls to glPointSize (setting it back to its 1.0 default after every draw).
2016-01-08Math Lib: use x-span for fill_poly_v2i_n callbackCampbell Barton
Instead of running the callback per-pixel, pass the x-span to the callback.
2016-01-07BMesh: add select next/prev operatorCampbell Barton
This uses selection history to select the next vert/edge/face based on surrounding topology. Select previous just removes the last selected element. Uses key-bindings: Ctrl-Shift +/-
2016-01-07Select mirror multiple axis supportCampbell Barton
Previously you could only select mirror on X axis, now support mirroring on multiple axis as well as more than one (for mesh and lattice data).
2016-01-04Fix T47038: Particles in Particle Edit Mode get added in completely wrong ↵Bastien Montagne
location. It also fixes another issue (crash) related to symmetric editing. Quite involved, we (try to!) fix complete broken logic of parts of particle code, which would use poly index as tessface one (or vice-versa). Issue most probably goes back to BMesh integration time... This patch mostly fixes particle editing mode: - Adding/removing particles when using generative modifiers (like subsurf) should now work. - Adding/removing particles with a non-tessellated mesh (i.e. one having ngons) should also mostly work. - X-axis-mirror-editing particles over ngons does not really work, not sure why currently. - All this in both 'modes' (with or without using modifier stack for particles). Tech side: - Store a deformed-only DM in particle modifier data. - Rename existing DM to make it clear it's a final one. - Use deformed-only DM's tessface2poly mapping to 'solve' poly/tessface mismatches. - Make (part of) mirror-editing code able to use a DM instead of raw mesh, so that we can mirror based on final DM when editing particles using modifier stack (mandatory, since there is no way currently to find orig tessface from an final DM tessface index). Note that this patch is not really nice and clean (current particles are beyond hope on this side anyway), it's more like some urgency bandage. Whole crap needs complete rewrite anyway, BMesh's polygons make it really hard to work with current system (and looptri would not help much here). Also, did not test everything possibly affected by those changes, so it needs some users' testing & validation too. Reviewers: psy-fi Subscribers: dfelinto, eyecandy Maniphest Tasks: T47038 Differential Revision: https://developer.blender.org/D1685
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2016-01-04Remove select-next-loop operatorCampbell Barton
Taken from original bmesh-branch but doesn't give useful results (misses selection flushing).
2015-12-28Fix possible invalid-index use /w link/path selectCampbell Barton
2015-12-27BMesh Path Select: Face Stepping OptionCampbell Barton
Supports diagonal paths for verts and faces, Selects edge-rings with edges.
2015-12-27Split id->flag in two, persistent flags and runtime tags.Bastien Montagne
This is purely internal sanitizing/cleanup, no change in behavior is expected at all. This change was also needed because we were getting short on ID flags, and future enhancement of 'user_one' ID behavior requires two new ones. id->flag remains for persistent data (fakeuser only, so far!), this also allows us 100% backward & forward compatibility. New id->tag is used for most flags. Though written in .blend files, its content is cleared at read time. Note that .blend file version was bumped, so that we can clear runtimeflags from old .blends, important in case we add new persistent flags in future. Also, behavior of tags (either status ones, or whether they need to be cleared before/after use) has been added as comments to their declaration. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1683
2015-12-27BMesh Path Select: Add checker-select optionsCampbell Barton
Allows to quickly select alternate elems in a path (matching checker-deselect options). - adds redo support to MESH_OT_shortest_path_pick, allowing for other options. - de-duplicates code between 2x path select operators. - expose 'Topology Distance' property for path picking. - remove unused 'extend' property.
2015-12-27BMesh: extract int/bmesh element access funcs.Campbell Barton
Support getting an vert/edge/face from a single index, useful for operator redo.
2015-12-27WM: add checker_interval utility functionsCampbell Barton
2015-12-23Fix weld edges into faces splicing verts that shared a faceCampbell Barton
This could happen with degenerate faces.
2015-12-23Fix bevel RNA enum/boolean mixupCampbell Barton
2015-12-23Typo in last commitCampbell Barton
2015-12-23Select Linked: only use seam delimit for facesCampbell Barton
Delimiting on seams was only ever intended for face selection, Previously this option didn't work for vertices, now it's fixed the defaults aren't right for vertex/edge select-linked. Add a workaround that bypasses operator-defaults - since this is such a rare case.
2015-12-22Rename mesh operatorsCampbell Barton
- use 'Intersect' prefix for boolean and regular intersection. hints that they use the same basic logic with different modes. - 'split by edges' while correct - isn't very descriptive.
2015-12-17BMesh: split-by-edges minor fixesCampbell Barton
- select all newly created edges - remove redundant edges (not essential but nicer output).
2015-12-16BMesh: support connecting single-edge island linksCampbell Barton
Handle these cases by temporarily disconnecting the single links to ensure isolated islands, then link back up after.
2015-12-15Correct own error in knife edge-net cuttingCampbell Barton
Need to ensure no duplicate edges in the array.
2015-12-15BMesh: split-py-edge now splices verts into edgesCampbell Barton
Edge chains spanning faces or ending without a connecting edge are now supported by splicing verts into the face boundaries.
2015-12-15Fix split-py-edge assuming valid face indicesCampbell Barton
Also reduce variable scope
2015-12-13BMesh: split-face by edges support isolated edgesCampbell Barton
Previously edges needed to be connected to the faces.
2015-12-13BMesh: replace BLI_array w/ BLI_bufferCampbell Barton
Also reuse temporary buffer between calls.
2015-12-12Knife: use BM_face_split_edgenet for detecting holesCampbell Barton
Knife had its own code for detecting holes which worked quite well, but would prefer to use generic bmesh API call here.
2015-12-11Mistake in last commitCampbell Barton
2015-12-11BMesh: Boolean as an edit-mode toolCampbell Barton
Works much the same as intersect operator, expose as a new operator since for users its quite different. Access from face menu. Internally, this adds boolean args to BM_mesh_intersect function.
2015-12-11BMesh: hole support for intersect toolCampbell Barton
Support cutting many outlines into a single face (creating edges between isolated regions).
2015-12-06Fix generate UV's adding extra layersCampbell Barton
Adding a new meshes when there were no faces would always add a new uv-layer.
2015-12-05Fix T37879: Default UV generation for mesh primitives.Bastien Montagne
Adds default-generated UVs to mesh primitives (cone, cylinder, icosphere, uvsphere, cube, circle, grid) when they are added to the scene, since some of them can be pretty awkward to unwrap manually. Original patch: Liam Mitchell (CommanderCorianderSalamander). Main review work: Campbell Barton (campbellbarton). Finalization, fixes and cleanup: Bastien Montagne (mont29). Reviewers: mont29, #mesh_modeling, campbellbarton Reviewed By: mont29, campbellbarton Subscribers: lkruel, campbellbarton, michaelknubben, kevindietrich Maniphest Tasks: T37879 Differential Revision: https://developer.blender.org/D481
2015-12-03Fix T46913: Crash adding hook to linked mesh dupliCampbell Barton
Follow up to T46738, we need to tag the object data for recalculation.
2015-12-02Cleanup: transform snap argumentsCampbell Barton
This was getting very hard to follow, - mixing input/output args. - mixing arg order between functions. - arg names (mode, snap_mode) rename to (snap_to, snap_select)
2015-12-01Cleanup: use more logical names for View3D.aroundCampbell Barton
D1651 (own patch)
2015-12-01Fix T46900: Inset Faces Thickness & Depth Do Not Use Scene Units (i.e. ↵Bastien Montagne
Imperial). Was the case of several Mesh operators actually (and probably others, but cannot check everything). Added `RNA_def_property_float_distance` helper, avoids having to set PROP_DISTANCE subtype explicitly each time...
2015-11-27BMesh: Add API call BM_face_calc_point_in_faceCampbell Barton
Was local to knife code, but this is generally useful.