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
2016-06-23Fix T48658: Cycles render & render preview corrupts particlesCampbell Barton
Replaces `G.is_rendering` with `use_render_params` argument. This is needed for Cycles, which attempts to restore render-preview settings from particles, after it gets its own particle data, but fails to restore because `G.is_rendering` was being checked in psys_cache_paths (and other places).
2016-06-22ID-Remap, step two: add some user-level tools.Bastien Montagne
This commit adds operators and Outliner menu entries to reload or relocate a library, and to delete or replace a datablock. RNA ID API is also extended to allow ID deletion and remapping from python. Review task: D2027 (https://developer.blender.org/D2027). Reviewed by campbellbarton, thanks a bunch.
2016-06-22Cleanup: use proper RNA struct type for ListBase typeBastien Montagne
(otherwise all code using RNA has to link DNA_listbase.h, not clean at all!).
2016-06-22ID-Remap - Step one: core work (cleanup and rework of generic ID datablock ↵Bastien Montagne
handling). This commit changes a lot of how IDs are handled internally, especially the unlinking/freeing processes. So far, this was very fuzy, to summarize cleanly deleting or replacing a datablock was pretty much impossible, except for a few special cases. Also, unlinking was handled by each datatype, in a rather messy and prone-to-errors way (quite a few ID usages were missed or wrongly handled that way). One of the main goal of id-remap branch was to cleanup this, and fatorize ID links handling by using library_query utils to allow generic handling of those, which is now the case (now, generic ID links handling is only "knwon" from readfile.c and library_query.c). This commit also adds backends to allow live replacement and deletion of datablocks in Blender (so-called 'remapping' process, where we replace all usages of a given ID pointer by a new one, or NULL one in case of unlinking). This will allow nice new features, like ability to easily reload or relocate libraries, real immediate deletion of datablocks in blender, replacement of one datablock by another, etc. Some of those are for next commits. A word of warning: this commit is highly risky, because it affects potentially a lot in Blender core. Though it was tested rather deeply, being totally impossible to check all possible ID usage cases, it's likely there are some remaining issues and bugs in new code... Please report them! ;) Review task: D2027 (https://developer.blender.org/D2027). Reviewed by campbellbarton, thanks a bunch.
2016-06-22EditMesh: Avoid creating deform-vert layer every redrawCampbell Barton
Getting a new edit-derived-bmesh was always creating a deform-vert array, even when it wasn't needed. Since this was called on redraw, in many cases it was doing it unnecessarily. Now pass in a custom-data mask and only fill in deform-verts when needed. Gives noticeable drawing speedup (~10-30% here).
2016-06-22Cleanup: styleCampbell Barton
2016-06-22Cleanup: remove unused Image space curvesCampbell Barton
Caused leaks reading old files, was read/written but not freed, remove since its unused.
2016-06-22readfile: use BLI_endian_switchCampbell Barton
Replace inline endian switching
2016-06-22writefile: use const for old addressCampbell Barton
Also remove temp preview overwriting.
2016-06-22Fix T48703: Name inconsistency w/ area maximize/fullscreenCampbell Barton
Name operator based on default behavior.
2016-06-22Docs: use doxy formatting for readfileCampbell Barton
2016-06-21Fix null-pointer freeCampbell Barton
Own error in recent decimeter commit
2016-06-21Fix T48700: Crash when window creation failsCampbell Barton
Check if Python is initialized before calling BPY_python_end.
2016-06-21Cleanup: hide debug print behind proper debug defines instead of using ↵Bastien Montagne
comments...
2016-06-21Fix T48412: Blender 2.77a crashes on Undo in some specific multi-level ↵Bastien Montagne
linked libraries cases. Good old dead-brain stupid error when iterating over a linked list from which you remove some items...
2016-06-21Fix for string buffer overflow in DepsNode identifiers.Lukas Tönne
Layer flags can go up to 2^n-1 for n layers, requiring *at least* 9 chars + 1 terminator for 20 layers.
2016-06-21Fix T48697: Brush curve-stroke snaps strangelyCampbell Barton
Support Snapping screen-space 2d curves, (was applying world-space coords in screen-space). Also show snap settings in header.
2016-06-21Fix T48196: Crash enabling modal operator in execCampbell Barton
Not good practice, but better not crash.
2016-06-21Cleanup: rename curve align-x flagsCampbell Barton
2016-06-21Text Object: Vertical AlignmentDalai Felinto
A new option for Font/Text objects vertical alignment: * Top Base-Line (current mode) * Top * Center * Bottom The Top is the equivalent as the Top-Baseline with an empty line at the begin of the text. It's nice to have this option too though, since if we are driving the alignment via Python we don't want to add extra lines to the text only to accomodate to the desired vertical alignment. The Center and Bottom are as intuitive as their name suggest. When working with text boxes, the vertical alignment only work for paragraphs that are not vertically full. Many thanks to Campbell Barton (ideasman42 / @campbellbarton) for the code review, code comments, and overall suggestions and changes :) Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D2061
2016-06-21Fix T48688: Crash loading particle effector weightsCampbell Barton
2016-06-21Fix T48683: Knife cut creates holeCampbell Barton
BM_face_split_edgenet wasn't correctly detecting boundary vertices to walk over, since vertices may be attached to boundary edges not part of the newly created face.
2016-06-21BMesh: avoid verts-of-edge iteratorCampbell Barton
Since this function is called a lot, loop over data directly.
2016-06-20Fix building for Windows after 57cff46v (booleans unitialized)Dalai Felinto
2016-06-20Fix once more time particle distribution.Bastien Montagne
rB046adde64f16 was actually pretty useless (and broken), since issue ends up not being in binary search code, but in generation of the 'summed weights' array used to distribute particles over mesh items - looks like very small weights could lead to null accumulated weights, wich was breaking binary search. Fixed simply by adding a minimal, non-zero weight for mesh items to be allowed to emit particles. Hopefully we are done with this distribution mess!
2016-06-18Cleanup: style, whitespace, doxy filepathsCampbell Barton
2016-06-17Fix T48667: Bisect-fill crashCampbell Barton
BMO iterator would loop over removed faces. Recent changes to mempool FREEWORD size exposed this bug.
2016-06-17Fix T48662: Blender crash using node groups connected with displacement ↵Sergey Sharybin
output in some situations
2016-06-16Fix/cleanup BKE libquery's ID looper.Bastien Montagne
Some area were still not in sync with readfile.c, now should be better. Note that readfile.c has been used as référence here re us refcounting, not sure how accurate it is, time will say :|
2016-06-16readfile.c: fix some wrong usages of newlibadr_us.Bastien Montagne
There are most likely some more still, but think this should now be inline with libquery looper...
2016-06-16Readfile cleanup: add new newlibadr_real_us helper.Bastien Montagne
2016-06-16Vertex paint color operationsCampbell Barton
D2050 by @metaraptor with edits Adds levels, brightness/contrast, hsv & invert operations.
2016-06-16Correct error in recent commitCampbell Barton
2016-06-16Fix some rare asserts with new simple/random particle distribution code.Bastien Montagne
Optimization in binary search could lead to equality instead of expected strictly greater than value. Harmless but noisy, and better be strict here. reported by sergey on irc (with koro cycles benchmark file), thanks.
2016-06-16BMesh Decimate: use doubles to calculate optimized positionCampbell Barton
This allows the error threshold for calculating the optimized location to be much lower. Resolves visible artifacts w/ 1m-tri happy-buddha example.
2016-06-16BLI_math: Add double versions of functionsCampbell Barton
- mul_v3_m3v3_db - mul_m3_v3_db - negate_v3_db
2016-06-16Fix ruler crash using stale snap-contextCampbell Barton
Since ruler allows other operators to run (such as mode-switching). Only cache snap-context while dragging.
2016-06-15BMesh Decimate: support ngonsCampbell Barton
2016-06-15Fix error splitting convex facesCampbell Barton
Created double faces, leaked memory.
2016-06-15Fix T48654: outline text visible while renamingCampbell Barton
Both button and rename text would draw while renaming, caused issues with some themes.
2016-06-14Text Editor: auto-complete removed entire word on undoCampbell Barton
2016-06-14VSE: minor drawing glitch with meta'sCampbell Barton
Meta contents could obscure meta selection outline, draw after.
2016-06-14Correct update issue caused by recent commitCampbell Barton
VSE effects within a meta-strip could fail to update on cancel.
2016-06-14Fix VSE updating effects within metasCampbell Barton
Missing update caused internal lengths to be wrong.
2016-06-14FileSpace cleanup: make ED_path_extension_type public.Bastien Montagne
Maybe we should move it to BLI, but not sure how, and where (and its defines are SpaceFile's ones, meh :| ).
2016-06-14Write .blend file: refactor & fixes re ID block itself.Bastien Montagne
Factorized writing of ID block's data (so far, only IDProps) into own helper func. This also fixes missing IDProp (aka custom data) saving from GreasePencil and Library datablocks (and add comment about why we do not save WM IDProps). Finaly, it ensures all ID-related data are written immediately after the ID itself (was not the case for all data types previously, some were writting their own data before IDProps). This is not a fix (.blend file format does not enforce any order on sub-data of datablocks, they only have to be after datablock struct itself in file), but makes things more consistent.
2016-06-14Fix T48649: VSE meta-strip overlap shuffles recursivelyCampbell Barton
2016-06-14Correct sequencer transform checkCampbell Barton
Check to avoid operating on same strip multiple times wasn't working. Harmless but better make it functional.
2016-06-14fix T48602: Changed The Collada validator to treat faces with < 3 verts as ↵Gaia Clary
Warning and let the Mesh Validator take care of the cleanup
2016-06-14Fix T48613: Bump mapping in cycles is not shown on the viewport when the ↵Sergey Sharybin
material use node groups