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-17UI: tweak menu padding and make separator line more visible.Brecht Van Lommel
Adds some padding to the left of the icon, adds more space around the separator line and make it more visible, and add some spacing at the top and bottom of the menu. Ref T37794 Reviewed By: dingto, billrey Differential Revision: https://developer.blender.org/D223
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2014-01-15Python/Depsgraph: bpy.data.*.is_updated now detects add/remove of any datablock.Tom Edwards
Previously this only worked for some datablocks relevant to rendering, now it can be used to detect if any type of datablock was added or removed (but not yet to detect if it was modified, we need many more depsgraph tags for that). Most of the changes are some function parameter changes, the important parts are the DAG_id_type_tag calls. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D195
2014-01-15Code Cleanup: use iroundfCampbell Barton
also increase precision of rctf print functions
2014-01-15Fix uninitialised var warningJoshua Leung
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-24UI: Display alpha checkers in image info's color swatch.Campbell Barton
2013-12-18Fix T37843: area split widget missing in python console editor.Brecht Van Lommel
Python was indirectly causing redraw tags during drawing, which interfered with the ARegion.drawrct, now ignore these during draw.
2013-12-17Changes to partial update during renderingSergey Sharybin
Summary: Mainly addressed to solve old TODO with color managed fallback to CPU mode when displaying render result during rendering. That fallback was caused by the fact that partial image update was always acquiring image buffer for composite output and was only modifying display buffer directly. This was a big issue for Cycles rendering which renders layers one by one and wanted to display progress of each individual layer. This lead to situations when display buffer was based on what Cycles passes via RenderResult and didn't take layer/pass from image editor header into account. Now made it so image buffer which partial update is operating with always corresponds to what is set in image editor header. To make Cycles displaying progress of all the layers one by one made it so image_rect_update switches image editor user to newly rendering render layer. It happens only once when render engine starts rendering next render layer, so should not be annoying for navigation during rendering. Additional change to render engines was done to make it so they're able to merge composite output to final result without marking tile as done. This is done via do_merge_result argument to end_result() callback. This argument is optional so should not break script compatibility. Additional changes: - Partial display update for Blender Internal now happens from the same thread as tile rendering. This makes it so display conversion (which could be pretty heavy actually) is done in separate threads. Also gives better UI feedback when rendering easy scene with small tiles. - Avoid freeing/allocating byte buffer for render result if it's owned by the image buffer. Only mark it as invalid for color management. Saves loads of buffer re-allocations in cases when having several image editors opened with render result. This change in conjunction with the rest of the patch gave around 50%-100% speedup of render time when displaying non-combined pass during rendering on my laptop. - Partial display buffer update was wrong for buffers with number of channels different from 4. - Remove unused window from RenderJob. - Made image_buffer_rect_update static since it's only used in single file. Reviewers: brecht Reviewed By: brecht CC: dingto Differential Revision: http://developer.blender.org/D98
2013-12-17Fix for crash in toolbar tabs with only one tab definedCampbell Barton
2013-12-16UI: Tabs categories for panels (D75)Campbell Barton
- works by defining panel categories, currently restricted to the toolbar. - no panels define bl_categories yet, so no user visible changes since tabs only show when there are multiple. - panel pinning is available in rmb menu or alt+lmb.
2013-12-16Disable region overlap in movie clip editorSergey Sharybin
Before it was giving weird behavior with timeline in MCE and track preview widgets. But there's also no much benefit of having transparent toolbox there. Requested by our motrack guru Sebastian ages ago.
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-12Fix for off by one error noted by Anthony EdlinCampbell Barton
2013-12-11Fix T37777: layout.column_flow() not working correct with retina / DPI.Brecht Van Lommel
2013-12-11Code cleanup: assign win size to const vars and some renamingCampbell Barton
2013-12-10Fix T37463: Increasing window size would add space around menu headerCampbell Barton
2013-12-10Screen Resize: minor code cleanupCampbell Barton
2013-12-10Fix for off-by-one regression in D41Campbell Barton
making the window larger was using incorrect factor leaving a black bar on the window edge.
2013-12-10Style CleanupCampbell Barton
2013-12-09Fix T37727: z-offset problems with camera viewCampbell Barton
2013-12-07Fix T37722 - Can't undo deleting a screen layoutJoshua Leung
Operations on screen and UI stuff is not actually saved in the undo files/buffers. Therefore, these shouldn't have the flags set for getting included for undo and in the last operator settings.
2013-12-05User Interface: Ctrl+C over a menu copies the py commandCampbell Barton
also use bools rather then ints
2013-12-04Add alloca include for MSVCCampbell Barton
2013-12-04User interface: internal change, collect panels to draw before drawing.Campbell Barton
avoids calling poll twice, in some cases
2013-12-04Code Cleanup: correct fabsf/fabs/abs useCampbell Barton
2013-12-02Blender Font (BLF): add length argument to string width/height functionsCampbell Barton
This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR
2013-12-01Code Cleanup: make cpack into a function.Campbell Barton
2013-12-01Code Cleanup: replace ABS() with fabsf() when used with float expressions.Campbell Barton
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-25Fix: jump to next/previous marker shortcut keys conflicted with others in ↵Brecht Van Lommel
clip editor. Disable them for now and leave to for keymap revamp to assign them shortcut keys or not.
2013-11-25UI: fix errors in screen edge drawing, moving and region hiding.Anthony Edlin
Summary: - Fixes an off-by-one error in screen_test_scale() which causes the areas and regions to draw one pixel bigger on the right and top side of the window, therefor hiding one line of pixels. - Fixes an off-by-one error in rct_fits() which causes regions to incorrectly hide even though it would fit inside the area. - Correctly set the limits for the screen edge move operator so it will always go up to AREAMINX and headery. - Change screen_find_active_scredge() so it doesn't show the arrows cursor on the screen edges along the window border. The import thing to understand is how integer rects are used in this part of the code. They are constructed as a lower left and top right point and are INCLUSIVE. Meaning that if you have a rect's xmin = 10 and xmax = 30 then the total number of pixels is 21. So to get the size of a rect you have to do xmax - xmin + 1, which is easy to forget and result in off-by-one errors. Reviewed By: brecht Differential Revision: http://developer.blender.org/D41
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-11-18Fix T37506: Duplicate Area into New, was disabled on fullscreen but works ok.Campbell Barton
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-22style cleanupCampbell Barton
2013-10-21Jump to Next/Previous Marker operators in the timeline menu, shortcuts areBrecht Van Lommel
ctrl + shift + left/right arrow key. Patch #37142 by Henrik Aarnio, thanks!
2013-10-16style cleanupCampbell Barton
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-10-09Implementation of curve mapping in GLSLSergey Sharybin
The title says it all, now having curve mapping enabled in color management settings wouldn't force fallback from GLSL to CPU based color space conversion.
2013-10-04Code cleanup: remove unused functionSergey Sharybin
2013-10-01style edits and use macro for prefix checkCampbell Barton
2013-09-29Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crashBastien Montagne
Default default value for space types (0, i.e. SPACE_EMPTY) is not valid, use SPACE_VIEW3D instead.
2013-09-28Fix #36826: make screencast with quicktime output gave black flickering areas.Brecht Van Lommel
Problem was OpenGL buffer alpha channel, it's not used in most places and so not set to any meaningful value while drawing.
2013-09-24Fix #36783: click outside splash screen to close it would not highlight theBrecht Van Lommel
button under the mouse, and so clicking the button failed without first moving the mouse. Similar issues could happen with popups and switching windows. The problem is that a notifier was being used to deactivate possible other activated buttons, but as notifiers are delayed it could undo the correct activation too. If anyone notices hanging tooltips or other issues after this fix, please report them.
2013-09-14minor style clanup and use more meaningful name for 3DCONNEXION source code.Campbell Barton
2013-09-13Related to #36710: add a "use_viewport" option to the render operator, to ↵Brecht Van Lommel
specify if the layers and camera of the 3d viewport should be used. Python scripts don't always want this behavior.
2013-09-07rename cursor setting functions to make modal set/restore more clearly ↵Campbell Barton
related functions.
2013-09-05Code cleanup: use boolean instead of int for colormanagementSergey Sharybin
2013-09-04better fix for r59794, register a gesture when the mouse goes outside the ↵Campbell Barton
actionzone.