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
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-27Move generic operator props into own fileCampbell Barton
This is unrelated to core operator internals, so move into own file.
2015-12-27Fix for error w/ QtCreator project builderCampbell Barton
cmake_qtcreator_project.py now takes a '--build-dir' argument. Since introduction of argparse, accessing last argv from project_info is no longer working. Now require a call to project_info.init before use.
2015-12-27OpenGL: stipple support added to basic GLSL shaderAlexander Romanov
The is intended to replace the deprecated glPolygonStipple() calls with a shader based alternative, once we switch over to GLSL shaders. Reviewers: brecht Differential Revision: https://developer.blender.org/D1688
2015-12-26CMake: Disable some features when using MinGW and full cmake configSergey Sharybin
2015-12-26CMake: Fix errors building by MinGWSergey Sharybin
Some libraries are nto updated for MinGW hence build system needs some exceptions for this compiler.
2015-12-26Support custom project namesJulian Eisel
2015-12-26BMesh: add checks for duplicates in a faceCampbell Barton
These could go un-noticed, causing errors later on.
2015-12-26BMesh: check at least 2 edges in each loops vertCampbell Barton
Also no need to check twice
2015-12-26CleanupCampbell Barton
2015-12-25Minor cleanup.Bastien Montagne
2015-12-25MOD_UVWarp: switch from OMP to BLI_task.Bastien Montagne
Usual 10%-15% speedup. Note that here OMP was rather erratic, with typical timing about 10% slower than BLI_task, but having some 'burnouts' (~10% of times) were it would be over ten times slower than usual... BLI_task looks much more stable.
2015-12-25Cleanup: SubsurfaceScatteringNode is a subclass of BsdfNode, no need to set ↵Thomas Dinges
the value again.
2015-12-24Fix (unreported) do not show 'appearances' options tool panel in ↵Bastien Montagne
ParticleEdit mode (not supported).
2015-12-24Cleanup: use enum for bmesh_elem_checkCampbell Barton
2015-12-24BMesh: remove doubles fix/optimizationCampbell Barton
Changes to remove doubles face creation, Recent change to remove doubles broke when the new faces already existed (rare occurrence), however theres no point to return an existing double face. Now check if the face exists before creating it. Other changes: - avoid 2x hash lookups on all mapped verts. - fill in the vert array instead of calculating from edges. - remove inefficient search of entire edge-array before adding to it. (flag verts to ensure they're not used multiple times). - move logic for transfusing edge-flags to edge creation.
2015-12-24BMesh: BM_verts_from_edges utility functionCampbell Barton
2015-12-24Add STACK_CLEAR macroCampbell Barton
2015-12-24Cycles: Fix Tile access in the TileManager for viewport renderingLukas Stockner
- When rendering in the Viewport, next_tile is sometimes called after a reset has been performed, but before new tiles were generated. In that case, the tile list would be invalid, causing Blender to crash randomly. - When generating new tiles, the TileManager would not clear the tile lists before re-generating them, leading to some tiles being skipped during viewport rendering. - When popping the next tile from a tile list, a reference to the just-deleted object would be returned, now the object is copied before deleting it.
2015-12-23Cycles: Implement constant fold for the ConvertNode.Thomas Dinges
This way socket type conversions (such as color to float, or float to vector) do not stop the folding process. Example: http://www.pasteall.org/pic/show.php?id=96803 (selected nodes are folded).
2015-12-23Fix a few warnings with Apple LLVM 7.0.2.Brecht Van Lommel
2015-12-23Fix T47051: cycles viewport textured shadeless draw bug.Brecht Van Lommel
2015-12-23Update Link to the Blender Store.Thomas Dinges
2015-12-23Fix weld edges into faces splicing verts that shared a faceCampbell Barton
This could happen with degenerate faces.
2015-12-23Fix weld edges into faces - eternal loopCampbell Barton
Would happen with complex edge-nets mixed with faces.
2015-12-23Remove BLI_buffer calloc optionCampbell Barton
This wasn't working reliably (after clear for example), and wasn't used anywhere.
2015-12-23Fix BLI_buffer_reinit not clearing static flagCampbell Barton
2015-12-23Fix error in BLI_buffer_reinitCampbell Barton
alloc_size was set incorrectly causing arrays not to be resized correctly.
2015-12-23Cycles: Sort tiles in rendering order at construction timeLukas Stockner
This commit modifies the TileManager to sort render tiles once after tiling the image, instead of searching the next tile every time a new tile is acquired by a device. This makes acquiring a tile run in constant time, therefore the render time is linear w.r.t. the amount of tiles, instead of the quadratic dependency before. Furthermore, each (logical) device now has its own Tile list, which makes acquiring a tile for a specific device easier. Also, some code in the TileManager was deduplicated. Reviewers: dingto, sergey Differential Revision: https://developer.blender.org/D1684
2015-12-23Fix bevel RNA enum/boolean mixupCampbell Barton
2015-12-23Math Lib: clamp closest_to_line_segment_v# when segment has no lengthCampbell Barton
For a line this makes sense but segments should clamp, avoids assert in edge-rip.
2015-12-23Fix issue w/ transform orientation & vert selectionCampbell Barton
Accessing selected verts as an array failed when only some of the selected verts were in the selection-history.
2015-12-23Remove feof check for file readingCampbell Barton
This wasnt correct since we're not reading past the stream, though it worked on Linux and some Windows systems.
2015-12-23Disable calculating manipulator while transformingCampbell Barton
Gives ~10% speedup
2015-12-23Add BM_vert_edge_pair utility functionCampbell Barton
2015-12-23Fix error in BM_vert_is_edge_pairCampbell Barton
Returned true for verts with a single edge.
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-22Fix T47003: OpenGL draw missing selection highlight when using hidden wire.Brecht Van Lommel
2015-12-22Get rid of OMP in MOD_build.Bastien Montagne
Reasons: - Only parallelized piece of code gives little local speedup (code block only about 25% quicker even on 1M polys cube). - No gain nor loss using new BLI_task system. - At 10% of build, parallelized piece of code is only about 5% of total func runtime (run-time explodes as build proportion increases). See no point in adding (in utmost best optimistic case, in real use-case, when depsgraph will likely already fire several evaluations in parallel, speedup would be even smaller) 1% speedup here at the cost of threading complexity... Note that since later code uses hashes, I don't think it's easy to thread it, so think we can leave with it for now.
2015-12-22View3D: measure smoothview angle comparing quat anglesCampbell Barton
Rolling the view registered as no angle-difference.
2015-12-22View3D: Rotate around selected support for view-rollCampbell Barton
2015-12-22Fix T31605: Nupad ignores Rotate around selectionCampbell Barton
Add support for smooth-view orbiting a point besides the view center.
2015-12-22Fix error orbiting out of camera + orbit-selectedCampbell Barton
Would use the wrong view center (that wasn't update from the camera).
2015-12-22View3D: use c99 compound literals for smoothview paramsCampbell Barton
Smooth-view functions took many arguments which were often NULL, now take struct instead.
2015-12-22Cleanup: Remove comments, now that we have the dedicated constant fold ↵Thomas Dinges
functions, it's obvious.
2015-12-22Cycles: Constant fold for the Gamma Node.Thomas Dinges