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-02Sound now returns even if file fails to loadCampbell Barton
With various codecs its hard to ensure a sound will load or not.
2015-03-26sound module: Append functions with BKE (makes it easier to make themAntony Riakiotakis
out from local functions)
2015-02-11cleanup: style/indentationCampbell Barton
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-04FileBrowser: Cleanup: rename some (really ugly) enum names.Bastien Montagne
2014-12-30Fix possible NULL pointer dereferenceCampbell Barton
also remove redundant NULL check
2014-11-28Cleanup: unused headersCampbell Barton
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-28Correction to previous commit: it was unable to change format for some ↵Sergey Sharybin
containers
2014-02-28Fix T38768: New "audio" button in 2.70 release does not 'mixdown' audioSergey Sharybin
Issue was caused by the way how audio output works from audaspace. Now made it much closer to what's happening in ffmpeg.c and writeffmpeg.c. Also fixed issues with incompatible combinations of codecs and formats in mixdown settings.
2014-01-16Code Cleanup: no need to pass empty strings as default valuesCampbell Barton
2013-12-26Threaded object update and EvaluationContextSergey Sharybin
Summary: Made objects update happening from multiple threads. It is a task-based scheduling system which uses current dependency graph for spawning new tasks. This means threading happens on object level, but the system is flexible enough for higher granularity. Technical details: - Uses task scheduler which was recently committed to trunk (that one which Brecht ported from Cycles). - Added two utility functions to dependency graph: * DAG_threaded_update_begin, which is called to initialize threaded objects update. It will also schedule root DAG node to the queue, hence starting evaluation process. Initialization will calculate how much parents are to be evaluation before current DAG node can be scheduled. This value is used by task threads for faster detecting which nodes might be scheduled. * DAG_threaded_update_handle_node_updated which is called from task thread function when node was fully handled. This function decreases num_pending_parents of node children and schedules children with zero valency. As it might have become clear, task thread receives DAG nodes and decides which callback to call for it. Currently only BKE_object_handle_update is called for object nodes. In the future it'll call node->callback() from Ali's new DAG. - This required adding some workarounds to the render pipeline. Mainly to stop using get_object_dm() from modifiers' apply callback. Such a call was only a workaround for dependency graph glitch when rendering scene with, say, boolean modifiers before displaying this scene. Such change moves workaround from one place to another, so overall hackentropy remains the same. - Added paradigm of EvaluaitonContext. Currently it's more like just a more reliable replacement for G.is_rendering which fails in some circumstances. Future idea of this context is to also store all the local data needed for objects evaluation such as local time, Copy-on-Write data and so. There're two types of EvaluationContext: * Context used for viewport updated and owned by Main. In the future this context might be easily moved to Window or Screen to allo per-window/per-screen local time. * Context used by render engines to evaluate objects for render purposes. Render engine is an owner of this context. This context is passed to all object update routines. Reviewers: brecht, campbellbarton Reviewed By: brecht CC: lukastoenne Differential Revision: https://developer.blender.org/D94
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-06-19Followup to svn rev57551Sergey Sharybin
Perhaps real fix would be to make all parts of blender mandatory and not switchable off, so every area of code would be compiled and verified after no-functional-changes commits.
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-17use const pointers for file loading and booleans for animation system return ↵Campbell Barton
values passed as pointers.
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-01-27Operators name "cleanup"Dalai Felinto
The operator names all show up in the Search button. As such is nicer if they can all have the main words capitalized. e.g. "Snap strips" should be "Snap Strips" "Copy to clipboard" should be "Copy to Clipboard" This was done with a mix of bash tools, regex, and manual work because I'm too rushed into regex :) + fix bge stereo eye separation tooltip
2012-08-05code cleanup: remove redundant calls to CTX_data_main()Campbell Barton
2012-08-04style cleanupCampbell Barton
2012-06-07code cleanup: rename sequencer types to SEQ_TYPE_*** and use enums rather ↵Campbell Barton
then defines.
2012-05-24style cleanupCampbell Barton
2012-05-24fix for building without audaspaceCampbell Barton
2012-05-23Feature request implemented: [#31572] Mixdown selects blend filename, should ↵Joerg Mueller
initialize name from filetype as images do.
2012-05-05code cleanup: BKE_scene api naming.Campbell Barton
also stop numpy from being found in /usr/include with cmake.
2012-05-02style cleanup: whitespace, bracesCampbell Barton
2012-04-30style cleanup: re - ↵Campbell Barton
http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-28Correction to recent commmit related on splitting audio channels: ↵Sergey Sharybin
descriptions shouldn't end with dot.
2012-04-28Audio:Joerg Mueller
* Fix for [#31099] Audio in Meta-Strips Plays Beyond Strip Cut * Adding a split files option to the mixdown operator which then renders each channel into a separate file
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-17code cleanup: remove/comment some unused code.Campbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-03-03"Fix" [#30431] UI string spelling & similar fixes.Bastien Montagne
All suggested changes looked good to me, thx to Michael Färber for this list of changes!
2012-01-24Fix #29946: Recover Auto Save defaults to "Short List" View -- Cannot ↵Sergey Sharybin
determine dates Added option display_type to WM_operator_properties_filesel which defines which file display type (short/list/icons/default) should be used for file browser. All current operators are using FILE_DEFAULTDISPLAY display type which means display type will still be calculated based on type of opening file and user preferences settings. Recover Auto Save operator is now using long display type so file date can easily be checked now. Reviewed by Andrea, thanks!
2012-01-11rename RNA_property_is_set() --> RNA_struct_property_is_set() in preperation ↵Campbell Barton
to add a second version of the function which takes the property rather then its name.
2012-01-10comment unused varsCampbell Barton
2011-12-17Automatically update sound animation cache when doing a mixdown.Joerg Mueller
2011-11-22image save operator now shares settings and UI with render & image out node.Campbell Barton
details: - setting format options from python isnt possible anymore since this isnt exposed via op->properties, python should use image.save() function instead. - image save UI now hides 'Relative' option when copy is selected since it has no effect. - default image depth is set to 8 or more if the image has no float buffer, otherwise its set to 32 or less. other fixes: - image new was adding an image with a filepath set to "untitled", if this file happened to exist in the current directory a save on the generated image would overwrite it, now initialize to empty path. - BKE_ftype_to_imtype was returning an invalid value if ftype==0.
2011-10-28prefix common internal operator function names so its possible to assign ↵Campbell Barton
them breakpoints.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
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-08fix [#28846] Relative paths on linked scene failsCampbell Barton
2011-09-20tidy upCampbell Barton
- quiet some warnings - set some functions static - replace materialbyname with generic BLI_findstring call
2011-09-19/blender/editors: Removed final points in UI strings and messages.Bastien Montagne
Plus a few cuts in very long lines…