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
2018-06-17Cleanup: trailing space for blenkernelCampbell Barton
2018-06-17Cleanup: BLI path extension APICampbell Barton
Use BLI_path_extension_* prefix.
2018-06-16Fix T55427: Removing Vertex Group used by Data Transfer Modifier results in ↵Bastien Montagne
crash. Only fixing crash, proper handling (a.k.a remapping) of all possible cases here, for all possible data layers, is rather involved...
2018-06-15Cleanup: some more G.main removal/validation...Bastien Montagne
2018-06-15WM: 2.8 screen compatibilityCampbell Barton
Without these minor changes loading files from 2.8 will crash. Manually applied edits from 26786a2b87a08
2018-06-13Fix undo of transform after frame change undoing too much.Brecht Van Lommel
For grouped undo we should not skip the undo push, rather replace the previous undo push. This way undo goes back to the state after the last operation in the group.
2018-06-13Cleanup: get rid of last G.main in BMesh code.Bastien Montagne
2018-06-13Cleanup: moar ugly G.main removal...Bastien Montagne
Note that due to RNA get/setters issue, that one may actually add some G.main usages to the total... But at least it's not hidden anymore in a very low-level, dark corner of BKE pointcache code!
2018-06-13Cleanup: remove more G.main from BKE area.Bastien Montagne
2018-06-12Cleanup: moar G.main removal from BKE area.Bastien Montagne
2018-06-12Cleanup: BKE_scene_free should not have to worry about cleaning its usages.Bastien Montagne
This is supposed to be handled by calling code! Henceforce, no need to call BKE_sequencer_clear_scene_in_allseqs() here, and... no need for that ugly G.main case. ;)
2018-06-12WM: remove sloppy region type accessCampbell Barton
Avoid accidentally operating on the wrong region type.
2018-06-12WM: rename BKE_regiontype_from_idCampbell Barton
This returns the first as a fallback, causing confusing usage. Renamed and added a version of the function that doesn't.
2018-06-12Cleanup: moar removal of G.main in BKE area...Bastien Montagne
2018-06-12Cleanup/simplify G.main usages.Bastien Montagne
Using G.main only to get main bled filepath, or built-in fonts, is OK. So now using the 'valid' G_MAIN macro here instead.
2018-06-12Cleanup: remove moar G.main from BKE area.Bastien Montagne
2018-06-12Cleanup: remove some G.main from ED's animsys.Bastien Montagne
The easy ones - there some much, much trickier to tackle there...
2018-06-12Cleanup: remove some G.main from BKE area.Bastien Montagne
2018-06-11Cleanup: remove moar ugly G.main usages...Bastien Montagne
BKE_image was an ugly nest, could fix all but the ones from compositor, so moved ugly G.main there, at least we know where the Evil is that way ;)
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-11Cleanup: remove some G.main usages...Bastien Montagne
2018-06-11Cleanup: Use BLI_strncpySergey Sharybin
It has behavior which we expect, and silences strict compiler warning.
2018-06-09Cleanup: unused functionsCampbell Barton
2018-06-09Cleanup: remove some G.main usages.Bastien Montagne
2018-06-08Cleanup: getting rid of G.main.Bastien Montagne
Sometimes one needs a *lot* of changes for a single G.main... :/
2018-06-07Cleanup: typo, and 0 -> false for booleans.Bastien Montagne
2018-06-07Fix sculpt assert on initializationCampbell Barton
2018-06-06Fix error using freed bmainCampbell Barton
Regression in 481cdb08ed6f3
2018-06-05Cleanup: use new accessors to blendfile path (Main.name).Bastien Montagne
2018-06-05Cleanup: add hleper functions to get filepath from Main.Bastien Montagne
This helps making things clearer and cleaner. Func returning filepath of G.main is separate, so that we can easily track its usages, and hopefully deprecate it at some point. Though that usage of G.main is likely the less evil one, you nearly always want current blendfile path in those cases anyway.
2018-06-04Particle System: move data creation into RNA updateCampbell Barton
Relying on evaluation to initialize data causes issues w/ 2.8.
2018-06-02Cleanup: warningCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-05-31Cleanup: remove G.main from BKE mball code.Bastien Montagne
2018-05-31Cleanup: get rid of last G.main usages in BKE library code.Bastien Montagne
2018-05-31Cleanup: remove G.main from BKE modifier.Bastien Montagne
2018-05-31Cleanup: remove G.main from BKE objectBastien Montagne
Had to add some G.main to modifiers, but in 2.8 we do not need that anymore, so it's not that bad! ;)
2018-05-31Cleanup: nuke G.main out of BKE PackedFile code.Bastien Montagne
2018-05-29Cleanup: Get rid of G.main in BKE_material.Bastien Montagne
Note that in some cases, this only moves the G.main case to somne other places - in particular, RNA getters/setters are becoming annoying here...
2018-05-28Windows: Add support for building with clang.Ray Molenkamp
This commit contains the minimum to make clang build/work with blender, asan and ninja build support is forthcoming Things to note: 1) Builds and runs, and is able to pass all tests (except for the freestyle_stroke_material.blend test which was broken at that time for all platforms by the looks of it) 2) It's slightly faster than msvc when using cycles. (time in seconds, on an i7-3370) victor_cpu msvc:3099.51 clang:2796.43 pavillon_barcelona_cpu msvc:1872.05 clang:1827.72 koro_cpu msvc:1097.58 clang:1006.51 fishy_cat_cpu msvc:815.37 clang:722.2 classroom_cpu msvc:1705.39 clang:1575.43 bmw27_cpu msvc:552.38 clang:561.53 barbershop_interior_cpu msvc:2134.93 clang:1922.33 3) clang on windows uses a drop in replacement for the Microsoft cl.exe (takes some of the Microsoft parameters, but not all, and takes some of the clang parameters but not all) and uses ms headers + libraries + linker, so you still need visual studio installed and will use our existing vc14 svn libs. 4) X64 only currently, X86 builds but crashes on startup. 5) Tested with llvm/clang 6.0.0 6) Requires visual studio integration, available at https://github.com/LazyDodo/llvm-vs2017-integration 7) The Microsoft compiler spawns a few copies of cl in parallel to get faster build times, clang doesn't, so the build time is 3-4x slower than with msvc. 8) No openmp support yet. Have not looked at this much, the binary distribution of clang doesn't seem to include it on windows. 9) No ASAN support yet, some of the sanitizers can be made to work, but it was decided to leave support out of this commit. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3304
2018-05-27Cycles: Add Support for IES files as textures for light strengthLukas Stockner
This patch adds support for IES files, a file format that is commonly used to store the directional intensity distribution of light sources. The new IES node is supposed to be plugged into the Strength input of the Emission node of the lamp. Since people generating IES files do not really seem to care about the standard, the parser is flexible enough to accept all test files I have tried. Some common weirdnesses are distributing values over multiple lines that should go into one line, using commas instead of spaces as delimiters and adding various useless stuff at the end of the file. The user interface of the node is similar to the script node, the user can either select an internal Text or load a file. Internally, IES files are handled similar to Image textures: They are stored in slots by the LightManager and each unique IES is assigned to one slot. The local coordinate system of the lamp is used, so that the direction of the light can be changed. For UI reasons, it's usually best to add an area light, rotate it and then change its type, since especially the point light does not immediately show its local coordinate system in the viewport. Reviewers: #cycles, dingto, sergey, brecht Reviewed By: #cycles, dingto, brecht Subscribers: OgDEV, crazyrobinhood, secundar, cardboard, pisuke, intrah, swerner, micah_denn, harvester, gottfried, disnel, campbellbarton, duarteframos, Lapineige, brecht, juicyfruit, dingto, marek, rickyblender, bliblubli, lockal, sergey Differential Revision: https://developer.blender.org/D1543
2018-05-25Add number and memory size formatting throughout the UIDiego Gangl
This commit adds number formatting (thousands separator) to the baking panel. It also adds a new function to format memory sizes (KB/GB/etc) and applies it to the baking panel and scene stats. The new function is unit tested. Reviewers: Severin Tags: #user_interface Differential Revision: https://developer.blender.org/D1248
2018-05-15Fix T55032: Redo w/ file saved in edit-mode failedCampbell Barton
It's important edit-mode has a step stored for redo to work, file load now ensures this in a generic way.
2018-05-11Fix (unreported) broken freeing code for Sequencer.Bastien Montagne
Freeing sequencer would always do usercount, which is now forbidden when called from main ID freeing code. Annoying in 2.7x, much more critical issue in 2.8! Also, moved RNA sequencer API functions to proper rna_scene_api.c file.
2018-05-11Fix (unreported) load image code calling icin/preview update from non-Main ↵Bastien Montagne
thread. Icin/preview only works in main thread, while image loading can be done from others too... This could have generated random crashes and such.
2018-05-09Fix broken 'check/validate libs' code with indirect libs.Bastien Montagne
Readcode always set relative paths of indirectly linked libs relative to *current* .blend file, not to the library using it. But BKE_library_filepath_set was then setting them relative to their parent library, breaking checking code (and saved files even :((( ).
2018-05-09Fix T54992: Lattice modifier on another Lattice object does not take thePhilipp Oeser
Influence vertexgroup into account
2018-05-09Fix (unreported) bug in BVHTree 'free tessfaces' flag setting.Bastien Montagne
Could lead to atempt to free NULL pointer, and/or memory leak.
2018-05-08Cleanup: includesCampbell Barton
2018-05-08Cleanup: move mesh conversion into own functionCampbell Barton