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-10-21Merge branch 'master' into wiggly-widgetsJulian Eisel
2015-10-20Fix T46544: Can't unpack generated imageCampbell Barton
2015-10-20First step to handle missing libs/datablocks when reading a file.Bastien Montagne
Idea is, instead of ignoring completely missing linked datablocks, to create void placeholders for them. That way, you can work on your file, save it, and find again your missing data once lib becomes available again. Or you can edit missing lib's path (in Outliner), save and reload the file, and you are done. Also, Outliner now shows broken libraries (and placeholders) with a 'broken lib' icon. Future plans are also to be able to relocate missing libs and reload them at runtime. Code notes: - Placeholder ID is just a regular datablock of same type as expected linked one, with 'default' data, and a LIB_MISSING bitflag set. - To allow creation of such datablocks, creation of datablocks in BKE was split in two step: + Allocation of memory itself. + Setting of all internal data to default values. See also the design task (T43351). Reviewed by @campbellbarton, thanks a bunch! Differential Revision: https://developer.blender.org/D1394
2015-10-17Fix T46429: Movie clip is deformed by resolution multiplier when offset is ↵Bastien Montagne
added in sequence editor.
2015-10-16Fix broken CD_NORMAL interpolation callback (would generate non-unit vectors).Bastien Montagne
Even if the weights are normalized, the weighted sum of normalized vectors usually does **not** give a normalized vector (unless all source vectors are aligned). This probably was not a big issue in most cases, since we usually interpolate similar vectors here - but still!
2015-10-16Fix T46508: data_transfer of normals fails in case objects are transformed.Bastien Montagne
The final stage of the process (copying/interpolating new dst cddata from src cddata) was simply broken in normal case, where we need to convert from source to destination object space. This patch is a bit verbose, but I cannot see how to avoid it really. To think this code is in master since over 6 months and it only gets reported now... :/
2015-10-16Mesh remapping: fix loop 'best matching normals' not using transform space.Bastien Montagne
Also, cleanup, reduce declarations of tmp_co/_no...
2015-10-16Cleanup: simplify BLI_stringdec useCampbell Barton
2015-10-15VBO implementation for GLSL subsurfed meshes (non-mapped case)Antony Riakiotakis
As with cdderivedmesh, performance here is still CPU-limited if material needs tangents/UVs/vcolors. Draw calls have much less overhead though. Also, as with derivedmesh, kept an exception for old drawing for NVIDIA +OSX+VBO off or setDrawOptions callback not being NULL. setDrawOptions should be ommitable and fully VBOfialbe (?) in the future, usually those just check for hidden flag of poly or similar.
2015-10-15Cleanup: BKE_idcode: idcode (types) are short, not int...Bastien Montagne
Also, use 'idcode' var name, as in many other places in Blender.
2015-10-15Fix T46483: vertex/edge slide with correct UVs sometimes pinning UVs.Brecht Van Lommel
2015-10-15Fix related to T46223: memory leak when loading multilayer multiview images.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1549
2015-10-15Fix T46223: multiview image sequences crashing.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1549
2015-10-14Support for multi-sample sequencer GL renderCampbell Barton
OpenGL sequencer render now uses a single fbo for all rendering.
2015-10-12Add functions to compute normals (verts, polys and loops ones) for a given ↵Bastien Montagne
shapekey. Title says pretty much everything, we now have BKE and RNA funcs to get vertex, poly and loop normals of a given shapekey. This will be used e.g. in FBX exporter (shapekeys need normal data too). Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1510
2015-10-12Cleanup & rework of BLO_linking code.Bastien Montagne
This commits does mostly two things: * Get rid of bContext parameter: I can see no real good reason to pass such a high-level data to such low-level code... It also makes it more difficult to call when you do not have a context available. * Cleanup the instantiating part. Last point is the most risky - previous code was sometimes quite confusing and hard to follow, from tests nothing behaves differently in new code, but some hidden corner case may show up. Anyway, no change in behavior is expected from this commit, if it happens please file a bugreport!
2015-10-12Cleanup in BLO API: rename 'append' funcs to 'link', since none do append, ↵Bastien Montagne
but only linking of datablocks!
2015-10-12Fix T46446: texture nodes image node not working with image sequences.Brecht Van Lommel
2015-10-11BGE: Adding a Max Jumps value to the character physic windowThomas Szepe
Actually we only have a Python API that allows to change the max jumps value. The patch also allows non programmers to change the maximum numbers of jumps. Reviewers: panzergame, sybren, campbellbarton, lordloki, moguri, agoose77 Reviewed By: lordloki, moguri Projects: #game_engine Differential Revision: https://developer.blender.org/D1302
2015-10-11Fix warnings and remove casts by adding copy_vx_vx_uchar() functions.Brecht Van Lommel
2015-10-09Fix T46418: Constraints - influence other than 0 or 1 - bad results with ↵Bastien Montagne
non-homogeneous scaled matrices. Use new interp_m4_m4m4 instead of blend_m4_m4m4. Note that maybe we could replace other usages of blend_m... by interp_m..., but this should be investigated on a case-by-case basis.
2015-10-09Correct own error in editmesh bvhCampbell Barton
Flag mix-up and uninitialized var.
2015-10-09Fix leak creating 'empty' looptri bvh treeCampbell Barton
2015-10-08Fix compilation error with bullet disabledSergey Sharybin
2015-10-08Add logicbricks to ID looper.Bastien Montagne
2015-10-08Add rigidbodyworld to id looper.Bastien Montagne
2015-10-08Add id looper for particlesystem.Bastien Montagne
2015-10-08Add a bunch of missing IDs in ID looper...Bastien Montagne
2015-10-08Modifiers: add 'cd_flag' parameter to their ID looping callbacks, neededBastien Montagne
since some IDs (objects) are not 'refcounted' while others (textures) are... Partial merge from id-remap branch.
2015-10-08Fix T46236: NLA transition strips do not get resized when neighbouring ↵Joshua Leung
strips change Transition strips in the NLA should always stick to whatever strips are beside it, and are allowed to grow/shrink as needed to achieve this. Previously the code here was only checking if the neighbouring strips started encroaching on the transition, but not whether the transition needed to grow to fill a gap. It was also just moving all strips when there was insufficient space, even though that would alter timing down the track. Now transition strip resizing works as follows: * It will grow/shrink as necessary to absorb any changes in the length of its neighbours instead of shunting everything around to maintain its length * If the neighbour has been resized by an amount greater than the transition's length, all the strips will need to be shunted away to make way for the neighbour. In this case, the transition will shrink down to being 1 frame long to ensure that it is still visible (so that it can be removed if necessary).
2015-10-08Fix T46391: Sync Length in NLA is not working on all instances of clipJoshua Leung
2015-10-08Fix: "Tweak user" red-alert flag was not getting set on strips on active trackJoshua Leung
The "tweak user" flag used to flag strips using the same action as the active strip was not getting set on other strips that live on the same track as the active one. Strips with this flag set are shown with a red colour to indicate that editing the action may have the unintended consequence of modifying another strip.
2015-10-08Fix T46386: Duplicate fails updating driver linksCampbell Barton
Duplicate wasn't updating links, so duplicatinvg a objects would still point to the originals for curve-taper, texmesh, drivers. Use generic id-looper to handle replacing data.
2015-10-08Add USER flags to BKE_library_foreach_ID_linkCampbell Barton
This way callbacks can know if adjusting user-count is needed.
2015-10-08Add missing object-data ID loop pointerCampbell Barton
2015-10-08BKE_key: add BKE_key_from_id helper functionsCampbell Barton
2015-10-08Add missing object ID loop pointersCampbell Barton
2015-10-08BLI_path api, minor changes to CWD handlingCampbell Barton
- BLI_current_working_dir's return value must be checked, since it may fail. - BLI_current_working_dir now behaves like getcwd, where a too-small target will return failure. - avoid buffer overrun with BLI_path_cwd, by taking a maxlen arg.
2015-10-08Cleanup: typosCampbell Barton
2015-10-08Fix T46410: VSE Mask ignores animated propertiesCampbell Barton
2015-10-07Cleanup of BKE_library_foreach_ID_link.Bastien Montagne
This func is long enough, there's no real need to make it even longer with verbose local varnames and multi-line for loops... Also, avoid mono-leters names as well for data pointers.
2015-10-07Cleanup: spellingCampbell Barton
2015-10-07Fix mesh validate: 'r_changed' ignored loop editsCampbell Barton
2015-10-07Fix game-property use-after-free errorCampbell Barton
D1538 by @hal01
2015-10-06Cleanup: use BLI_path_basenameCampbell Barton
2015-10-06RNA: Add check_existing arg to other load() funcsCampbell Barton
Note: movieclip was doing this already by default, now split into 2 functions, matching image behavior.
2015-10-06Fix T46389: Shrinkwrap fails in editmodeCampbell Barton
Own regression caused by fix for T46067, edit-mode bvh only contained unselected faces. This commit adds support for an edit-mode bvh containing all faces.
2015-10-06Cleanup: only check paint mode for active objectsCampbell Barton
2015-10-06Fix T46385: Duplicate w/ vertex parent failsCampbell Barton
Depsgraph customdata flag was set on the parent, then cleared once the parent object was handled. This is initialized to zero for new nodes, no need to clear.
2015-10-05Cleanup: warningCampbell Barton