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
2016-09-01OpenSubdiv: Fix missing object ORCO when Subsurf uses OpenSubdiv but ↵Sergey Sharybin
disabled fore viewport
2016-09-01Cleanup: Reduce amount of misleading indentationSergey Sharybin
Was polluting compile output too much.
2016-08-31Fix T49175: GLSL material crash with environment maps.Brecht Van Lommel
2016-08-31Fix T49210: Issue with User Count on Images in some shader nodetrees when ↵Bastien Montagne
rendering previews Our usercount handling was really... infuriating :| Here, localization (i.e. 'shalow' copy that should not touch to usercounts) was incrementing usercounts of the sole Textures IDs of lamps and worlds (on the weak and fallacious pretext that related BKE_free... functions would decrement those counts)... Seriously... So now, localize funcs do not increment any usercount anymore (since matching BKE_free... ones do not decrement any either), and we do not call anymore that stupid unlink when freeing temp localized copies of lamps/materials at end of preview generation. Note that we probably still have a lot to do to cleanup that copy/localize code, pretty sure we can dedpulicate a lot more.
2016-08-31[Windows] Add support for code signing the final binaries.lazydodo
The option is controlled with the WITH_WINDOWS_CODESIGN option and needs: - Signtool must be found on the system, the standard windows sdk folders will be searched for it. - The path to the pfx file (WINDOWS_CODESIGN_PFX) - The password for the pfx , this can either be set by the WINDOWS_CODESIGN_PFX_PASSWORD variable but given that ends up in CMakeCache.txt (which might be undesirable) there is a backup option of setting the PFXPASSWORD environment variable on the system. Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Tags: #bf_blender, #platform:_windows Differential Revision: https://developer.blender.org/D2182
2016-08-31Cycles: don't crash if OSLRenderServices::osl_ts is unsetMai Lavelle
2016-08-30Correct render pass identifier usage in toolitpsAaron Carlisle
2016-08-30Fix stupid mistake in previous commit 'cleanup' part.Bastien Montagne
Thanks to sergey for spotting it.
2016-08-30Fix bad usercount handling of materials in BKE_mesh_new_from_object().Bastien Montagne
Curves and meshes (when no modifier application required) would increase their material usercount twice. Not sure how/why it worked in previous code, but with new, stricter ID handling we need more careful check of ID 'ownership' handling. Reported by Sergey over IRC, thanks.
2016-08-30Cycles: Fix calculation of normals for subdivision meshesMai Lavelle
Not sure what happened here. Will have only effected Cycles standalone with linear subdivision in use.
2016-08-30Fix type mismatch causing the buffer overflow in D810Alexander Romanov
2016-08-30Fix T49201: Mesh with OpenSubdiv subsurf and a texture disappears in ↵Sergey Sharybin
Material viewport mode
2016-08-30Fix T49187: inconsistent Normal Map node output for backfacing polygons.Alexander Gavrilov
There basically are two issues here: in smooth mode (and all non-tangent normal map types) it doesn't invert the normal for backfacing polys; on the other hand for flat shaded tangent type it is inverted too soon. This fix does a brute force correction by checking the backfacing flag. Reviewers: #cycles, brecht Reviewed By: #cycles, brecht Differential Revision: https://developer.blender.org/D2181
2016-08-30Fix node editor to display node group names in the bottom left corner.Alexander Gavrilov
Currently it pointlessly repeats the material name there, separated by slashes. That obviously should display the nested group path instead.
2016-08-30Usual i18n/UI messages fixes...Bastien Montagne
2016-08-30Fix T49158: Take II, some more untranslated UI messages...Bastien Montagne
2016-08-30Cleanup: IndentationSergey Sharybin
2016-08-29GPencil: Fix segment fault when undoAntonioya
When undo in UV/Image editor and press ESC key, there was segment fault in Toolsettings because the reference was missing. Now the toolsetting is loaded from context and not from local operator data.
2016-08-29GPencil: Replace strcpy by BLI_strncpyAntonioya
2016-08-29Fix T49196lazydodo
2016-08-29Cleanup/refactor spacefile's 'check dir' code.Bastien Montagne
Was kinda split in two different places (one allowed to modify given path to always get a valid one, the other only checking for validity of given path), not nice - and broken in asset branch case. So rather extended a bit FileList->checkdirf to handle both cases (modifying and non-modifying path).
2016-08-29Fix for Bevel segments bug T49183; but doesn't fix whole report yet.Howard Trickey
2016-08-29Fix T49181: Movie clip animation lost when invoking action which reloads the ↵Sergey Sharybin
clip Was a bug since the very beginning of movie clip animation support which was done on Feb 2012.
2016-08-29Movie clip: Add missing animation data RNA declarationSergey Sharybin
Was missing since the beginning of the days.
2016-08-29Fix T49172: mixdown sound op not exporting full lengthJörg Müller
Thanks Flavio Perez for the fix.
2016-08-29Fix compilation error caused by wrong array initializationSergey Sharybin
We usually don't silence migh-be-uninitialized warning (which is the only thing which could explain setting matrix to all zeroes) so we can catch such errors when using tools like Valgrind. I don't get warning here and the initializer was wrong, so removing it. If it-s _REALLY_ needed please do a proper initialization.
2016-08-29GPencil UI: Move the "quick toggles" for colors into their own row below the ↵Joshua Leung
list Previously, they were in a column alongside the list, but because the lists were rarely that long, there would always be a large gap left below the list.
2016-08-29Fix: Some settings (e.g. "volumetric strokes") from old files were not ↵Joshua Leung
getting correctly ported to GPv2
2016-08-29Code Cleanup: Fixes for some issues noticed during previous fixJoshua Leung
2016-08-29Fix: GPencil Paste couldn't be used to paste strokes from one datablock to ↵Joshua Leung
another This was because the poll callback was checking for the presence of an active layer. If you just create an empty datablock and try to paste, nothing would happen. However, this check was kindof redundant anyway, as the operator would add a layer for you if it didn't find one.
2016-08-29Small optimisation: Only calculate the inverse_diff_mat once per stroke ↵Joshua Leung
instead of for every point (Later this calculation should be moved into the iteration macro instead, since it only needs to be applied once per layer along with the diff_mat calculation)
2016-08-29GPencil: "Reproject Strokes" operatorJoshua Leung
A common problem encountered by artists was that they would accidentally move the 3D cursor while drawing, causing their strokes to end up in weird places in 3D space when viewing the drawing again from other perspectives. This operator helps fix up this mess by taking the selected strokes, projecting them to screenspace, and then back to 3D space again. As a result, it should be as if you had directly drawn the whole thing again, but from the current viewpoint instead. Unfortunately, if there was originally some depth information present (i.e. you already started reshaping the sketch in 3D), then that will get lost during this process. But so far, my tests indicate that this seems to work well enough.
2016-08-29GPencil: Include basic brush settings in "Grease Pencil Settings" panel for ↵Joshua Leung
2D Editors After the GP v2 changes, it wasn't possible to easily set the thickness of strokes if you didn't know about the pie menus already. This just exposes the same set of settings.
2016-08-29Code Cleanup: Just some fixes for whitespace/typos that I noticed while ↵Joshua Leung
working on other stuff
2016-08-29GPencil UI: Make "Tint" settings take full width of panel in 2D editorsJoshua Leung
Parenting options are not visible there (i.e. they're only for the 3D view), so reserving space that isn't going to be used in those editors doesn't really make much sense. Furthermore, those property regions are often quite narrow too, so it doesn't help too much to keep these settings so narrow there.
2016-08-28Fix T49163: let Cycles only hide particles with missing motion data, not ↵Brecht Van Lommel
regular objects.
2016-08-28Fix T47639: OpenGL render with smoke and fire incorrect when usingKévin Dietrich
transparency. The issue is that we are rendering to a 0..1 clamped sRGB buffer with unpremultiplied alpha, where the correct thing to do would be to render to an unclamped linear premultiplied alpha buffer. Then we would just make fire purely emissive without affecting the alpha channel at all, but that doesn't work here. So for now, draw fire and smoke separately using different shaders and blend modes, like it used to before the smoke programs were rewritten (see rB0372b642).
2016-08-28Fix T49167: Normals in wrong coordinate space when adaptive subdivision is usedMai Lavelle
Meshes with Cycles subdivision were being transformed to world space leading to normals to sometimes be calculated in that space, while they should be in object space. Also caused dicing to happen at the wrong rate for scaled meshes.
2016-08-28Fix missing viewport update changing BI lamp shadow methodJulian Eisel
2016-08-27GPencil: Added entry for the "Select Strokes Using Active COlor" operator to ↵Joshua Leung
the Colors panel dropdown It was already present in a few of the Pie Menus, but it was hard to find it, so I've included it here too for good measure.
2016-08-27Code Cleanup (Non-functional tweaks)Joshua Leung
General reshuffling of defines and spacing/brace usage for consistency. In particular: * When defining types, don't mix pointers and non-pointer types on same line to avoid confusion * As much as possible, have all defines at the top of each block instead of scattered haphazardly throughout the code
2016-08-27GPencil: Cleanup change color operatorAntonioya
It is faster to assign the color to the pointer instead to force the new lookup in drawing function.
2016-08-26Fix T49151: ParticleSettings' usercount not decremented when removing a psys ↵Bastien Montagne
from an object.
2016-08-26Cycles: Make UI for subdivision more clearMai Lavelle
Users have been getting a bit confused by the way things are worded/arranged in the UI. This patch makes a few changes to the UI to make it more clear how to use subdivision: - make Subdivide UVs option inactive when adaptive subdivision is enabled as UV subdivision is currently unsupported - add "px" to dicing rates in the Geometry Panel - display the final dicing rate in the modifier - reworded "Dicing Rate" in the modifier to "Dicing Scale" to make more clear that this is a multiplier for the scene dicing rate and added a note the the tooltip pointing the user to that setting in the Geometry Panel Reviewed By: brecht Differential Revision: https://developer.blender.org/D2174
2016-08-26Usual i18n/UI messages fixes...Bastien Montagne
2016-08-26Fix T49158: Untranslatable elements in UI.Bastien Montagne
We cannot skip 'collections clesse' when generating i18n messages from RNA, some of them are visible and UI...
2016-08-26Fix linking issue with OpenEXR and Zlib.Kévin Dietrich
Link Zlib after OpenEXR. Differential Revision: https://developer.blender.org/D2176
2016-08-26Fix over creation of cache files handles (leading to memory leaks).Kévin Dietrich
Multiple threads could create multiple handles for the same cache file, so protect handle creation with a mutex, to make sure only one is created.
2016-08-26Fix cache constraint not reference counting cache files.Kévin Dietrich
2016-08-26Fix T49168: crash when evaluating a cache constraint with a NULL cacheKévin Dietrich
file.