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
2014-01-18Send sequencer render context as const pointer rather than as valueSergey Sharybin
No functional changes just creepy to send rather huge structure by value.
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2014-01-08Sequencer: prevent unknown scopes from crashingCampbell Barton
2014-01-02Fix T38004: size of Waveform, Vectorscope and Histogram is incorrect in VSESergey Sharybin
Made it so scopes image buffer is displayed without any additional scale applied on them, Further tweaks are possible here, but that i'd consider a TODO.
2014-01-02Fix T38002: crash selecting a view mode for "Preview" in Sequence EditorSergey Sharybin
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-12-22Style Cleanup: remove preprocessor indentation (updated wiki style guide too)Campbell Barton
2013-12-13Implement GPU-side ditherSergey Sharybin
Summary: Uses some magic pseudo-random which is actually a texture coordinate hashing function. TODOs: - Dither noise is the same for all the frames. - It's different from Floyd's dither we've been using before. - Currently CPU and GPU dithering used different implementation. Ideally we need to use the same dither in CPU. Reviewers: brecht Reviewed By: brecht Differential Revision: http://developer.blender.org/D58
2013-12-04Fix T37690: UI does not immediatelly reflect new length of effect stripSergey Sharybin
2013-11-29Fix errors and inconsistencies in confirmation popup removal.Brecht Van Lommel
* Improve some clip editor messages * Remove popup for metastrips, seems unnecessary * Renamed some variables for consistency * Avoid unnecessary call to CTX_DATA_COUNT Reviewed By: sergey, campbellbarton, aligorith Differential Revision: http://developer.blender.org/D44
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-25UI: remove unnecessary confirmation popupsEmanuel Claesson
This makes a number of operators no longer ask for confirmation, rather it will show an info message after performing the operation. Ref T37422 for decision. In particular, these were changed: * Delete objects, bones, keyframes, masks, mask curves, motion tracks, markers. * Clear and delete keyframes in the 3D view. * Align bone to parents. * Separate bones from armature. * Group/ungroup metastrips in sequencer. * Copy/paste objects to/from buffer. Reviewed By: brecht, dingto Differential Revision: http://developer.blender.org/D35
2013-10-31code cleanup: spellingCampbell Barton
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-18Pampa Project request: FPS in sequencer editorSergey Sharybin
perhaps ED_scene_draw_fps is actually better to be placed to a better place, but consider this is good for now.
2013-10-12Option to overlay mask over the footageSergey Sharybin
Currently supports only two modes: - Show alpha channel of the mask - Multiply footage by the mask, which will give you final-looking combined image. TODO: Currently rasterization happens on every redraw, need to cache rasterized mask somewhere to make redraw more realtime.
2013-09-30Fix #36892: crash running "Sample Color" operator from 3D viewport when theBrecht Van Lommel
sequencer contained any data. The sequence color sample operator was available here when it shouldn't be.
2013-09-30lots of operator descriptions were incorrectly copy/pasted.Campbell Barton
update some descriptions, others were removed and operators tagged as internal. add a script to detect duplicate operator descriptions.
2013-09-23Fix #36800: closing render window during render crashes, the operator would beBrecht Van Lommel
cancelled before the job, causing invalid access to op->reports in the job thread.
2013-09-16fix [#36444] view3d.viewnumpad operator should not animateCampbell Barton
when running viewport operations with exec() rather then invoke(), perform the action immediately rather then using smoothview. makes viewport operations usable from python scripts.
2013-09-05Code cleanup: use boolean instead of int for colormanagementSergey Sharybin
2013-09-03Fix #36359: sequencer frame indicator not updating during animation render.Brecht Van Lommel
2013-09-03Color managed color didn't work properly for float sequencer frames.Sergey Sharybin
Like, it seems it never worked actually.
2013-07-28use '_exec' suffix for operator execute callbacks, also picky change to ↵Campbell Barton
sizeof() use in BLI_array.h
2013-07-24fix [#36262] Paste strip with video or sound content from another file ↵Campbell Barton
crashes Blender existing code was very stupid. - all ID pointers for clipboard strips are handled uniformly. - clipboard stores a duplicate ID pointer which are restored on paste. - restoring pointers... -- use ID's that are still in the database (copy&paste within the same file). -- fallback to name lookup. -- fallback to loading them from the original filepath (movie-clip and sound only). also fix bug pasting where initialing the sound wasn't done if there was no frame-offset.
2013-07-24pasting strips in the sequencer didn't check if they overlap existing strips.Campbell Barton
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-16fix for checking char arrays against NULL, instead check their first ↵Campbell Barton
character. also remove some dead code (return directly after return).
2013-07-15fix for bad lengths being passed to string functions.Campbell Barton
2013-07-15replace strncpy with BLI_strncpy for cases we expect the string to be NULL ↵Campbell Barton
terminated.
2013-07-13remove NULL checks on fixed size arrays, also was calling ↵Campbell Barton
BLI_testextensie_glob every time in the file selector with a blank string.
2013-07-06fix [#36027] Close gap shifts clip leaves keyframes behindCampbell Barton
2013-06-25Fix #35767: transforming nodes in the node editor changed the wireframe colorBrecht Van Lommel
of the active object in the 3D view. This was due to sharing a global G.moving flag to indicate that transform is active, now it's only set per transform data type so different editors don't influence each other.
2013-06-25Fix unnecessary 3D viewport redraws in various cases, in particular when editingBrecht Van Lommel
node materials. Area and region listener callbacks now get the screen and area pointers passed, so they can do more fine grained checks to see if redraw is really needed, for example depending on the 3D view drawtype.
2013-06-20Sequencer: fix names when adding several video (or audio) files at once (all ↵Bastien Montagne
strips were getting the same, annoying ;) ).
2013-06-02code cleanup: remove unused structCampbell Barton
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-18style cleanupCampbell Barton
2013-05-18Fix #35390: sequencer end frame of preview range was not drawing correct.Brecht Van Lommel
2013-05-17Fix for #35390 fix: sequencer scene start/end still did not display when ↵Brecht Van Lommel
they are equal.
2013-05-17code cleanup: use BM_elem_flag_test rather then accessing 'ele->head.hflag'Campbell Barton
2013-05-17Fix #35390: the verticel lines indicating scene start and end frame in theBrecht Van Lommel
sequencer now draw such that a strip that spans this time is contained just between these lines.
2013-05-11only use OSKEY as a replacement for CTRL on Apple (was already the case in ↵Campbell Barton
many areas).
2013-05-10Fix #35267: cmd+v, cmd+c on OS X for copy/paste worked in some editors like ↵Brecht Van Lommel
the 3D view and text editor but not in the animation editors, node editor and sequencer.
2013-04-29Changes to image draw method optionsSergey Sharybin
It's now default to 2D textures, and no AUTO mode at this moment, since detecting which method is the best not so simple. Image drawing could manually be switched to GLSL for tests and feedback, but for default GLSL is not so much great. Reason of this is huge images, where operations like panning becomes dead slow comparing GLSL vs. 2D texture.
2013-04-28Bug fix #35117Ton Roosendaal
Sequencer: Properties region didn't have the general Sequencer keymap, so it didn't respond to "Nkey" to hide the region.
2013-04-27Solve possible uninitialized variables usage in sequencer draw functionSergey Sharybin
2013-04-27Some color space issues in sequencer:Sergey Sharybin
Sequencer was always trying to do GLSL color space conversion, not respecting user settings at all. This failed a lot when RGB curves a used in color management settings. Now sequencer will fallback if GLSL can not be used and will also respect user settings (however, draw pixels are not supported, sequencer always uses 2D textures).
2013-04-26Fixes for color management:Sergey Sharybin
- Sequencer preview was clamping float buffers - ACES color space wasn't correct, was noticeable when applying display processor from linear space to display. - Extended sRGB LUT to sRGBf from nuke-default config. Makes sequencer behave much better in sRGB space.