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
2016-10-18[msvc] Minor cleanup in blenkernel.lazydodo
this patch resolves the following warnings; ``` Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 764 Warning C4098 'attach_stabilization_baseline_data': 'void' function returning a value blenkernel\intern\tracking_stabilize.c 139 Warning C4028 formal parameter 3 different from declaration blenkernel\intern\cachefile.c 148 Warning C4028 formal parameter 3 different from declaration blenkernel\intern\paint.c 413 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\editderivedmesh.c 591 Warning C4028 formal parameter 3 different from declaration blenkernel\intern\library_remap.c 709 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 754 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 758 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 759 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 763 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 764 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 765 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 769 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\ocean.c 770 Warning C4028 formal parameter 1 different from declaration blenkernel\intern\DerivedMesh.c 3458 ``` It's mostly things where the signature in the .h and the actual implementation in the .c do not match. And a bunch functions who do not match the TaskRunFunction declaration cause they leave out the __restrict keyword. Reviewers: brecht, juicyfruit, sergey Reviewed By: sergey Subscribers: Blendify Differential Revision: https://developer.blender.org/D2268
2016-10-18Fix: Append 'Object proxy' hack checking for local/linked usages before ↵Bastien Montagne
those flags were set! Dummy mistake, to be backported to 2.78a.
2016-10-18Clarified warning in EnumPropertySybren A. Stüvel
Blender doesn't necessarily crash when Python doesn't keep references to the returned strings. As a result, someone that implements this incorrectly could be lulled into a false sense of correctness by Blender not crashing.
2016-10-17Fixup for doversion (rB8d573aa0 and rBa7e74791)Dalai Felinto
2016-10-17Fix T49722: Appending Bug (Groups).Bastien Montagne
One day we'll have to reconsider why some many 'real' ID usages are not refcounting... :( To be backported to 2.78a.
2016-10-17UV Editor: Add filter option to control what is visible when Draw Other ↵Sergey Sharybin
Objects is enabled Previously the editor will always try to only show UV faces with the same exact active image or image texture, which is quite difficult to control on a production shaders, where each material can have multiple objects assigned. The idea of this commit is to bring option which allows to easily control what to display when "Draw Other Objects" is enabled, so currently we can have old behavior ("Same Image") or tell editor to show everything ("All"). In the future we can extend it with such filters as "Same Material" and things like that. Hopefully this will help @eyecandy's workflow of texturing.
2016-10-17Fix T49738: Hair Add Brush doesn't workSergey Sharybin
the issue was caused by wrong default value for brush particle count which was clamped on display from 0 to 1. This is technically a regression but how to port this to 2.78a?
2016-10-16Fix T49746: crash loading user preferences with missing operators.Brecht Van Lommel
2016-10-16More fixes for keyframe theme optionsJulian Eisel
Couple of issues here: * Missing initialization for 3D view keyframe options for "Reset to Default Theme" * Alpha values not reset correctly on "Reset to Default Theme" * Alpha values of timeline keyframe options not reset correctly for old files Also corrected old version patches even though they're overridden later, to avoid more issues in case people copy this code. Corrections to d7af7a1e04c243 and 8d573aa0ecb61
2016-10-16Fix assert in the wrong place, should be moved earlier to do anything.Chase Willden
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2304
2016-10-16Cleanup: Unused parameters in OutlinerJulian Eisel
These were only passed to own recursion calls.
2016-10-16Fix missing outliner redraw when adding VSE stripJulian Eisel
Needed for outliner "Sequence" display mode.
2016-10-14Prevent crash after OpenGL rendering animation to images.Sybren A. Stüvel
2016-10-14Fix T49571: 2d stabilize keys not visible in the Graph Editor and Dope SheetSergey Sharybin
2016-10-14Fix T49657: Audio backend "Jack" should be named "JACK".Bastien Montagne
2016-10-14Fix T49601: Material menu length problem.Bastien Montagne
Regression from rB69b66d549bcc8, was supposed to be non-functionnal change, so not sure why search menu was reduced here? For now, restore to 2.77 width.
2016-10-14Fix T49646: Switching from large to small image can get stuck zoom at max ↵Anthony Edlin
zoom distance. Allow for zooming in at max zoom distance. Reviewed By: Severin Differential Revision: https://developer.blender.org/D2291
2016-10-13Fix T49534: 2.78 Wrong texture scaling in material viewportSergey Sharybin
Seems to be a bug in original implementation of a830280: code was always using tangent space instead of UV map because it had the same name. Now prefer UVMap over tangent because this is how Cycles works. At least it's closer to. Not sure it the save+reload issue is still relevant after this fix, that needs to be double-checked. Thanks @dfelinto for looking into the report and simplifying the case. Should be included into 2.78a.
2016-10-13Prevent problems when appending scene with referenced proxySybren A. Stüvel
Such a "referenced proxy" could be a proxy that is used in a constraint on another object. Brings back part of 1cdc54dc7db85766 but without the memory leak.
2016-10-13Usual UI/i18n tweaks & fixes.Bastien Montagne
2016-10-13Fix: Grease Pencil palettes were missing a RNA path callbackJoshua Leung
2016-10-13Proxy appending: re-establish link to proxies when they are made localSybren A. Stüvel
This allows appending of an entire scene from another blend file into this one, even when that blend file contains proxified armatures. This replaces the approach from commit 1cdc54dc7db85766. Thanks @sergey for the help.
2016-10-13Fix T49635: column_flow Layout - last column is too small.Bastien Montagne
Column flow layout was abuse ui_item_fit in a weird way, which was broken for last column items. Now rather use own code, which basically spread available width as equally as possible between all columns.
2016-10-13Cleanup: UI layout: remove unsed and confusing parameter.Bastien Montagne
Things are complicated enough like that, no need to add useless noise on top of it!
2016-10-13wrong alpha set for timeline theme (fixup for rBf329ebe3)Dalai Felinto
2016-10-12Fix T49631: radial control operators not using DPI properly.Brecht Van Lommel
2016-10-12Fix T49636: material draw mode crash with displacement and missing group ↵Brecht Van Lommel
input node.
2016-10-12FFmpeg: Fix off by one error in number of detected frames in matroska containerSergey Sharybin
Seems to be rounding error. Hopefully new code handles the error fixed back in SVN revision 28901 and still have proper frame number for Hjalti. What could possibly go wrong here..
2016-10-12Fix T49622: Grease pencil not rendering out of VSESergey Sharybin
2016-10-12Fix T49502: file browser on OS X not highlighting external drives.Brecht Van Lommel
2016-10-11Fix T49629: Graph editor normalize function doesn't work on f-curves with a ↵Sergey Sharybin
constant key value Technically it is a regression in behavior and should be 2.78a.
2016-10-11Fix objects added via py being on the wrong layer when viewport is decoupled ↵Sergey Sharybin
from scene
2016-10-11Make console message more clear for --scene argumentSergey Sharybin
2016-10-11Fix T49623: Immediately crash trying to render attached file in CyclesSergey Sharybin
Original fix in this area was not really complete (but was the safest at the release time). Now all the crazy configurations of slots going out of sync should be handled here.
2016-10-10OpenGL animation: Fix stupid mistake form previous commitSergey Sharybin
Flagging of pool to cancel was done in the wrong place, making last frames missing in the final video.
2016-10-10Fix viewport camera gets out of sync in certain casesSergey Sharybin
It was possible to have two viewports opened and start using Ctrl-0 to make different objects an active camera for the viewport. This worked fine for viewports which had decoupled camera from the scene, but if viewport was locked to scene camera it was possible to run into situation when two different viewports are locked to scene camera but had different v3d->camera pointers.
2016-10-10OpenGL render: Fix missing file output after pressing EscSergey Sharybin
Apparently, the whole G.is_break is not used by OpenGL render, meaning this flag will not be clear before running the operator. This was causing missing file output after pressing Esc once for the rest of Blender session.
2016-10-10OpenGL: remove GLSL support query (it's always supported)Mike Erwin
2016-10-10remove call to GLSL support query (it's always supported)Mike Erwin
Reworked logic in the one place that still called this. Deleted the "GLSL not supported" fallback. (equivalent to rB78abbdf26451 on blender2.8 branch)
2016-10-10BGE: remove calls to GLSL support query (it's always supported)Mike Erwin
Reworked logic in the few places that still called this. Deleted the "GLSL not supported" fallbacks. Also removed some nearby checks for ARB_multitexture and OpenGL 1.1. Blender 2.77 removed checks like this, but game engine still has some.
2016-10-09Fix T49609: Point density textures: vertex colors are not properly averaged ↵Daisuke Takahashi
in BI Nice to have in 2.78a, though not a regression.
2016-10-08Ammend to rB00dc0666b3fe: forgot to fix boid->ground of first particle.Bastien Montagne
This code is confusing, such dirty details should not sneak out of particles' own private code. :(
2016-10-08Fix T49608: runtime-only particle's boid->ground Object pointer was left ↵Bastien Montagne
dangling to invalid value in read code...
2016-10-08Fix a few compile errors with C++11 on macOS.Brecht Van Lommel
2016-10-08BLI_task: fix case were some pool could work in more threads than allowed.Bastien Montagne
We were checking for number of tasks from given pool already active, and then atomically increasing it if allowed - this is not correct, number could be increased by another thread between check and atomic op! Atomic primitives are nice, but you must be very careful with *how* you use them... Now we atomically increase counter, check result, and if we end up over max value, abort and decrease counter again. Spotted by Sergey, thanks!
2016-10-07Collision: skip expensive BVH update if the collider doesn't move.Alexander Gavrilov
Since the collision modifier cannot be disabled, it causes a constant hit on the viewport animation playback FPS. Most of this overhead can be automatically removed in the case when the collider is static. The updates are only skipped when the collider was stationary during the preceding update as well, so the state is stored in a field. Knowing that the collider is static can also be used to disable similar BVH updates for substeps in the actual cloth simulation code. Differential Revision: https://developer.blender.org/D2277
2016-10-07OpenGL render: Limit number of scheduled frames for writeSergey Sharybin
Previously if the rendering is much faster than saving (for example, when transcoding stuff via VSE) it was possible to have 100s of frames in memory. This isn't ideal because of limited amount of RAM, so need to have some sort of limit. This is exactly what is implemented in this commit.
2016-10-07OpenGL render: Fix non-deterministic order of frame writes for moviesSergey Sharybin
By the design of task scheduler it was possible that tasks from somewhere in the middle of scheduled list will be handled first. For example, one thread might be iterating over the scheduled list and ignore tasks because there is other thread is working on task from the same pool. However, if that other thread finishes task before iteration is over current thread will pick up task from somewhere in in the middle of the list. This isn't a problem in general case, but for movie rendering we do need to have strict order of frames.
2016-10-07OpenGL: Don't write frames when rendering was canceledSergey Sharybin
2016-10-07Cleanup: Use more clear name for where allocation is coming fromSergey Sharybin