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-29Option to lock the interface while renderingSergey Sharybin
Added function called WM_set_locked_interface which does two things: - Prevents event queue from being handled, so no operators (see below) or values are even possible to run or change. This prevents any kind of "destructive" action performed from user while rendering. - Locks interface refresh for regions which does have lock set to truth in their template. Currently it's just a 3D viewport, but in the future more regions could be considered unsafe, or we could want to lock different parts of interface when doing different jobs. This is needed because 3D viewport could be using or changing the same data as renderer currently uses, leading to threading conflict. Notifiers are still allowed to handle, so render progress is seen on the screen, but would need to doublecheck on this, in terms some notifiers could be changing the data. For now interface locking happens for render job only in case "Lock Interface" checkbox is enabled. Other tools like backing would also benefit of this option. It is possible to mark operator as safe to be used in locked interface mode by adding OPTYPE_ALLOW_LOCKED bit to operator template flags. This bit is completely handled by wm_evem_system, not with operator run routines, so it's still possible to run operators from drivers and handlers. Currently allowed image editor navigation and zooming. Reviewers: brecht, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D142
2014-01-28File Reading: add revert operatorCampbell Barton
Patch D247 by Evans Jahja with edits
2014-01-28File Reading: add wrapper function for WM_file_readCampbell Barton
also return cancelled when an operator fails to load a file
2014-01-28Fix T38367: operators activated from popups didnt reuse settingsCampbell Barton
2014-01-28Fix T38381, Fix T38184: key events getting lost when modal operator is running.Brecht Van Lommel
There is a hack for modal keymaps and double click events, which was (ab)using the wmEvent.prevval variable to temporarily assign it KM_DBL_CLICK indicating that the double click event was disabled. However the value of prevval can actually be KM_DBL_CLICK in other circumstances too, which caused a key press event to get converted to a double click event.
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-27Implement clipboard for mask splinesSergey Sharybin
So now it's possible to copy-paste splines between layers. Implementation is pretty much straightforward and duplicates some logic which we've got in sequencer/tracking clipboards. Will work on a common routine for clipboards later, for now it's not so much crucial to have.
2014-01-23Fix T38042: Keymap crash after reloading operatorsCampbell Barton
After some investigation with mont29, seems like the best way to ensure keymaps point to valid operators is using WM_keyconfig_update().
2014-01-23WM: add WM_operatortype_remove_ptr to remove a known operatorCampbell Barton
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2014-01-20Fix T37967: autosave does not save dynamic topology edits while in sculpt mode.Brecht Van Lommel
2014-01-20Fix T38269: scene full copy in mesh edit or sculpt mode did not copy mesh edits.Brecht Van Lommel
2014-01-20Correction for recent commit clearing font cacheCampbell Barton
- move cache reset into view2d and comment about the rationale for resetting cache there. - missed other places where view2d zoom level can change (smoothview, borderzoom, home and file reload) - comment about DPI wasn't correct.
2014-01-20Fix for saving startup file ignoring editmode/sculpt editsCampbell Barton
2014-01-19Docs: doxygen file descriptions for BLF, GPU and WMCampbell Barton
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-17Code Cleanup: spellingCampbell Barton
2014-01-16Code Cleanup: no need to pass empty strings as default valuesCampbell Barton
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-15Code Cleanup: avoid duplicate calls to WM_window_pixels_x/yCampbell Barton
2014-01-15Cleanup: some boolean int to real bool.Bastien Montagne
2014-01-13Select Random: add option to de-selectCampbell Barton
also made metaball operator behave like the others. Path originally from Walid Shouman, with own edits.
2014-01-13Fix some harmless warnings that mostly appeared on MinGW64Antony Riakiotakis
2014-01-11Code Cleanup: move MOUSEX/Y to BGE, describe INBETWEEN_MOUSEMOVECampbell Barton
2014-01-11Events: support for buttons 6 & 7 (some trackballs have these) X11 onlyCampbell Barton
Patch by Marcus von Appen Note: this patch makes ISMOUSE accept INBETWEEN_MOUSEMOVE as a mouse event where before it didnt.
2014-01-11Events: Use INBETWEEN_MOUSEMOVE for inactive windows too.Campbell Barton
2014-01-08Fix T38108: blender freeze in remembering operator properties.Brecht Van Lommel
2014-01-08Code Cleanup: de-duplicate text pasting which only used the first lineCampbell Barton
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2014-01-01Fix wrongly shorten labels in splash (allocated size was a bit too small, ↵Bastien Montagne
rB3c6b5b72a497).
2013-12-31Fix T37947: large cursors now also work on linux/mac for the edit mode cross.Brecht Van Lommel
2013-12-30Main API: refactor naming, use BKE_main_ prefix and add main arg.Campbell 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-12-22Style Cleanup: remove preprocessor indentation (updated wiki style guide too)Campbell Barton
2013-12-20Fix bookmarks not appearing in file browser after "copy previous settings".Brecht Van Lommel
2013-12-19Change recent fix for T37864, now only check if the file is readonlyCampbell Barton
Other error cases are already handled elsewhere
2013-12-19Fix for T37864, save/save_as blend now refuses to save and report an error, ↵Thomas Dinges
when filepath is not writeable.
2013-12-18Game Engine: Level of detail support and toolsDaniel Stokes
Levels of detail can be added and modified in the object panel. The object panel also contains new tools for generating levels of detail, setting up levels of detail based on object names (useful for importing), and clearing an object's level of detail settings. This is meant as a game engine feature, though the level of details settings can be previewed in the viewport. Reviewed By: moguri, nexyon, brecht Differential Revision: http://developer.blender.org/D109
2013-12-12Radial control operator support for pixel propertiesAntony Riakiotakis
2013-12-12Fix T37595: Switching modal transform broke with trackball rotation.Campbell Barton
Id properties may have different sized "values" array depending on the transform operator
2013-12-11Code cleanup: assign win size to const vars and some renamingCampbell Barton
2013-12-10Style CleanupCampbell Barton
2013-12-09Tooltips: abbreviate long python operator tooltipsWalid Shouman
Some tooltips would end up containing long string/array args spanning the screen.
2013-12-08Fix T37731: some window manager operators unnecessarily required a window to ↵Brecht Van Lommel
be active.
2013-12-05Correction to fix of T37688Sergey Sharybin
rB68d39a262c90 didn't check correct file for doing versioning code. It shall check userprefs.blend not startup.blend.
2013-12-05Fix T37688: User Preferences do not load correctlySergey Sharybin
Issue was caused by from_memory=true passing to wm_homefile_read in case there's a configuration folder for current blender. But the thing is, we still might fallback to reading home file from memory (i.e. in cases there's no startup.blend in config folder). In this case we still need to run versioning code for userprefs.
2013-12-05User Interface: Ctrl+C over a menu copies the py commandCampbell Barton
also use bools rather then ints
2013-12-02Correct previous commit with BLF & buildinfoCampbell Barton