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
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 additional relations/id update tagsSergey Sharybin
This calls are not strictly speaking needed for the old dependency graph, but due to more granular nature of upcoming depsgraph more actions requires update of relations of IDs. On the one hand this extra tags could be wrapped with if() statements, but on the other hand it makes sense to keep tag in sync so it's clear if some issue is caused by missing/extra tag or by depsgraph itself.
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-12Fix T44677: Normal Edit Modifier Radial Mode broken with target object.Bastien Montagne
Very stupid mistake, odd nobody hit this earlier... :/
2015-05-12Doc: correct rst syntaxCampbell Barton
also remove some API docs from example
2015-05-12BGE: Adding material IPO support to GLSL materialsMitchell Stokes
Most of this patch was created by Daniel Stokes, I'm mostly just cleaning it up and testing it. Still todo: hardness. I need to figure out how to handle the integer -> float conversion on a dynamic uniform. Reviewers: psy-fi, brecht Reviewed By: psy-fi Subscribers: psy-fi Differential Revision: https://developer.blender.org/D511
2015-05-11Freestyle: Fix for assertion failure in viewport preview.Tamito Kajiyama
An assertion to check if `re->clipsta` < 0 (added as part of addressing T36009 in rBrB795034c17d76bef2a15e576ac9c70ae2268a823b) was failing when Freestyle viewport preview rendering takes place in the camera view with an orthographic camera (in this case, the user-defined clipping range is used without changes, so that `re->clipsta` is positive). The `re->clipsta` property has a negative value only when the 3D viewport is in an orthographic view but not in the camera view. It seems that this viewport setting cannot be identified from rendering settings accessible from Freestyle. Now a negative `re->clipsta` value is directly checked instead, without relying on other render flags.
2015-05-11Collada Exporter: sanitize a bit lnor export.Bastien Montagne
In case `BKE_mesh_calc_normals_split()` would fail, exporter would read uninitialized random mem... Should not happen, but better be safe than sorry.
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-11Keep valgrind happy by using tight vec3 packing instead of lax vec4 withAntony Riakiotakis
an unused coordinate missing.
2015-05-11UI: initial support for UI editing selected itemsCampbell Barton
Add basic support (holding Alt) to edit all selected objects/bones/sequences.
2015-05-11GHash: avoid redundant castsCampbell Barton
2015-05-11GHash: use const keys when only used for lookupsCampbell Barton
2015-05-11Outliner: postpone rebuilding the treeCampbell Barton
On existing Blender could rebuild tree many times (on freeing each ID). Use a flag instead of immediately rebuilding.
2015-05-11Outliner: cleanup flag was never clearedCampbell Barton
Was running cleanup on every draw.
2015-05-11GHash: Add BLI_ghash_ensure_p_ex to copy the keyCampbell Barton
Needed in cases where the memory from each key is owned by the GHash.
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-10BGE : Fix crash during physics mesh update.Porteries Tristan
Currently we can't update the physics mesh of an added rigid body. The cause is that that we need to update all shapes to say that the mesh was changed, for static object we don't do that previously because we use a odd way to reallocate memory at the same place. So now when a mesh is changed we iterate all physics controllers which use the same shape info and recreate its shape with the correct mesh. example file : {F168100} Reviewers: scorpion81, sergof, hg1, sybren, moguri, agoose77 Reviewed By: moguri, agoose77 Subscribers: sybren Differential Revision: https://developer.blender.org/D1269
2015-05-10fix T44648: Collada finding bone chains during import crashes when no bones ↵Gaia Clary
are there
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-10BGE: Fix T43822 Videotexture does not use sky color for off-screenJorge Bernal
rendering Make scene background color as default for render-to-texture instead of current blue color (0, 0, 255). It is very useful for mirrors setups. Reviewers: moguri, ben2610, sybren, panzergame, hg1 Reviewed By: panzergame, hg1, moguri Subscribers: mpan3 Differential Revision: https://developer.blender.org/D1287
2015-05-09Fix T38335: incorrect triangle index in raycast with more than 2 quadsPorteries Tristan
eb81153896 broke the fix for T38335, and this fix was incomplete, now we iterate by triangles and polys in the same while block.
2015-05-09Freestyle: Partial fix for a crash with Save Buffers option enabled.Tamito Kajiyama
Prevents null pointer references in the case of the Save Buffers option enabled. This is a regression likely due to rBd5f1b9c22233.
2015-05-09Cleanup: warning (sequence-point)Campbell Barton
2015-05-08Fix 3D View Properties scrollbar being not set to top in startup.blendJulian Eisel
2015-05-08Fix T38335: incorrect triangle index in raycast resultPorteries Tristan
Previously we forgot to do a special operation for indexes to convert a quad to two triangles.
2015-05-08matcaps browser: changing emboss style and grid direction according to T44613Ines Almeida
2015-05-08Add Intel's 3000 driver to exceptions for df/dy calculations. Should fixAntony Riakiotakis
another case of SSAO effect reversal.
2015-05-08BGE: Cleanup function UpdateMesh and SetMesh in CcdPhysicsController.cppPorteries Tristan
"if (value == true)" -> "if(value)" "if (ptr == NULL)" -> "if (!ptr)" "vector<bool>" -> "std::vector<bool>" And other blender typo.
2015-05-08Revert "Motionpaths: Use scene range option, takes start/end frame andAntony Riakiotakis
preview" Looks like this does not work for animators here after all, will use a different code for this (probably not hardcoded) This reverts commit 3bbb4020e7f0fae80a5edd31e19b7fa97d2149e4.
2015-05-08Motionpaths: Use scene range option, takes start/end frame and previewAntony Riakiotakis
settings into account.
2015-05-08Cleanup: #define -> enum, and get rid of useless braces in case's.Bastien Montagne
2015-05-08Fix T44634: Slide edge not responding to ALT + WHEEL to change reference ↵Bastien Montagne
edge in "even mode". Modal events (TFM_MODAL_EDGESLIDE_UP/_DOWN) were eaten by NOP generic transform event handling...
2015-05-08Add missing TEXTEDIT_UPDATE optionCampbell Barton
2015-05-08Cleanup: use r_* prefix for return argsCampbell Barton
2015-05-07DNA; document how to ignore a structCampbell Barton
2015-05-07Minor cleanupAntony Riakiotakis
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-07Fix T44627, black spots with lock alpha in projection paint:Antony Riakiotakis
Painting would revert alpha even on unpainted pixels, where values would contain garbage.
2015-05-07Fix crash when rendering opengl from sequencer.Antony Riakiotakis
2015-05-07EdgeSlide: support for un-clamped slidingCampbell Barton
Functionality matches vertex slide.
2015-05-07Cleanup: remove unneeded context argCampbell Barton
2015-05-07EdgeSlide: use pairs for TransDataEdgeSlideVertCampbell Barton
no functional changes