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-28Stats Editor:soc-2016-cycles_imagesThomas Dinges
* Add new notifier for the stats space type * Add logging_type DNA/RNA, which will be used to toggle between the different log types. We certainly will have more types here, this needs to be discussed further. For now we have Operators, Rendering and Depsgraph. * Add basic space stats notifier listener.
2016-08-26Further work on the Statistics Editor.Thomas Dinges
* Fix drawing, now it at least draws a solid main area. * Add empty UI py file.
2016-08-26Fix whitespace in new code for Stats Editor.Thomas Dinges
2016-08-20Ad basic theme settings for new stats editor.Thomas Dinges
2016-08-20Initial commit for new Statistics Editor.Thomas Dinges
2016-08-18Cleanup: some bad sizeof() usages.Bastien Montagne
2016-08-18Cleanup/security fix: do not use strcpy (at least in new code).Bastien Montagne
This function is only really secure in a very limited amount of cases, and can especially bite you later if you change some buffer sizes... So not worth bothering with it, just always use BLI_strncpy instead.
2016-08-18Cleanup for previous commit (nasty IDE replacing tads with spaces, tsst)Bastien Montagne
Sorry for the noise :|
2016-08-18Two fixes for optional ndof & fix bplayer for that...Bastien Montagne
Seriuosly, guys... Please always check that kind of changes with and without affected option, and in full build case.
2016-08-18Freestyle: fix wrong arg order, and cleanup confusing loop (both reported by ↵Bastien Montagne
coverity). Error: `origin` and `edge` args were swapped in final `FindOccludee()` call of `ViewMapBuilder::ComputeRayCastingVisibility()` Cleanup: main for loop in `Strip::createStrip()` was really confusing (though correct), generated a false positive in coverity scan, now should be cleaner how it loops over its vprev/v/v2 triplet of consecutive items.
2016-08-18Final UI messages fixes (for this session...).Bastien Montagne
2016-08-18Fix bplayer (c) after NDOF changes from merwinThomas Beck
2016-08-18Cleanup: ifdef function which is only used from ifdef-ed codeSergey Sharybin
2016-08-18NDOF: compile 3D mouse code only if WITH_INPUT_NDOFMike Erwin
When WITH_INPUT_NDOF is disabled, 3D mouse handling code is removed from: - GHOST (was mostly done, finished the job) - window manager - various editors - RNA - keymaps The input tab of user prefs does not show 3D mouse settings. Key map editor does not show NDOF mappings. DNA does not change. On my Mac the compiled binary is 42KB smaller after this change. It runs fine WITH_INPUT_NDOF on or off.
2016-08-18Fix compiler warning after fix for T48913.Brecht Van Lommel
2016-08-18Fix T48913: cycles viewport render stuck in loop due to non-unique dupli ID.Brecht Van Lommel
2016-08-18Fix T49104: normal problem in imported Alembic objectsKévin Dietrich
Recompute the normals if the normals are supposed to be varying (e.g. in the ISchema).
2016-08-17Alembic import: fix scene min/max time computation to take objects withKévin Dietrich
transform animations into account.
2016-08-17Fix T49081: Alembic sampling times are not taking start frame intoKévin Dietrich
account. This resulted in animations always starting at frame 0.
2016-08-17Fix Bevel crashes T49088 and T48858.Howard Trickey
Was calling the fast path for finding edge order in cases where it should not have been called.
2016-08-17Fix T49102: Angle option of new GP brush settings is too restricted in valueAntonioya
Now the range is between -90 to 90 degrees to give more customization options.
2016-08-17Fix T49086: UV Along Stroke can be set as vector input for environment textureSergey Sharybin
2016-08-17More UI messages fixes and cleanup.Bastien Montagne
2016-08-172D stabilizer: Use exact getter instead of regular one followed with frame checkSergey Sharybin
2016-08-172D stabilizer: Remove check for markers count in the trackSergey Sharybin
This would be a real disaster if track has no markers, which we should not masquerade and detect such weird cases as soon as possible.
2016-08-172D Stabilizer: Use more consistent RNA naming for propertiesSergey Sharybin
Annoying i did not notice this originally, but for RNA we need to keep things as much consistent as possible.
2016-08-17Fix T49100: Replace old tooltip for GPencil brush iterationsAntonioya
2016-08-17GPencil: Change ruler line thickness to make it thickerAntonioya
2016-08-16First set of UI/i18n messages fixes (mostly new GP code).Bastien Montagne
2016-08-16Fix T49097: GP ruler data reinstances GP_Palette ColorAntonioya
If the ruler is saved, a new color was created for each ruler. With the change, a color is created for the first instance, and it reused in the following instances. The default color is the current default color for GP.
2016-08-16Cleanup unused return value (was making coverity sad).Bastien Montagne
2016-08-16More fixes from coverity report.Bastien Montagne
2016-08-16Fix two memleaks found by coverity.Bastien Montagne
2016-08-16Fix release build after recent fix for debug oneSergey Sharybin
It's becoming annoying to have public API dependent on build type and everything. Let's just always have API defined and do stubs in the function implementation instead.
2016-08-16Fix depsgraph to compute more accurate links for collision & force.Alexander Gavrilov
Current implementation more or less indiscriminately links physics objects to colliders and forces, ignoring precise details of layer checks and collider groups. The new depsgraph seemed to lack some such links at all. The relevant code in modifiers suffers from a lot of duplication. Different physics simulations use independent implementations of collision and similar things, which results in a lot of variance: * Cloth collides with objects on same or visible layer with dupli. * Softbody collides with objects on same layer without dupli. * Non-hair particles collide on same layer with dupli. * Smoke uses same code as cloth, but needs different modifier. * Dynamic paint "collides" with brushes on any layer without dupli. Force fields with absorption also imply dependency on colliders: * For most systems, colliders are selected from same layer as field. * For non-hair particles, it uses the same exact set as the particles. As a special quirk, smoke ignores smoke flow force fields; on the other hand dependency on such field implies dependency on the smoke domain. This introduces two utility functions each for old and new depsgraph that are flexible enough to handle all these variations, and uses them to handle particles, cloth, smoke, softbody and dynpaint. One thing to watch out for is that depsgraph code shouldn't rely on any properties that don't cause a graph rebuild when changed. This was violated in the original code that was building force field links, while taking zero field weights into account. This change may cause new dependency cycles in cases where necessary dependencies were missing, but may also remove cycles in situations where unnecessary links were previously created. It's also now possible to solve some cycles by switching to explicit groups, since they are now properly taken into account for dependencies. Differential Revision: https://developer.blender.org/D2141
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