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
2012-04-28Code and style cleanup in own modules in BKE and also mball moduleSergey Sharybin
- Make sure functions are named in way BKE_<object>_<action> (same way as RNA callbacks) - Make functions which are used by mball.c only static and remove their prototypes from public header file. Further cleanup is coming.
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-23code cleanup: comment unused functions (removed one which isnt useful anymore).Campbell Barton
2012-04-22style cleanup: commentsCampbell Barton
2012-04-21style cleanupCampbell Barton
2012-04-15code cleanup: dont include BLI_winstuff.h on non windows systems, also ↵Campbell Barton
cleanup some defines/includes for windows.
2012-04-12fix [#30907] Inset tool with Select Outer disabled does not allow ↵Campbell Barton
translation of new faces inset with select-inner faces gave invalid selection. also correct spelling in some comments.
2012-03-31move debug flag into its own global var (G.debug), split up debug options.Campbell Barton
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-27fix [#30651] bpy.ops.object.mode_set(...) editmode removes faces.Campbell Barton
problem was that BMesh had tessellation call when undo pushes were called. if python called an operator with no undo push, tessfaces would not be created. fix this by making it the responsibility of each editmesh operator to re-tessellate, as it is with notifiers and depsgraph. added EDBM_update_generic() function to add notifier, tag for depsgraph update and optionally re-tessellate.
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-06quiet some warnings and fix build error with strict casting rules.Campbell Barton
2012-03-06Fixed typo in tracking-related tweaks for depsgraph resulting with crashSergey Sharybin
in special cases (like setting camera's constraint clip if scene's clip is not set)
2012-03-01Spelling CleanupCampbell Barton
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-21Fix part of #30272: cycles preview render not updating when changing particleBrecht Van Lommel
emission from with instanced objects.
2012-02-07Fix #30094: Subdivision Surfaces Modifier corrupts Copy LocationSergey Sharybin
Issue was caused because of missed MDeformVert layer on subdivided cube. If regular object is constrained to mesh object, extra customdata mask is adding to such target. But armature bones are handling separately and there was no such thing happens. Ideally this code should be deduplicated to avoid such kind of issues, but better not to do it so close before release.
2012-01-30Fix #30030: Tapered and beveled text won't update in realtimeSergey Sharybin
Was missed dependency in depsgraph.
2012-01-04Camera tracking: added depth object to Follow Track constraintSergey Sharybin
If this object is defined, object with Follow Track constraint would be projected into surface of this depth object. If object is not set or there's no projection onto it, projection plane calculated based on original object position would be used. This allows to make cheap facial mocap.
2011-12-31Tag object with object solver constraint to recalc when changing value ofSergey Sharybin
tracking object scale.
2011-12-30Object tracking integrationSergey Sharybin
This commits merges object tracking implementation from tomato branch. Summarized changes from branch: - Added list of objects to be tracked. Default there's only one object called "Camera" which is used for solving camera motion. Other objects can be added and each of them will have it;s own list of tracks. Only one object can be used for camera solving at this moment. - Added new constraint called "Object Tracking" which makes oriented object be moving in the save way as solved object motion. - Scene orientation tools can be used for orienting object to bundles. - Object has got scale to define "depth" in camera space. - All tools which works with list of tracks or reconstruction data now gets that lists from active editing object. - All objects and their tracking data are available via python api. - Improvements in witness cameras workflow,
2011-12-30style edits for function declarationsCampbell Barton
2011-12-27Merging r42800 through r42895 from trunk into soc-2011-tomatoSergey Sharybin
2011-12-23Code cleanup: fix some clang static checker warnings.Brecht Van Lommel
2011-12-05Object tracking; initial commitSergey Sharybin
This commit implements basis stuff needed for object tracking, use case isn't perfect now, interface also should be cleaned a bit. - Added list of objects to be tracked. Default there's only one object called "Camera" which is used for solving camera motion. Other objects can be added and each of them will have it;s own list of tracks. Only one object can be used for camera solving at this moment. - Added new constraint called "Object Tracking" which makes oriented object be moving in the save way as solved object motion. - Scene orientation tools can be used for orienting object to bundles. - All tools which works with list of tracks or reconstruction data now gets that lists from active editing object. - All objects and their tracking data are available via python api.
2011-11-28Fix #29389: cycles viewport render not updating on frame changes. This sort ofBrecht Van Lommel
worked by accident before, because of flags that weren't cleared properly. Now moved the call to update render engines into scene_update_* itself.
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-11-07Revert fix for #29146, needs deeper changes to solve this fully.Brecht Van Lommel
2011-11-07Camera tracking integrationSergey Sharybin
=========================== Commiting camera tracking integration gsoc project into trunk. This commit includes: - Bundled version of libmv library (with some changes against official repo, re-sync with libmv repo a bit later) - New datatype ID called MovieClip which is optimized to work with movie clips (both of movie files and image sequences) and doing camera/motion tracking operations. - New editor called Clip Editor which is currently used for motion/tracking stuff only, but which can be easily extended to work with masks too. This editor supports: * Loading movie files/image sequences * Build proxies with different size for loaded movie clip, also supports building undistorted proxies to increase speed of playback in undistorted mode. * Manual lens distortion mode calibration using grid and grease pencil * Supervised 2D tracking using two different algorithms KLT and SAD. * Basic algorithm for feature detection * Camera motion solving. scene orientation - New constraints to "link" scene objects with solved motions from clip: * Follow Track (make object follow 2D motion of track with given name or parent object to reconstructed 3D position of track) * Camera Solver to make camera moving in the same way as reconstructed camera This commit NOT includes changes from tomato branch: - New nodes (they'll be commited as separated patch) - Automatic image offset guessing for image input node and image editor (need to do more tests and gather more feedback) - Code cleanup in libmv-capi. It's not so critical cleanup, just increasing readability and understanadability of code. Better to make this chaneg when Keir will finish his current patch. More details about this project can be found on this page: http://wiki.blender.org/index.php/User:Nazg-gul/GSoC-2011 Further development of small features would be done in trunk, bigger/experimental features would first be implemented in tomato branch.
2011-11-04Depsgraph: add "Dependency Relations" operator to print the dependency graph toBrecht Van Lommel
the console, useful for debugging and understanding the relations.
2011-11-04Fix #29146: object used for particle instancing did not update when affectedBrecht Van Lommel
by an object on a hidden layer. Dependency was set in the wrong direction.
2011-11-03Depsgraph/Python: callbacks and properties to detect datablock changesBrecht Van Lommel
* Adds two new python handlers: scene_update_pre() and scene_update_post() These run before and after Blender does a scene update on making modifications to the scene. * Datablocks now have an is_updated property. This will be set to true in the above callbacks if the datablock was tagged to be updated. This works for the most common datablocks used for rendering: object, material, world, lamsp, texture, mesh, curve. * Datablock collections also have an is_updated property. If this is set, it means one datablock of this type was added, removed or modified. It's also useful as a quick check to avoid looping over all datablocks. * RenderEngine.view_update() can also check these properties, for interactive viewport rendering. http://wiki.blender.org/index.php/Dev:2.6/Source/Render/UpdateAPI
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-20BLI_ghash.h was including BLI_blenlib.h, remove from ghash header and ↵Campbell Barton
include in each file
2011-10-19Adds an update flag to the bNode struct (similar to bNodeTree->update).Lukas Toenne
This prevents access to non-existent typeinfo during type initialization, when node types have been removed and such nodes are deleted from older files. All blenkernel functions now only set the node->update flag instead of directly calling the update function. All operators, etc. calling blenkernel functions to modify nodes should make a ntreeUpdate call afterward (they already did that anyway). Editor/RNA/renderer/etc. high-level functions still can do immediate updates by using nodeUpdate and nodeUpdateID (replacing NodeTagChanged/NodeTagIDChanged respectively). These old functions were previously used only for setting compositor node needexec flags and clearing cached data, but have become generic update functions that require type-specific functionality (i.e. a valid typeinfo struct).
2011-10-01Bugfixes for: [#28525] [#28690] [#28774] [#28777]Joshua Leung
This commit basically disables the RNA update caches for now, and introduces a workaround/hack to ensure that modifier properties still work when animated/driven. The whole way that updates currently get handled needs reviewing in future. Fix provided by Brecht.
2011-08-28Assorted comment clarification in response to code review notesJoshua Leung
2011-08-16Merging trunk up to r39447.Joerg Mueller
2011-08-15Fix #27718: driving modifier properties was missing updates, fixed depsgraph.Brecht Van Lommel
2011-08-013D Audio GSoC:Joerg Mueller
Adds new speaker object type. Notes: * Needs some nice icons * Quickily review by Joshua Leung (5 mins) * Properties UI updated (with help of Thomans Dinges) * Speakers have their own theme color * No real audio functionality yet. * Minor bug regarding lamps/lattices fixed in interface_templates.c I personality tested: * Creation, Deletion, Duplication * Saving, Loading * Library linking (incl. make local) * Tracking * Dope Sheet, Outliner * Animation * Drawing (incl. Theme)
2011-07-12Merging trunk up to r38329.Joerg Mueller
2011-07-11Fix for [#27398] Particle systems with animated groups render incorrectly in ↵Janne Karhu
viewport * Hmph.. depsgraph and group duplication == illogical.
2011-07-03Experimental depsgraph tweak:Joshua Leung
Objects with drivers are now treated as needing updates when the current frame changes. This assumption has been documented in the code, and should at least mean that users who try to use drivers for creating simple time-based expressions that this should work. Note: - It is still recommended to create a "cfra" driver variable instead of actually inlining bpy.context.scene.frame_current into the expressions. Not only does the latter look rather nasty to type/have in the expression, but it is also less future-proof for when I get around to actually working on a beefed-up depsgraph (nothing official on that front yet...)
2011-06-15Fix #27654: vertex parenting not working with constructive modifiers.Brecht Van Lommel
Vertex parents were not requesting the original index layer, now do this as part of depsgraph building, and make constraints with vertex groups use the same system. Fix is based on patch by Campbell, but with some changes.
2011-05-22remove / comment unused code, patch by nico_ga on IRC with some edits.Campbell Barton
2011-04-30- pass the camera to the render stamp function.Campbell Barton
- add BKE_write_ibuf_stamp() since saving environment maps & screen shots shouldn't have stamp.
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-21whitespace only, no functional change mixed tabs/spaces --> tabs.v2.57aCampbell Barton