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
2017-06-08Simplify Array modifier 'relative offset' handling.Bastien Montagne
Was looping three times over the source mesh's vertices to get min/max along all three axes... Nothing critical, but still!
2017-06-07Fix: GP Clone brush was not correcting color references for pasted strokes ↵Joshua Leung
either
2017-06-07Fix: Pasting GP strokes files between files (or when the original colors ↵Joshua Leung
were deleted) would crash The problem was that the strokes in the copy-paste buffer could be keeping dangling pointers to colors that were already freed. Therefore, this commit makes it so that when copying the strokes, we now make copies of the colors and put them in a hashtable beside the stroke buffer. This is convenient, as it saves us having to look up what colours need to be copied over each time when pasting.
2017-06-07GP Copy/Paste Fix: Paste button doesn't update after copying strokes using ↵Joshua Leung
Ctrl-C
2017-06-07GPencil Copy/Paste Fix: Copying/Pasting strokes between datablocks would crashJoshua Leung
The problem was that newly pasted strokes were still using colours from the original datablock. As a result, you'd either get an immediate crash, or if you managed to save the file before it crashed, each stroke would get reloaded with a dummy colour. This commit fixes makes it possible to copy/paste strokes between datablocks again. However, there are still problems when trying to paste across file boundaries (i.e. copy strokes in one file, paste in another), which the next commit will address.
2017-06-07Bevel Op (internal and API) now returns new edges and verts as well asHoward Trickey
faces. This was requested by script writers. Especially needed if beveling wire edges with vertex_only. Should be backward compatible as just adds two new keys to returned dict in python ('edges' and 'verts').
2017-06-07Depsgraph: Remove modifiers operation codeSergey Sharybin
Was internally a no-op operation, which only caused extra work to be done during depsgrpah traversal and evaluation, without making any measurable improvement.
2017-06-07Depsgraph: Remove unused operation codesSergey Sharybin
2017-06-07Depsgraph: Remove dead/unused operation codesSergey Sharybin
2017-06-07Report OpenSubdiv version Blender is compiled againstSergey Sharybin
2017-06-07gcc5 has issues with WconversionDalai Felinto
This leads to a crash in 2.8, but commiting here. Patch by Campbell Barton.
2017-06-06Depsgraph: Only use extern "C" when really neededSergey Sharybin
2017-06-06BLI: Use C++ guards for stack headerSergey Sharybin
This is handy to have C++ guards for BLI functions so they can be easily re-used in C++ code. This matches other headers from this library as well.
2017-06-05PyAPI: is_staticmethod used for classmethods's tooCampbell Barton
Add note to investigate this, don't change so close to release.
2017-06-05PyAPI: correct exception, expect 'staticmethod'Campbell Barton
2017-06-04Fix T51587: Blender fails to interpret a specific layer in OpenEXR ↵Lukas Stockner
multilayer file
2017-06-02Fix T51691: Shear cursor input scales w/ zoomCampbell Barton
Use relative value from cursor movement.
2017-06-02Cleanup: styleCampbell Barton
2017-06-01Remove comment (missed last commit)Campbell Barton
2017-06-01Fix T51651: translate w/ individual origins failsCampbell Barton
Regression in fix for T46892
2017-06-01Depsgraph: Cleanup, line wraps after shortening APISergey Sharybin
2017-06-01Depsgraph: Remove operation types enumSergey Sharybin
Was only used to indicate entry/exit operation of component, which is now done explicitly. No reason to keep something which is unused and confusing.
2017-06-01Depsgraph: use explicit marking of component entry/exit operationsSergey Sharybin
This isn't used too often, and haivng such API will let us to skip specifying operation type for all oeprations.
2017-06-01Depsgraph: Cleanup, use DEG_NODE_CLASS prefix for node classesSergey Sharybin
2017-06-01Depsgraph: Cleanup, use DEG_NODE_TYPE prefix for depsgraph node typesSergey Sharybin
2017-06-01Depsgraph: Remove unused argument from time source querySergey Sharybin
2017-06-01Depsgraph: Remove subgraph nodesSergey Sharybin
Those were never finished nor used. Again, starting from clean state before we go into more complicated details.
2017-06-01Depsgraph: Remove dead codeSergey Sharybin
Was never used or worked on in ages, if any of this code is needed in the future it'll need to be redone anyway.
2017-06-01Depsgraph: Remove dead code from add_time_source()Sergey Sharybin
This was never finished or done or used, no reason to keep it. Better to simplify things before adding complexity of overrides and copy-on-write.
2017-06-01Depsgraph: Cleanup, get rid of relation typeSergey Sharybin
It was never actually used apart from being stored at a construciton time. This caused some redundancy and ncertanty about which relation type to use during construciton (often existing types were not close enough to particular use case).
2017-06-01Fix T51687: GPUmat evaluation of shader tree would crash uppon ↵Bastien Montagne
unknown/unsupported socket types. Made this resilient to unknown types, for now. Supporting specific INT sockets (through implicit conversion to GPU_FLOAT ones) is considered nice TODO.
2017-06-01Fix bad index use drawing deformed face centersCampbell Barton
2017-05-31Fix bad handling of 'extra' user for groups at their creation.Bastien Montagne
Was just keeping the default '1' user from `BKE_libblock_alloc()`, instead of using correct way to handle extra virtual user needed when we want to keep unused datablocks around...
2017-05-31Fix T51680: 'Delete Group' from Group view of Outliner does not work.Bastien Montagne
Do not call invoke ops from outliner's operations menus. Invoke op would search again for item under mouse coordinates... when it is invoked! Means often entry menu you would have clicked would not be over target item, leading to either nothing or operation being applied to wrong item. Note: about groups, there is another minor annoyance leading to some assert - groups have an annoying virtual fake user which breaks usercount, will see whether this is easily fixable. :|
2017-05-31Task scheduler: Optimize subsequent pushing bunch of tasksSergey Sharybin
The idea is to accumulate all new tasks in a thread local queue first without doing any thread synchronization (aka, locks and conditional variables) and move those tasks to a scheduler queue once they are all ready. This way we avoid per-task-pool lock and only have one lock per bunch of tasks. This is particularly handy when scheduling new dependency graph node children. Brings FPS of cached simulation from the linked below file from ~30 to ~50. See documentation for BLI_task_pool_delayed_push_{begin, end} and for TaskThreadLocalStorage::do_delayed_push. Fixes T50027: Rigidbody playback and simulation performance regression with new depsgraph Thanks Bastien for the review!
2017-05-31Cleanup: Easier to read constant nameSergey Sharybin
2017-05-31Fix T51661: Swaping strips does not refresh sequencerSergey Sharybin
2017-05-31Cleanup: Use more clear parenthesisSergey Sharybin
2017-05-30Fix T49570: Cycles baking can't handle materials with no imagesDalai Felinto
If users wanted to bake only a few of the mesh materials, they would still need to create dummy textures for the other parts. This commit report (as RPT_INFO) the materials with no texture, but move on to bake the others materials.
2017-05-30Baking: Add logic to get material from API regardless of Mesh/Object ownershipDalai Felinto
2017-05-30Depsgraph: Fix missing relations for objects which are indirectly linkedSergey Sharybin
This is a corresponding part of 7dda3cf.
2017-05-30Depsgraph: Remove extra modifiers callback loopSergey Sharybin
Seems to be a copy-paste error from code above.
2017-05-30Displace modifier: Pre-fetch all possible images to image pool prior executionSergey Sharybin
This way we reduce amount of time wasted in spin-lock later on when all threads are starting to sample texture.
2017-05-30Image pool: Use memory pool for allocating elementsSergey Sharybin
Reduces amount of system-wide allocation calls. Will be mainly visible when using lots of images in texture nodes or regular BI rendering.
2017-05-30Depsgraph: Fix object being tagged for data update when it shouldn'tSergey Sharybin
2017-05-30Depsgraph: Add missing update tag clear for proxy objectsSergey Sharybin
This was causing proxies updates on every frame, even if they do not really change. Additionally, it was causing second round of armature update when used from inside dupligroup (viewport ensures all objects from dupligroup are up to date before draw).
2017-05-30Alembic import: fixed bug interpolating between frames.Sybren A. Stüvel
2017-05-30Alembic: simplified sub-frame samplingSybren A. Stüvel
It's now less confusing (for example, using nr_of_samples directly, instead of using 1 / 1 / nr_of_samples). Might also have fixed a bug. Also added unittests.
2017-05-30Alembic export: normalise the homogeneous component after scalingSybren A. Stüvel
The scale matrix must have its homogeneous 'w' (at mat[3][3]) set to the scale in order to also scale the translations along with it. However, this also scales the transform matrix's 'w' component, which is not supposed to happen.
2017-05-30Alembic export: make the start/end frame default values less reasonableSybren A. Stüvel
The old default values (start/end frame = 1) could have been an actually desired setting (for example when exporting a non-animated model). To make this worse, this was only interpreted as "start/end of the scene" by the export operator when running interactively, but not when run from Python. By choosing INT_MIN as default it's highly unlikely that the interval [start, end) was intended as actual export range.