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-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-06-18Fix T51840: UI redraw in node editor header missing on pointcache bakeThomas Beck
Missing a notifier handler in the node editor
2017-06-18Fix unreported: Copy-pasting nodes crashes when they have an undefined typeLukas Stockner
2017-06-17Add Cone: tip soft-min should be zeroCampbell Barton
Default value should be included in range.
2017-06-16Usual i18n/UI messages fixes.Bastien Montagne
Please do not add useless tooltips! We have enough messages to translate already...
2017-06-15Math Lib: add angle_on_axis_v3v3_v3Campbell Barton
Use for calculating the angle between 2 directions on an axis. Also signed version and normalized plane projection, use when input is normalized.
2017-06-15Fix/workaround 'convert object' messing up linked data.Bastien Montagne
'Convert To...' Object operation has very weird effect of actually working at obdata level, not object level, which means *all* objects (even unselected/hidden/in other scenes/...) using same obdata will be converted to new selected type. IMHO this is very bad behavior, but... not a bug really, so do not change this for now. But at least, do not do that when working on some linked data, else it leaves Blend file in invalid (incoherent) state until next reload. So workaround for now is to enforce the 'Keep Original' option when some linked object/obdata is affected by the operation. Also fixed somewhat broken usercount handling in Curve->Mesh part.
2017-06-15Cleanup: make Group Unlink outliner action use `BKE_libblock_delete() too.Bastien Montagne
Same as in rB2bd51474a44...
2017-06-15Cleanup: remove useless call to `BKE_screen_free()` in screen deletion.Bastien Montagne
`BKE_libblock_free()` will call it itself.
2017-06-15Fix dangerous code when deleting Scene.Bastien Montagne
That one was probably not an actual issue, except maybe in some corner cases (like deleting a linked scene also used by some other linked scene). Again, better not try to do smart & complex freeing logic outside of BKE_library area, let's keep spaghetti nitghmare in a single place!
2017-06-15Cleanup: make Group Unlink operator use BKE_libblock_delete(), since that's ↵Bastien Montagne
what it is doing. Previous code (same as what `BKE_libblock_free_us()` is doing when usercount reach 0) was probably OK in that specific case, but still not good idea, and potentially risky.
2017-06-15Further improvements of text editor for POV-RayBastien Montagne
*tryed "#" as preprocessor used in POV-Ray for language keywords best behaviour was to have it as a punctuation symbol *moved "finish" to its proper category *changed order of some POV-Ray ini files keywords to have them work better *added a few keywords from latest pov version *Fixed C-style closing of multiline comments (*/) Reviewers: campbellbarton, mont29 Reviewed By: campbellbarton, mont29 Subscribers: mont29 Differential Revision: https://developer.blender.org/D2707
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-12Cleanup: indentation, long linesCampbell Barton
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-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-09Fix T51756: Fix crash when transforming vertices in edit modeSergey Sharybin
The issue was caused by under-allocation of UV islands calculation.
2017-06-08Cleanup: cmake indentation, missing includeCampbell Barton
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-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-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-31Fix T51661: Swaping strips does not refresh sequencerSergey 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-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: 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.
2017-05-30Fix UI message (no points and no phrases in tooltips please!).Bastien Montagne
2017-05-29Background Fit could set inf zoomCampbell Barton
2017-05-29Fix T51625: fix impossibility to delete uninstantiated objects from Outliner.Bastien Montagne
The fact that we can end with uninstantiated objects is not expected currently, but would rather not start chasing all corner cases that may lead to that situation. User shall be able to delete uninstantiated objects from Outliner, though!
2017-05-29Fix T51624: Scene Full Copy ignores shader node links.Bastien Montagne
Properly remap nodes' pointers to copied IDs in copied ntrees. Note that this only affects root trees, node groups are not concerned here, since they are assumed to be reusable chunks and hence *not* duplicated.
2017-05-29UI: Make GP "Add Blank Frame" operator name and description fit its behavior.Thomas Beck
The operator is indeed not adding frames but inserting them at the current frame (shifting all subsequent ones). Changed the operator name and description. Approved by Antonio.
2017-05-27Remove MinGW supportAaron Carlisle
The Issue ======= For a long time now MinGW has been unsupported and unmaintained and at this point, it looks like something that we should just leave behind and move on. Why Remove ========== One of the big motivations for MinGW back in the day is that it was free compared to MSVC which was licensed based. However, now that this is no longer true we have basically stopped updating the need CMake files. Along with the CMake files, there are several patches to the extern libs needed to make this work. For example, see: https://developer.blender.org/diffusion/B/browse/master/extern/carve/patches/mingw_w64.patch If we wanted to keep MinGW then we would need to make more custom patches to the external libs and this is not something our platform maintainers are willing to do. For example, here is the patches needed to build python: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 Fixes T51301 Differential Revision: https://developer.blender.org/D2648
2017-05-27Fix T51637: Mesh Tools - Noise Button Crashes.Bastien Montagne
Logic behind which mtext to use from material was broken here... Though ultimately that whole tool could probably be deprecated or reworked!
2017-05-26Fix GPencil depth checksCampbell Barton
Regression in 195d0fba
2017-05-26Fix T51629: Select w/ object lock failsCampbell Barton
Regression in 195d0fba
2017-05-26Cleanup: warningCampbell Barton
2017-05-23Add PovRay file extensions to our 'textual' file filtering.Bastien Montagne
2017-05-23Fix some POV keywords not colored correctly.Bastien Montagne
We need to ensure longer keywords are catched first, when there are shorter subsets of them in keywords list as well!
2017-05-23Make msvc2015 happy again.Bastien Montagne
Looks like that wanabe compiler does not support more than a few tens of if/else conditions...
2017-05-22Add PovRay syntax hilghting.Bastien Montagne
Since we already have a rather advanced PovRay exporter, makes sense to also nicely display generated 'code'. Patch by Maurice Raybaud (@mauriceraybaud), thanks! Cleanup (mostly styling) by @mont29.
2017-05-22Fix T51308: Bright/Contrast Doesn't respect Pre-multiplied AlphaSergey Sharybin
Brightness/contrast node was changing color but did not modify alpha or ensured colors are premultiplied on the output. This was giving artifacts later on unless alpha was manually converted. Compositor is supposed to work in premultiplied alpha (except of some really corner cases) so it makes sense to ensure premultiplied alpha after brightness/contrast node. This is now done as an option enabled by default, so we: (a) Keep compatibility with old files. (b) Have correct behavior for newly created files. Later on we can get rid of this option.
2017-05-22Enhance vgroup handling when merging meshes.Bastien Montagne
We were looping over all vgroups in destination mesh and making string comparison, for every vgroup of every vertex of merged mesh! Crazy! Now we simply create a temp mapping of vgroup indices, seriously simplifies things (and gives significant speedup when merging huge meshes with lots of vgroups, here with quick stupid test went from 120ms in vgroup merging to less than 5ms, 25 times quicker!).
2017-05-22Fix T51169: Push/pull fails w/ local lock axisCampbell Barton
2017-05-22Fix T51336: Crash on broken file opening.Bastien Montagne
`screen_findedge()` is not expected to return NULL in that case, but checking against that does not hurt (we do it in all its other call cases anyway), better than crashing.