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-08-09Counteract numerical errors in distance constraint evaluation (drift).strand_nodesLukas Tönne
With large steps in hair editing strokes the solution to distance-constrained hair displacement becomes inaccurate, leading to a gradual lengthening of strands. To counteract this the length constraints can enforce a velocity relative to the constant target length of each segment. This results in an overall constant length, even when the constraint solution is inaccurate for nonlinear constraints. Note that the result would become much better with backward Euler integration, currently there is a noticable 1-step lag between strokes and the distance fix.
2016-08-09Tentative "stiffness" forces for resisting hair bending.Lukas Tönne
This is not really nice yet, but just serves as a test for internal forces.
2016-08-09Merge branch 'object_nodes' into strand_nodesLukas Tönne
2016-08-09Merge branch 'master' into object_nodesobject_nodesLukas Tönne
2016-08-09Merge branch 'master' into strand_nodesLukas Tönne
2016-08-09Attempt to fix previous commit for non-c++11 buildsSergey Sharybin
2016-08-09Fix for isfinite breaking builds when WITH_CXX11 is enabled.Lukas Tönne
This happens when cmath.h is included after math.h in cpp code. Kudos to Sergey for pointing this out.
2016-08-09Fix T48916: Proxy Custom File is brokenSergey Sharybin
2016-08-09Fix T49027: Sequence uses too much memory when rendering scene with lots of ↵Sergey Sharybin
movie strips Now we free sequencer cache and close all unneeded FFmpeg handles when rendering. This is the same logic as image sequence memory freeding.
2016-08-09Bugfix. glDisable with bad enum argument in GPU_texture_unbindAlexander Romanov
Reported by @panzergame in D1414. `glDisable` calls with bad enum argument `GL_TEXTURE_2D_MULTISAMPLE` that came from this line: `tex->target = (n == 1) ? GL_TEXTURE_1D : (samples ? GL_TEXTURE_2D_MULTISAMPLE : GL_TEXTURE_2D);` Reviewers: brecht Reviewed By: brecht Subscribers: AlexKowel, yurikovelenov, panzergame Differential Revision: https://developer.blender.org/D2145
2016-08-09Alembic: fix finding boost headers for win32lazydodo
2016-08-08Fix ID types DAG update tagging.Kévin Dietrich
The first character of the ID type was used to tag IDs for updates which is weak since different IDs can have the same first character (for example meshes, materials and metaballs), causing unnecessary updates of unrelated IDs. Now we use a unique index per ID type to tag for updates, unifying IDs arrays indexing along the way. Reviewers: sergey, mont29 Differential Revision: https://developer.blender.org/D2139
2016-08-08Disable depth buffer writes while rendering smoke in the viewport.Alexander Gavrilov
Depth buffer values are used by the viewport pan and zoom code to adjust response scaling factors between mouse and viewport movement. Letting smoke write to the buffer confuses it and causes the camera to get stuck and move very slowly inside smoke domains, because it thinks it is very close to an object.
2016-08-08GPencil: Cleanup - Rename function for better namingAntonioya
The old function name was not clear enough
2016-08-08GPencil: Move polygon to back only if something was drawnAntonioya
If the user enable polygon draw and press ESC before drawing something, the last stroke must not be moved back.
2016-08-07Fix local view editing broken after changing object's layer from non-local viewJulian Eisel
Wasn't copying back local view bytes to object after changing layer. Steps to reproduce were: * Split 3D view in default startup.blend * Enter local view in one of the 3D views * Move default cube to different layer *in the other 3D view* (the one that's not in local view) * Try transforming object from 3D View that's in local view (should lag)
2016-08-07GPencil: Handle drawing on back for polygonsAntonioya
The polygons must move the stroke to back only when polygon is complete
2016-08-07GPencil: Add option to draw new strokes on back of layerAntonioya
For artist point of view is very useful to have an option to draw by default the new strokes on back of all strokes in the layer.
2016-08-07GPencil: Fix error in arrange strokesAntonioya
During code review a field was renamed, but one line was missing.
2016-08-07GPencil: Do not disable continuous drawing if click out of drawing areaAntonioya
Do not clear continuous drawing. This code was related to a previous test and must be removed.
2016-08-07Don't hide on/off buttons of the Softbody modifier when there's Collision.Alexander Gavrilov
From source code history, it seems this behavior is a relic of a very old limitation when the same object couldn't be both a Softbody and a Collision object. In those times if somehow both modifiers were added to an object, Softbody auto-disabled itself and buttons were hidden. Now however there is no problem having both modifiers on an object, so there is no point hiding the buttons. The same exact buttons are available on the physics tab in any case.
2016-08-07Particles: don't output nonsense UV data for Grid distribution particles.Alexander Gavrilov
As reported in T48928, From Dupli UV is not supported for grid distribution, and running the normal code as usual simply produces nonsense data, because fuv is used to hold orco instead of interpolation factors for uv, and num is zero. Since support won't be added in 2.78, just stop outputting nonsense.
2016-08-07Implementation of a basic constraint solver for strand length and root velocity.Lukas Tönne
This uses the Lagrange multiplier method for correcting the "velocity" of vertex displacements as described in "Linear-Time Dynamics using Lagrange Multipliers" (Baraff, 1996) Future additions would include stiffness forces for creating more natural hair shapes, and handling of collisions (deflection).
2016-08-07Fix pretty stupid mistake in last 'append fix' commit (rB50c017b6eabd).Bastien Montagne
2016-08-06Cleanup: add missing ID types to BKE_library_idtype_can_use_idtype().Bastien Montagne
2016-08-06Fix T49028: crash when copying a scene without grease pencil data.Kévin Dietrich
2016-08-06Cleanup: better not split UI strings when possible...Bastien Montagne
2016-08-06Cleanup some new gpencil rna functions names.Bastien Montagne
Convention for properties callback names is to prefix them with a version of the RNA struct name.
2016-08-06Basic Alembic supportKévin Dietrich
All in all, this patch adds an Alembic importer, an Alembic exporter, and a new CacheFile data block which, for now, wraps around an Alembic archive. This data block is made available through a new modifier ("Mesh Sequence Cache") as well as a new constraint ("Transform Cache") to somewhat properly support respectively geometric and transformation data streaming from alembic caches. A more in-depth documentation is to be found on the wiki, as well as a guide to compile alembic: https://wiki.blender.org/index.php/ User:Kevindietrich/AlembicBasicIo. Many thanks to everyone involved in this little project, and huge shout out to "cgstrive" for the thorough testings with Maya, 3ds Max, Houdini and Realflow as well as @fjuhec, @jensverwiebe and @jasperge for the custom builds and compile fixes. Reviewers: sergey, campbellbarton, mont29 Reviewed By: sergey, campbellbarton, mont29 Differential Revision: https://developer.blender.org/D2060
2016-08-06Fix T26658: particles stopped or bounced by 100% permeability colliders.Alexander Gavrilov
There were two issues here. One is that the fix done originally for this bug only checks for colliding with the same face as the single preceeding hit. If the particle hits an edge or vertex of the collider, it in fact hits two or more faces, so the loop ends up cycling between first two of them and reaches the max collision limit. The fix is to disable the collider for the sim step once a permeability roll succeeds, by adding it to a skip list. Skipping just one face causes some particles to bounce at odd angles in case of partial permeability. The second problem was that the collider bounced back a small percentage of particles, and the cause seemed to be that the code was set to flip the velocity if the particle was just past the collider but still within collision distance. Inverting both values causes a half permeable collider to stop particles, so it seems that this if branch shouldn't bounce at all. Test file: {F327322} Reviewers: lukastoenne, brecht Reviewed By: brecht Subscribers: brecht, #physics Maniphest Tasks: T26658 Differential Revision: https://developer.blender.org/D2120
2016-08-06Fix wrong property type usageJulian Eisel
Prints error on startup.
2016-08-06Fix T49023: Segfault when switching brushes while renaming another brush.Bastien Montagne
rna_GPencilBrush_name_set() was trying to use a mere bGPDbrush as a complete ToolSettings, was doomed to fail...
2016-08-05GPencil: Various UI name fixesJoshua Leung
* "Flip direction" -> "Flip Direction" * "Show drawing direction" -> "Show Directions" * "Grease Pencil Curves" -> "Brush Curves" (I was considering "Brush Response Curves" instead, but that seemed like too much of a mouthful) * "X" for removing a palette. The UI there was more similar to a standard datablock selector, so it should use the "+X" combo instead of "+-" combo for consistency. (Note though, presets tend to use "+-" instead - e.g. see the Render Settings)
2016-08-05GPencil: Added Ctrl-J hotkey for Joining strokesJoshua Leung
(Ctrl-Shift-J is for "Join and Copy")
2016-08-05GPencil: "Join Strokes" tool doesn't leave gaps by default nowJoshua Leung
Previously, it would insert "invisible" points after the endpoints of the strokes, so that they wouldn't appear to be joined, but that behaviour could also get quite confusing as you wouldn't be sure whether the strokes were really joined or not. To keep the previous behaviour, simply enable the "Leave Gaps" option on the operator after running it. This setting will get saved between runs of the operator.
2016-08-05Fix T49022: Crash in BKE_libblock_remap_locked.Bastien Montagne
Previous check to skip non-linkable IDs resulted in not clearing those skipped ID's newid member, wich lead to try to remap it later in code.
2016-08-05Cleanup: add missing entries to library_query.c ID types switch case.Bastien Montagne
2016-08-05Fix T48366: Freestyle will unnecessary exclude some linked objects.Tamito Kajiyama
Group membership testing for including/excluding feature lines was not accounting for object names possibly further qualified by library file paths. Also fixed a few potential (but unlikely) references of uninitialized variables. A big thank to Bastien Montagne for the insight on the cause of the problem and how to fix it.
2016-08-05Freestyle: minor code cleanup (whites pace).Tamito Kajiyama
2016-08-05Fix T49014: Append does not work in some cases.Bastien Montagne
There were actually two issues, one in recent changes and one existing... forever? I) id_make_local() would never proceed over indirectly linked data, which is required in specific 'append' context. II) BKE_image_copy() was not setting id->newid pointer of newly copied ID. About II: don't really know why image copy does its own cooking instead of using generaic ID copy helpers. Think this should be changed, but that would be after 2.78 now.
2016-08-05Switch combing tool back to using vertex displacement rather than edge ↵Lukas Tönne
rotation (tentatively). This method is more straightforward and easier to predict when testing constraint solving.
2016-08-05VSE sound strips: draw either the waveform or text label, not both.Sybren A. Stüvel
Drawing both text and the wave onto a sound strip makes both hard to read, which is a concrete issue for Hjalti at the moment. This was the simplest fix I could think of to give him control over what he sees.
2016-08-04Cleanup: Use BKE_gpencil prefixJulian Eisel
This is a good point to change this as grease-pencil-v2 branch was just merged, so I hope merge conflicts with other branches are minimal.
2016-08-04Cleanup: Use boolJulian Eisel
2016-08-04Fix T47782: popups with wrong size when switching from retina to non-retina ↵Brecht Van Lommel
on OS X.
2016-08-04UI: Correct tooltips for properties region toggle OPJulian Eisel
Now all consistent and using term "properties region" instead of "properties panel". Ideally we had a more generic operator for all those. Fixes T49006.
2016-08-04Grease Pencil v2 BranchAntonio Vazquez
Improve current Grease Pencil in order to get a better 2D animation tool. More info in WIKI pages: https://wiki.blender.org/index.php/User:Antoniov Reviewed By: Severin, aligorith, campbellbarton Patch by @antoniov, with edits by @Severin. Differential Revision: https://developer.blender.org/D2115
2016-08-03Fix T48164: messed up interface switching between retina and non-retina ↵Brecht Van Lommel
display on OS X.
2016-08-02Viewport: Make lights in local view behave like BI and CyclesJulian Eisel
Ignore that lights are not included in local view, always render them if they are on the correct layers. BI and Cycles do this as well.
2016-08-02Fix T43782: smoke simulation problems with multiple touching colliders.Alexander Gavrilov
When the colliders are joined, each cell that touches them only gets velocity contribution once. When there are multiple objects, velocities are summed, which causes some cells to get 2x, 3x or more than the actual object velocity. Fix this by using the average velocity of all colliders touching a cell. Reviewers: miikah, lukastoenne Reviewed By: lukastoenne Subscribers: dafassi, scorpion81, #physics Maniphest Tasks: T43782 Differential Revision: https://developer.blender.org/D2112