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
2017-05-04Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-05-04Cycles Denoising: Move denoising properties to the Cycles addon and improve ↵Lukas Stockner
the UI
2017-05-04Fix use after free of new render layer ID properites after copying sceneSergey Sharybin
2017-05-04Fix memory leak of ID properties after recent render passes commitSergey Sharybin
2017-05-03Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-05-03Fix error in node flag checkCampbell Barton
2017-05-03"Fix" root cause of T51260 Forward compatibility crash fter adding new ↵Bastien Montagne
IDProp type. We unfortunately cannot fix this for previous versions of Blender, but at least the issue (Blender crashing on unknown IDProp types) should now be addressed for future. Simply reset unknown IDProp types to integer one, and reset its value to zero.
2017-05-03Render API/Cycles: Identify Render Passes by their name instead of a type flagLukas Stockner
Previously, every RenderPass would have a bitfield that specified its type. That limits the number of passes to 32, which was reached a while ago. However, most of the code already supported arbitrary RenderPasses since they were also used to store Multilayer EXR images. Therefore, this commit completely removes the passflag from RenderPass and changes all code to use the unique pass name for identification. Since Blender Internal relies on hardcoded passes and to preserve compatibility, 32 pass names are reserved for the old hardcoded passes. To support these arbitrary passes, the Render Result compositor node now adds dynamic sockets. For compatibility, the old hardcoded sockets are always stored and just hidden when the corresponding pass isn't available. To use these changes, the Render Engine API now includes a function that allows render engines to add arbitrary passes to the render result. To be able to add options for these passes, addons can now add their own properties to SceneRenderLayers. To keep the compositor input node updated, render engine plugins have to implement a callback that registers all the passes that will be generated. From a user perspective, nothing should change with this commit. Differential Revision: https://developer.blender.org/D2443 Differential Revision: https://developer.blender.org/D2444
2017-05-02BGE: Fix silly typo that invalidates negative scaling camera feature.Benoit Bolsee
Negative scale on camera is a nice trick to invert render image on one axis at no extra CPU cost. It was implemented in the Decklink branch but I introduced a typo when porting it to master. It is now fixed.
2017-05-02Revert "Depsgraph: Link from material to object shading"Sergey Sharybin
The change was initially needed for Blender 2.8 branch but the actual function was reverted in there. So no reason to keep dead unused placeholder in the dependency graph. This reverts commit fd69ba225540cde5e4c1fa651fb02df21ea0a143.
2017-05-02Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-04-29Cleanup: comment blocksCampbell Barton
2017-04-29View3D: support both orbit select & depthCampbell Barton
When using both preferences, use cursor depth when nothings selected.
2017-04-29Curve Fitting: minor change to re-fitting methodCampbell Barton
Avoid calculating a new split-index when re-fitting. While checking if a knot can be removed, the index with the highest error can be used as a candidate to replace the knot (in the case it can't be removed).
2017-04-29Cleanup: unused includesCampbell Barton
2017-04-29Implementation of custom python entries in all right click menusThomas Beck
Hi Guys, as one of my clients needs the possibility to have custom menu entries in the general right click menu (all over Blender: in the node editor, properties, toolbars,..) I talked with Campbell about expanding our hard coded menu a bit. This is the outcome. As I only need those two, I support currently a button_prop and a button_pointer. {F540397} I tested the changes with a custom script where I added a custom entry and executed an operator on click - it seems to work exactly how it's intended to. The script: {F540435} As I'm not too experienced in rna stuff I would really appreciate any review. Thanks very much Campbell for his open ears & help on this issue! Reviewers: campbellbarton, mont29 Reviewed By: campbellbarton, mont29 Subscribers: sybren, mont29 Tags: #addons Differential Revision: https://developer.blender.org/D2612
2017-04-28Fix T51324: Auto-Depth fails rotating out of cameraCampbell Barton
2017-04-28Alembic: use object-oriented approach in ABC_read_mesh()Sybren A. Stüvel
This is easier to extend than the if/else if/else chain that was in place, and allows for somewhat more granular error messages.
2017-04-28Alembic: Construct ISampleSelector once and pass alongSybren A. Stüvel
2017-04-27Fix: T50271: Bilateral/Directional blur's iterations is zero by defaultbrunoT
Differential Revision: https://developer.blender.org/D2632
2017-04-27Revert "Fix T51328: Add note to cmdline help that threads must be first"Campbell Barton
The help message already notes that argument order matters, and this doesn't need to be the first.
2017-04-27Cleanup: remove unused matrix argCampbell Barton
2017-04-27Fix T51328: Add note to cmdline help that threads must be firstAaron Carlisle
2017-04-26Fix race condition invalidating object data's bounding boxSergey Sharybin
2017-04-26Ensure task scheduler exists before any threading starts in BlenderSergey Sharybin
2017-04-26Avoid race condition copying Scene for off-thread OpenGL image saveSergey Sharybin
2017-04-26Threading: Remove thread lock which seems uselessSergey Sharybin
Render data is never guarded by image drawe lock.
2017-04-26Move depth select loop into its own functionCampbell Barton
Useful for splitting out draw logic in 2.8x
2017-04-26Alembic export: support simple child hairs (Fix T51144)Sybren A. Stüvel
Simple child hairs don't have a face index number assigned, so the call to dm->getTessFaceData(dm, num, CD_MFACE) would cause a crash. To work around this, UV and normal vectors are copied from the parent hair. I've also removed an unnecessary call to dm->getTessFaceArray(dm); Reviewers: kevindietrich Differential Revision: https://developer.blender.org/D2638
2017-04-26Alembic: fixed indentationSybren A. Stüvel
2017-04-26Alembic: fixed memory leaksSybren A. Stüvel
2017-04-26Alembic: fixed refcount issue when duplicating imported objectsSybren A. Stüvel
Duplicating an imported object didn't increment the cache reader's refcount, whereas removing the duplicate did decrement it. This caused problems.
2017-04-26Fix T51280: Alembic: Crash when removing cache modifierSybren A. Stüvel
The calls to id_us_plus/min were unnecessary (and caused assertion failures) as this is already taken care of by transformcache_id_looper().
2017-04-26Avoid platform dependant PATH_MAXCampbell Barton
2017-04-26Alembic export: also export emptiesSybren A. Stüvel
Exporting an empty creates an Alembic XForm object. The empties can also be animated.
2017-04-26Alembic export: renamed func object_is_shape → object_type_is_exportableSybren A. Stüvel
The function doesn't return whether the object is a shape at all, since it also returns true for camera objects (and soon also for empties). It returns true when objects of this type can be exported to Alembic at all. This is now reflected in the name.
2017-04-26Alembic: shortened CacheFile.filepath to 1024 bytes againSybren A. Stüvel
As per discussion on 3128600a8ab2badd9ea39c80133f15f766794ec6
2017-04-26Alembic: fixed C++98 compatibilitySybren A. Stüvel
2017-04-25Fix T51292: Alembic import, show notification when trying to load HDF5Sybren A. Stüvel
HDF5 Alembic files are not officially supported by Blender. With this commit, the HDF5 format is detected even when Blender is compiled without HDF5 support, and the user is given an explanatory error message (rather than the generic "Could not open Alembic archive for reading".
2017-04-25Fix T51262: Blender CRASH with alembic fileSybren A. Stüvel
Also added a unit test for exporting & importing very long names.
2017-04-25Revert "Alembic: Construct ISampleSelector once and pass along"Sybren A. Stüvel
This reverts commit 099816587a0e064fb6a52c82a737ae8814cf21df. It had some unforseen side-effects that should be investigated first.
2017-04-25Fix T51284: Mesh not skinnedSybren A. Stüvel
2017-04-25WM: don't search for app-template when its emptyCampbell Barton
Changing from a loaded app-template back to Default (none set) would scan paths for a file with no name. Harmless but silly.
2017-04-24Merge remote-tracking branch 'origin/master' into temp-cycles-denoisingLukas Stockner
2017-04-24Cycles Denoising: Merge all the changes from the version that's being reviewedLukas Stockner
No functional changes.
2017-04-24Cleanup: remove unnecessary texface checksCampbell Barton
2017-04-24Cleanup: styleCampbell Barton
2017-04-24Add C internal version of msgfmt (similar to makesrna/dna binaries).Bastien Montagne
Fixes performance issues of C++ one with Windows MSVC debug builds... Merely a translation from msgfmt.cc code by @sergey, using BLI libs intead of C++'s stdlib. Reviewers: sergey, campbellbarton, LazyDodo Subscribers: sergey Differential Revision: https://developer.blender.org/D2605
2017-04-24BLI_dynstr: add memarena-based version, and helper to clear without freeing.Bastien Montagne
2017-04-21Matrix.decompose(): changed terminology, "location" → "translation"Sybren A. Stüvel
Matrix.decompose() should either return "location, orientation, size" or "translation, rotation, scale". Since there are constructors for the former, I've replaced "location" in the documentation with "translation". The code is still the same, I just changed the documentation.