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-08-16Fix redundant declarations after recent changes in GPU debugSergey Sharybin
2016-08-162D stabilizer: Revert majority of UI changeSergey Sharybin
For now simply reshuffle option so they keep proper dependency flow. Benefits: - Has an ability to hide tracks lists to work with other sliders around. Could be really handy to quickly get rid of lenghty lists. - From a feedback seems to be fitting workflow better. Things to doublecheck on: - Feels a bit misordered: first you define whether one want to have rotation stabilized, then have tracks, then scale options. While this follows dependency flow (which is really good and which we should not violate) it has weird feeling on whether things are really where they have to be. - Autoscale controls visibility of max-scale, can we just make it active/inactive instead? - Autoscale replaces slider with label. Can it be disabled slider instead to reduce visual jumping (disabled slider prevents user input) Hopefully we'll still want to have collapsable box after re-iterating over this points, so we don't waste bits in DNA.
2016-08-162D stabilizer: Fix compilation error in debug modeSergey Sharybin
2016-08-16Correct previous commit, need to indent verisoning codeSergey Sharybin
2016-08-162D stabilization: Modify interface so dependency goes strictly from top to ↵Sergey Sharybin
bottom
2016-08-16Rework 2D stabilizatorIchthyostega
See this page for motivation and description of concepts: https://github.com/Ichthyostega/blender/wiki See this video for UI explanation and demonstration of usage http://vimeo.com/blenderHack/stabilizerdemo This proposal attempts to improve usability of Blender's image stabilization feature for real-world footage esp. with moving and panning camera. It builds upon the feature tracking to get a measurement of 2D image movement. - Use a weighted average of movement contributions (instead of a median). - Allow for rotation compensation and zoom (image scale) compensation. - Allow to pick a different set of tracks for translation and for rotation/zoom. - Treat translation / rotation / zoom contributions systematically in a similar way. - Improve handling of partial tracking data with gaps and varying start / end points. - Have a user definable anchor frame and interpolate / extrapolate data to avoid jumping back to "neutral" position when no tracking data is available. - Support for travelling and panning shots by including an //intended// position/rotation/zoom ("target position"). The idea is for these parameters to be //animated// by the user, in order to supply an smooth, intended camera movement. This way, we can keep the image content roughly in frame even when moving completely away from the initial view. A known shortcoming is that the pivot point for rotation compensation is set to the translation compensated image center. This can produce spurious rotation on travelling shots, which needs to be compensated manually (by animating the target rotation parameter). There are several possible ways to address that problem, yet all of them are considered beyond the scope of this improvement proposal for now. Own modifications: - Restrict line length, it's really handy for split-view editing - In motion tracking we prefer fully human-readable comments, meaning we don't use doxygen with it's weird markup and comments are supposed to start with capital and end with a full stop, - Add explicit comparison of pointer to NULL. Reviewers: sergey Subscribers: kusi, kdawg, forest-house, mardy, Samoth, plasmasolutions, willolis, sebastian_k, hype, enetheru, sunboy, jta, leon_cheung Maniphest Tasks: T49036 Differential Revision: https://developer.blender.org/D583
2016-08-15OpenGL: ignore deprecated API warningsMike Erwin
Reduces noise from --debug-gpu so we can spot serious errors. Blender 2.7x uses OpenGL 2.1, we don't care if features are deprecated. I'll re-enable these warnings for blender2.8 after next merge.
2016-08-15Fix OpenGL backtrace build errors, without disabling warnings.Brecht Van Lommel
2016-08-15Tentative compile fix after recent gpu debug changesJens Verwiebe
2016-08-15OpenGL: backtrace on errors (--debug-gpu)Mike Erwin
Backtrace so we can pinpoint where the GL error came from. Then fflush on severe errors in case it's severe enough to crash Blender.
2016-08-15OpenGL: enhance debug outputMike Erwin
When running blender --debug-gpu Display which debug facilities are available. One of these, in order of preference: - OpenGL 4.3 - KHR_debug - ARB_debug_output - AMD_debug_output All messages are logged now, not just errors. Will probably turn some of these off later. GL_DEBUG_OUTPUT_SYNCHRONOUS lets us break on errors and backtrace to the exact trouble spot. Callers of GPU_string_marker no longer pass in a message length, just the message itself (null terminated). Apple provides no GL debug logging features.
2016-08-13Prevent max stiffness values from going under normal stiffness values in ↵Luca Rood
cloth stiffness scaling. When updating the max values under stiffness scaling, they clip at the normal stiffness values as expected, however when updating stiffness values, you could set them higher than the max values, and the max values weren't updated accordingly. As the stiffness scaling computes using the absolute difference between the max values and the stiffness values, you got higher stiffnesses in scaled areas even though your max is actually lower than the normal stiffness. This diff fixes that behaviour, by updating the max values to be equal to the stiffness whenever you set a higher stiffness than the max value. Also, I have initialized the max values to the same as the stiffnesses, as they were previously just set to zero, and caused the same problem described above. Reviewers: lukastoenne Reviewed By: lukastoenne Tags: #physics Differential Revision: https://developer.blender.org/D2147
2016-08-13GPencil: Cleanup codeAntonioya
2016-08-13Fix T49082: Intermediate update call when making links can change group ↵Lukas Tönne
socket layout. Node tree update calls in the middle of a socket loop are dangerous, they can change sockets on group nodes and link instances in particular. Updates should only happen after the operator has finished. Simply removed the extra convenience check for validity now. Worst case an invalid (red) link is created which can be removed by the user as well and should simply be ignored by node systems. The update system in nodes needs a complete rewrite to handle complex cases like this, where an operator may need to react to changes during its execution.
2016-08-13Add DNA_struct_find (useful for version patching)Julian Eisel
2016-08-13Fix error in GPencil V2 version patchingJulian Eisel
GPencil conversion would just always run for file version 2.77.3. This wasn't an issue in master, but possibly for other branches that used the 2.77.3 block. Wasn't aware that you have to add the asterisk for pointers either, this is kinda weird. Anyway, it's running correctly now.
2016-08-12Depsgraph: tag relations for update when aterial slots changesSergey Sharybin
New dependency graph puts materials to the graph in order to deal with animation assigned to them and things like that. This leads us to a requirement to update relations when slots changes. This fixes: T49075 Assignment of a keyframed material using the frame_change_pre handler doesn't update the keyframe using the new dependency graph
2016-08-12Depsgraph: Tag relations for update when making datablocks single userSergey Sharybin
This is mainly required for the new dependency graph where non-object datablocks are a part of dependency graph. This solves issue when making mesh shared by multiple objects a single user one.
2016-08-12Fix T49045: splash not working correctly on OS X, after recent bugfix.Brecht Van Lommel
2016-08-11Fix T49004 and motion blur of cloth, softbody, etc past the end frame.Alexander Gavrilov
Point cache read code contains checks designed to prevent it reading stale data when the relevant simulation code should instead compute the next frame from the previous one. However in some situations like motion blur subframes the simulation can't possibly do it and just exits. This causes completely incorrect motion blur at or after the last cached frame. To fix, add a parameter that tells the cache code whether it should apply the checks and exit, or read what it can even if stale (true means exactly same as old behavior). Doing this in cache rather than clamping the frame number better in the caller lets it handle the case of incomplete cache that stops before the official last frame. Reviewed By: mont29, lukastoenne Maniphest Tasks: T49004 Differential Revision: https://developer.blender.org/D2144
2016-08-10GPencil: Avoid segment fault if new stroke function is called without colornameAntonioya
2016-08-10GPencil: Rename color name property to keep consistency in namingAntonioya
2016-08-09Fix crash in id remapping of Graph editor.Bastien Montagne
dopsheet data pointer is not guaranteed to be set it seems...
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-08BGE: Call DNA_sdna_current_init when launching blenderplayer.Porteries Tristan
Don't calling DNA_sdna_current_init was creating a crash because a global uninitialized variable was used when reading blender files.
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-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...