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
2015-05-20Add dedicated command argument to switch depsgraph to a single-threaded ↵Sergey Sharybin
evaluation This way it is possible to have single threaded depsgraph but threaded other areas which is handy for torubleshooting. he argument is: --debug-depsgraph-no-threads
2015-05-20Send color managed signal if input spaces changes during image savingSergey Sharybin
We're currently only supporting save to a default format color space, which makes it a bit tricky to prevent ImBuf from being changed. For until when saving to a custom colorspace works we'll just reload image if the space changes.
2015-05-20doxygen: corrections/updatesCampbell Barton
Also add depsgraph & physics
2015-05-19Clear animation list to avoid referencing freed memory.Antony Riakiotakis
2015-05-19BMesh: editmode drawing set every faces materialCampbell Barton
Check for changes in material (as other drawing code already does)
2015-05-19Python: search for 'python' and 'python#.#'Campbell Barton
2015-05-19Building without Python works againCampbell Barton
2015-05-18BGE: Set default envMap resolution to 512 pixelsPorteries Tristan
I propose to change the environment map render default resolution (600) to 512 (Thanks brecht for the correction... I don't know why I said dpi) (to make it compatible with this script: http://en.wikibooks.org/wiki/GLSL_Pr...cting_Surfaces ) to make cubeMap reflections easier and avoid this error: invalid envmap size please render with CubeRes @ power of two unable to initialize image(0) in MAMaterial, image will not be available http://blenderartists.org/forum/showthread.php?371232-BGE-proposal-Set-default-envMap-resolution-to-512-dpi http://blenderartists.org/forum/showthread.php?370026-Problem-with-cube-map-textures (post 11) Author : youle (Ulysse MARTIN) Reviewers: hg1, agoose77, lordloki, moguri, panzergame, dfelinto Reviewed By: panzergame, dfelinto Subscribers: brecht Projects: #game_engine Differential Revision: https://developer.blender.org/D1306
2015-05-18Solve threading conflict related on proxy group's inverse matrixSergey Sharybin
It was possible that two threads will start calculating proxy group's inverted matrix and store it in the object itself. This isn't good idea because it means some threads might be using partially written matrix.
2015-05-18Make object material drivers evaluation thread safeSergey Sharybin
Previously it was very easy to run into situation when two objects are sharing the same materials with drivers which will cause threading access issues. This actually only needed for the old depsgraph, but since it's still the one we're using by default we'd better solve this issue.
2015-05-18Attempt to make drivers more safe for threadingSergey Sharybin
There were some reported data race conditions in the python interpreter which seems to be rather valid. Surely this is not very pretty solution, but it might solve some annoying bugs related on threading.
2015-05-18Fix T44553: Dyntopo ignores front-face optionCampbell Barton
When 'Front Faces' brush option was enabled, dyntop would still adjust detail on back-faces.
2015-05-18Fix T44543: painted texture lost after first saveCampbell Barton
Fix for T36639 caused all path changes to reload (which could loose user content). Change behavior: - Only reload data when a flag is explicitly passed (currently only used by Find Files operator) - Don't reload images which have been painted onto and not saved (dirty flag set).
2015-05-17BMesh: don't check winding for uv-vert-mapCampbell Barton
Made link-select separate front/back with projected UV's
2015-05-17Cleanup: indentationCampbell Barton
2015-05-15Fix crasher in new lazy-rebuild outliner's treehash.Bastien Montagne
treehash must always been checked before used! Reported on irc by sebastian_k and investigated by sergey, thanks!
2015-05-15Scene audio naming cleanup:Antony Riakiotakis
Remane sound_scene_handle to playback handle. sound_scene_handle was a part of scene so we could see code like scene- often in the same function. If I understand things correctly, in audaspace lingo, the playback_handle corresponds to a Reader while the scene_sound corresponds to a Factory. More cleanups will be done here later, but changing this now because my brain hurts trying to remember which is which...
2015-05-15Cleanup: style, spellingCampbell Barton
2015-05-13Cleanup: reduce scope for win32, Linux varsCampbell Barton
2015-05-13UI: check visible layers when reading contextCampbell Barton
This resolves a problem where selected items edited for multi-value-editig could include objects not in any visible views (unlocked layers, local view... etc).
2015-05-13Multi-View: return correct number of views when rendering only one of the ↵Dalai Felinto
stereo pairs Without this fix ViewerNode would continously trash the views/buffer when disabling either stereo eye.
2015-05-13Fix T44684 Compositor backdrop isn't updating correctlyDalai Felinto
2015-05-12Cleanup: styleCampbell Barton
2015-05-12Dyntopo PBVH build optimization:Antony Riakiotakis
Optimize the full rebuild case for now (though same code can be adapted to partial redraws) Main changes here: * Calculate bounding centroid for faces only once (instead of every intermediate node) * Faces do not get added to GSets immediately, instead we track a face array which has faces that belong in a node in consecutive order. Nodes just keep accounting of start and length in the array. * Due to faces not being added to GSets, we can skip doing cleanup of GSets and readdition for each intermediate node and instead only add the faces to the final leafs node GSets when those nodes are created. Results: For a 1.9 million face test model, PBVH generation time (roughly measured by undoing) is dropped from 6 seconds to about 4 seconds. Still too high, but still a nice improvement. TODO: Thread some parts. Unfortunately threading the GSet assignment part might not help much since we'd need a lot of locking to avoid collisions with node assignments, especially for unique vertices.
2015-05-12Depsgraph: New dependency graph integration commitSergey Sharybin
This commit integrates the work done so far on the new dependency graph system, where goal was to replace legacy depsgraph with the new one, supporting loads of neat features like: - More granular dependency relation nature, which solves issues with fake cycles in the dependencies. - Move towards all-animatable, by better integration of drivers into the system. - Lay down some basis for upcoming copy-on-write, overrides and so on. The new system is living side-by-side with the previous one and disabled by default, so nothing will become suddenly broken. The way to enable new depsgraph is to pass `--new-depsgraph` command line argument. It's a bit early to consider the system production-ready, there are some TODOs and issues were discovered during the merge period, they'll be addressed ASAP. But it's important to merge, because it's the only way to attract artists to really start testing this system. There are number of assorted documents related on the design of the new system: * http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents * http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph There are also some user-related information online: * http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/ * http://code.blender.org/2015/03/more-dependency-graph-tricks/ Kudos to everyone who was involved into the project: - Joshua "Aligorith" Leung -- design specification, initial code - Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes - Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the project and so - Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the issues and recording/writing documentation. - Everyone else who i forgot to mention here :)
2015-05-12Depsgraph: Add evaluation callbacks for granular nodes updateSergey Sharybin
This commit only adds callbacks which then later be used with major dependency graph commit, keeping the upcoming commit more clean to follow. Should be no functional changes so far still.
2015-05-12Depsgraph: Make ob_get_parent_matrix() more public and reusableSergey Sharybin
Currently still only used from object.c, but in the next commit it'll be also used from granular object update callbacks.
2015-05-12Depsgraph: Add utility function to check whether modifier depends on timeSergey Sharybin
Currently unused, based on the code from old depsgraph.c. The purpose is to re-sue the code over old and new depsgraph in an easy way.
2015-05-12Depsgraph: Add utility function to tag pose for recalcSergey Sharybin
Currently this function only tags pose itself, totally matching previous behavior. But this will be needed in the future once new dependency graph is landed, because of it's granular nature which relies on the fact that pose channels are all up to date when building the graph. Should be no functional changes so far.
2015-05-12Depsgraph: Move update-related functions into own filesSergey Sharybin
Currently it is just moving existing functions into a new file, but in the future those new files will be grown much more due to upcoming more granular scene updates. Should be no functional changes.
2015-05-11Clearing preview image shall also unset 'user edited' flag!Bastien Montagne
2015-05-11Expose PreviewImage & custom icons to py API.Bastien Montagne
This commit mainly: * Exposes PreviewImage struct in RNA, including ways for user to set images data. * Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image. * Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system. * Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons. Note that loading image from files' thumbnails is done when needed (deferred loading), not when defining the custom preview/icon. WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level. We do not want our UI to explode under hundreds of different flashy icons! For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons) and the example/templates featured with Blender. Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29). Differential Revision: https://developer.blender.org/D1255
2015-05-11GHash: avoid redundant castsCampbell Barton
2015-05-10Fix T44633: image cache broken for movies and sequences.Brecht Van Lommel
After multiview, it was continuously unloading/loading image buffers from the cache due to mismatch in cache insert and lookup keys.
2015-05-10Fix T44644 Missing thread-protection (spinlock) of image in new multiview code.Bastien Montagne
Many thanks to Sergey, for practically giving the solution! Note that it may also fix T44345, depends whether there are other missing protections/locks or not...
2015-05-08Cleanup: use r_* prefix for return argsCampbell Barton
2015-05-07Fix T44604 bad quality of rake with bezier curves.Antony Riakiotakis
We can calculate tangents analytically for bezier curves, so just make them awesome. New code uses forward differencing calculation for efficiency just like curve calculation. Picture before/after: http://www.pasteall.org/pic/87843
2015-05-07Fix T44631: Custom Normal Data Transfer crash.Bastien Montagne
Own stupid mistake in rBcdabf7e3...
2015-05-07Fix T44611: 'make_links_data' modifiers would fail and crash with multires ↵Bastien Montagne
modifier. Since it was not ensuring dest has valid mdisp data matching new multires modifier subdiv level... Also, fixed a bug in `multires_subdivide()`, which would crash when trying to increase from level 0 (aka no subdiv) to > 1 (wrong check, trying to interpolate when it should not). And added a few sanity checks.
2015-05-07Rake: store last position from mouse, don't store halfpoint between lastAntony Riakiotakis
and current position. patch by Bastien
2015-05-07Change fix for T44530 which caused a "regression".Antony Riakiotakis
Looks like the previous commit here is really correct and fixes cases of distortion that were in mirror-subsurf combination since blender 2.5. This may cause some changed files in which case we will be adding an option, but it is expected this will only happen with low res models, and hand painted textures, and the better distortion here compensates for that enough to consider not adding a compatibility option yet. Leaving the facemap winding argument as is just in case we do consider to add the option.
2015-05-06Fix T44381: Text Editor: Un-indent undo failsCampbell Barton
D1284 by @mikidep
2015-05-06Cleanup: use ntreeFromIDCampbell Barton
2015-05-06Shader node: support native render capabilitiesCampbell Barton
D1188 by @a.romanov
2015-05-06Image proxies now correctly support metadata (needs to regenerateAntony Riakiotakis
proxies though)
2015-05-06Updating node standard value won't work if node is hidden, patch byAntony Riakiotakis
Alexander Romanov with minor changes.
2015-05-06Add bpy.app.binary_path_pythonCampbell Barton
Access to the python binary distributed with Blender, fallback to system python executable (matching Blender's version).
2015-05-05Prefer name 'program' over 'binary'Campbell Barton
binary-search is confusing!
2015-05-05BLI_path: add PATH search utility functionsCampbell Barton
2015-05-05Fix T44593: particle volume distribution not working with large meshes.Brecht Van Lommel