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-06-14Make whole ID copying code use const source pointer.Bastien Montagne
Noisy change, but safe, and better do it sooner than later if we are to rework copying code. Also, previous commit shows this *is* useful to catch some mistakes.
2017-06-14Fix three obvious mistakes in brush/mask/cachefile ID copying.Bastien Montagne
They were modifying some source ID prop, instead of copied version of it... Found while making all source of ID copying const. ;)
2017-06-14Depsgraph: Cleanup, indentationSergey Sharybin
2017-06-14Remove unused bmain argument from BKE_libblock_free_dataSergey Sharybin
2017-06-14Cleanup: Indentation got broken in previous commitSergey Sharybin
2017-06-14Add utility function to free memory used by a datablockSergey Sharybin
This function is similar to BKE_libblock_free but does no DEG tagging or any extra things, just operates on memory.
2017-06-14Depsgraph: Remove unused ID node removalSergey Sharybin
2017-06-14Fix buffer read error w/ 2 pass select queriesCampbell Barton
Also don't do second pass when the first has no hits.
2017-06-13Add utility function to get size of given ID typeSergey Sharybin
Optionally it'll also give name used for memory allocation.
2017-06-13Depsgraph: Pass function bindings by const referenceSergey Sharybin
Avoids using copy-constructor invoked every time we pass function to the builder functions. Should lower number of CPU ticks spent during DEG construction.
2017-06-13Depsgraph: Remove root node conceptSergey Sharybin
Was rather weird and only used for time source. It is simpler to make depsgraph to keep track of time source directly. No need to introduce extra entitites without actual need.
2017-06-12Depsgraph: Remove residue from partial updates supportSergey Sharybin
2017-06-12Depsgraph: Use depsgraph from handle rather than from sceneSergey Sharybin
This way the code is more decoupled from the way where depsgraph is stored.
2017-06-12Depsgraph: Add utility function to get depsgraph from node handleSergey Sharybin
The idea is to use this function for modifiers' updateDepsgraph functions instead of doing direct scene->depsgraph access.
2017-06-12Depsgraph: Remove outdated commentSergey Sharybin
2017-06-12Cleanup: indentation, long linesCampbell Barton
2017-06-11Use two decimal places for UI scale User Preference optionJulian Eisel
2017-06-11BLI_kdopbvh: add ifdef's for debugging infoCampbell Barton
Allow to quickly enable print & tree verify.
2017-06-10UI: Replace placeholder icons in object-add menuJulian Eisel
Replaces the placeholder 'emtpy' icons of "Force Field" and "Group Instance" entries in object-add menu with proper new ones. Icons by @zlsa, thanks a lot! Maniphest task T51291.
2017-06-09Cleanup: get rid of some now unused animdata ID management custom functions.Bastien Montagne
That's the kind of commit that are nice to do - getting rid of half-working custom pieces of code, now that we have generic tools to do same thing. ;)
2017-06-09Fix crash when making local object+obdata with linked armature.Bastien Montagne
Reported by Andy Goralczyk (@eyecandy) over IRC, thanks! Simply nuke all that poor broken custom one-by-one handling in object_relations.c code, and use highly complex but powerful and well-tested BKE_library_make_local() in all cases of MakeLocal! ID management, especially related to linking, is very hairy matters, better to have as few as possible core functions managing all the dirty details. ;)
2017-06-09Math Lib: Add mat3_from_axis_conversion_singleCampbell Barton
Single axis version of mat3_from_axis_conversion, when the second axis isn't important (orienting an arrow for eg).
2017-06-09Fix T51756: Fix crash when transforming vertices in edit modeSergey Sharybin
The issue was caused by under-allocation of UV islands calculation.
2017-06-09Fix T51648: Inconsistent edge collapse point depending on orientationLuca Rood
Edge collapse was using bounding box center as the point to collapse to. When collapsing multiple adjacent edges together, this caused inconsistencies in placement of the collapsed point, depending on the orientation of the edges in relation to the space axis. This makes edge collapse use the mean point instead.
2017-06-09Fix for fix for bplayer (c) :/Bastien Montagne
2017-06-09Fix bplayer building (c)Bastien Montagne
2017-06-09RNA: remove static strings from registrationCampbell Barton
* Static strings aren't needed anymore, use stack memory. * Fix obscure leak on failed macro registration. * Use prefix for wrappers exported from bpy module.
2017-06-08Cleanup: cmake indentation, missing includeCampbell Barton
2017-06-08Fix T51733: 3d print toolbox checks report false positives.Bastien Montagne
Colinear vertices in a same face would not be handled correctly.
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