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
2011-11-07use macro for access to library filepathCampbell Barton
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-07minor editsCampbell Barton
- remove unneeded type check from convert grease pencil operator. - correct some error prints & use __func__. - make copy_libblock take an ID* argument rather than void*.
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-04utility function to find the biggest area: BKE_screen_find_big_area(...), ↵Campbell Barton
was being done with static functions that were copied about.
2011-11-03ability to have permanent callbacks that stay active when new blend files ↵Campbell Barton
are loaded. this works by tagging functions, eg: def my_func(scene): pass bpy.app.handlers.permanent_tag(my_func, True) # <-- important bit bpy.app.handlers.frame_change_pre.append(my_func)
2011-11-03correct spelling mistakesCampbell Barton
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-11-02RenderEngine api: support for viewport rendering, details here:Brecht Van Lommel
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/RenderEngineAPI * This adds a Rendered draw type in the 3D view, only available when the render engine implements the view_draw callback. * 3D view now stores a pointer to a RenderEngine. * view_draw() callback will do OpenGL drawing instead of the viewport. * view_update() callback is called after depsgraph updates.
2011-10-31fix [#29098] File save dialog cannot handle extra periods in file nameCampbell Barton
2011-10-28use generic path remapping when making all library data local, previously ↵Campbell Barton
only image paths were getting corrected, now all paths will (scene image seq strips, pointcache etc)
2011-10-27utf8 buffer wasn't being initialized in ghost_event_procCampbell Barton
2011-10-27pass image description to image loading functions for more useful error than ↵Campbell Barton
'Unknown fileformat'.
2011-10-27quiet -Wempty-body and unused warningsCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23fix some typo'sCampbell Barton
2011-10-23- fix for error with utf8 textinput for buttonsCampbell Barton
- ensure input is valid utf8 from ghost and NULL then complain if its not. - added function to get utf8 size BLI_str_utf8_size()
2011-10-23Context menu 'Edit Source' operator no longer needs to be enabled as a build ↵Campbell Barton
option, improved this so the python file:line lookups are only done when the operator runs (previously this was done for every button, every draw when the build option was enabled). Perhaps this should be hidden when not running with --debug, easy to change.
2011-10-23fix for own mistake r41192Campbell Barton
2011-10-22Code refactoring: move external engine functions into own file.Brecht Van Lommel
2011-10-22Code cleanup: file operations merged into single header, some function namesBrecht Van Lommel
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22- use defines for wmKeyMapItem & wmEvent alt/shift/ctrl/oskeyCampbell Barton
- clear utf8_buf on key up & complain if its set (should never happen)
2011-10-22Fix for alt-tab in Windows.Alexander Kuznetsov
utf8_buf can be not null terminated, plus not init as in this case. (I need to investigate more)
2011-10-22header cleanup and typo'sCampbell Barton
2011-10-21Code cleanup: don't use btempdir/bprogdir/bprogname globals anymore, but wrapBrecht Van Lommel
in BLI_ functions.
2011-10-21misc cleanupCampbell Barton
- remove redundant casts - replace strcmp's with "" to just check first char. - added WM_event_print(), debug mode only to print events since the structs values are not that meaningful. - added warnings if locale/font dirs cant be found.
2011-10-21Cleaning i18n code.Bastien Montagne
Previous state: Right now, there are "memories" of the "old" (less than a month!) translation way: * A few remaining calls to BLF_gettext() (only UI_translate_do_iface and UI_translate_do_tooltip should be used). * The _() macro still also calls BLF_gettext()! New state: Here are the changes made by the patch: * Removing the no more needed _() macro. * Removing most N_() and _() calls, only keeping the few needed ones (i.e. strings that are in no other way findable by xgettext and/or update_msg script). * Defining in UI_interface.h IFACE_() and TIP_() macros (resp. for UI_translate_do_iface and UI_translate_do_tooltip). * Replacing all calls to BLF_gettext by relevant IFACE_ or TIP_ one. * Replacing all calls to UI_translate_do_iface by IFACE_. * Replacing all calls to UI_translate_do_tooltip by TIP_. All this somewhat clarifies and simplifies the code. On the bf-translations scripts side, this only implies adding IFACE_ and TIP_ as detection markers for xgettext. It also allows to reduce POTFILES.in quite notably (only 20 files remaining in it). Please also have a look at those pages: * Coder POV: http://wiki.blender.org/index.php/Dev:2.5/Source/Interface/Internationalization * Translator POV: http://wiki.blender.org/index.php/Dev:2.5/Doc/How_to/Translate_Blender
2011-10-20fixes for unicode input, should work for operator textinput now.Campbell Barton
2011-10-20- add BLI_string_utf8.h for unicode functions.Campbell Barton
- move font.c unicode functions into string_utf8.c and rename to fit with other BLI_string funcs.
2011-10-20initial support for unicode keyboard input for ghost & blenders WM.Campbell Barton
- currently X11 only, depends on Xinput (but should not break other os's). - ghost stores utf8 buffer, copies to wmEvent's - UI text input is currently the only area that uses this - not console or text editor. - no rna access yet.
2011-10-20debug build option WITH_PYTHON_UI_INFO, so you can right click and edit the ↵Campbell Barton
python source for UI layout directly.
2011-10-17fix spelling mistakes in comments (and in some python error messages), ↵Campbell Barton
nothing to effect translations.
2011-10-14Other part of the MSVC build fix (need definition for "finite" macro from ↵Andrew Wiggin
BLI_math.h)
2011-10-14Reverting my windows build fix because it breaks the bug fix committed in r40995Andrew Wiggin
2011-10-14Fix MSVC build ( .0f/.0f fires a compiler error )Andrew Wiggin
2011-10-14Fixing [#28907] Frozen playback.Joerg Mueller
Also fixing two more crashes when audio files don't exist/cannot be read and apply a changed file path of a sound, reported by Jens Verwiebe in IRC.
2011-10-12changes to relative path optionCampbell Barton
- initialize the relative_path option in ED_fileselect_get_params(), saves initializing within every operators own init functions, some even trying to initialize a non existing property. - don't set the operator default from the user preferece, operator property defaults should be static else python scripts for eg can get different defaults depending on user settings, this also wont get updated when user-defaults are edited so generally confusing & not good practice.
2011-10-10Now append/link will start at current blend file directory, if available ↵Bastien Montagne
(lastest used lib keeps priority).
2011-10-03fix [#28784] CRASHER on load with load_post handlerCampbell Barton
also fix pacman package build spec.
2011-10-01reverting part of rev40594.Sergey Sharybin
Pardoon, looks like i've forgot to revert current work before commiting actual patch i wanted to send to the svn.
2011-10-01* Updating readme.html and link to release logs for 2.60, now that we ↵Thomas Dinges
approach the RC state.
2011-09-30fix for crash generating messages.txt, I wasn't getting this crash because I ↵Campbell Barton
had 'WITH_PYTHON_SAFETY' enabled which was using different iterators (which dont crash), now there on by default. made headless and no-python configurations work again and added --factory-startup to doc building command.
2011-09-29Fix #28769 & #28768: problem with duplicated keymap items after fix yesterday.Brecht Van Lommel
2011-09-28Fix autosave trying to write to / if no userpref temp directory was set,Brecht Van Lommel
like other code in blender it should write to the one actually verified to exist. Also fixes wrong temp directory when loading user preferences with no temp directory from a state where one was specified.
2011-09-28Fix #28726: maya key configuration lost after file > new.Brecht Van Lommel
2011-09-28fix for crash with demo mode addon, modal operator loading a blend file ↵Campbell Barton
would free all window data which was then accessed, causing a crash.
2011-09-28whitespace edits, make formatting for functions consustent at least within ↵Campbell Barton
the file.
2011-09-27navmesh: convert object_navmesh.cpp to plain c.Sergey Sharybin
2011-09-26change define INTERNATIONAL --> WITH_INTERNATIONALCampbell Barton
also rename backface_culling --> use_backface_culling (which is used elsewhere in rna)
2011-09-22remove redundant code & use GL_LINE_STRIP for object spiral drawing.Campbell Barton