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
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2017-09-20Fix missing ID remapping in Action editor callback.Bastien Montagne
Spotted by Joshua Leung (@aligorith), thanks! Should probably be backported to 2.79a should we do it.
2016-12-28Fix T50184: Grease Pencil Layer synchronization between Dope Sheet and ↵Joshua Leung
Properties panel
2016-06-22ID-Remap - Step one: core work (cleanup and rework of generic ID datablock ↵Bastien Montagne
handling). This commit changes a lot of how IDs are handled internally, especially the unlinking/freeing processes. So far, this was very fuzy, to summarize cleanly deleting or replacing a datablock was pretty much impossible, except for a few special cases. Also, unlinking was handled by each datatype, in a rather messy and prone-to-errors way (quite a few ID usages were missed or wrongly handled that way). One of the main goal of id-remap branch was to cleanup this, and fatorize ID links handling by using library_query utils to allow generic handling of those, which is now the case (now, generic ID links handling is only "knwon" from readfile.c and library_query.c). This commit also adds backends to allow live replacement and deletion of datablocks in Blender (so-called 'remapping' process, where we replace all usages of a given ID pointer by a new one, or NULL one in case of unlinking). This will allow nice new features, like ability to easily reload or relocate libraries, real immediate deletion of datablocks in blender, replacement of one datablock by another, etc. Some of those are for next commits. A word of warning: this commit is highly risky, because it affects potentially a lot in Blender core. Though it was tested rather deeply, being totally impossible to check all possible ID usage cases, it's likely there are some remaining issues and bugs in new code... Please report them! ;) Review task: D2027 (https://developer.blender.org/D2027). Reviewed by campbellbarton, thanks a bunch.
2016-05-08Action Editor: Initial support for a Properties RegionJoshua Leung
This commit adds some of the initial support for a properties region in the Action Editor. There are currently no panels to display, as there is still a lot of work required to port over the required internal architecture to support the panels seen in the Graph Editor.
2016-02-08Fix: Renaming Grease Pencil layers doesn't update the Dopesheet Channels RegionJoshua Leung
2016-01-22Dopesheet: Make frame range for new editor instances saner, by basing them ↵Joshua Leung
on the current frame range This brings the dopesheet more in line with the NLA and Graph Editors, where similar initial ranges were also used. The benefit is that it should save animators a small amount of time getting the dopesheet timeline into the right zoom level before starting work.
2015-11-28Cleanup: 'area' vs 'region'Julian Eisel
Apparently this is the result of some sloppiness during 2.5 project and since then it confused people who were trying to understand the area-region relation (myself included). Sorry if this causes merge conflicts for anyone, but at some point we really had to do it :/
2014-10-28Cleanup: rename draw_markers_time -> ED_markers_drawCampbell Barton
2014-10-28Markers: show the area that handles marker eventsCampbell Barton
2014-06-24Ctrl-F now activates the filter-by-name functionality for Animation EditorsJoshua Leung
2014-04-24Quiet warningCampbell Barton
2014-04-24Fix T39851: F-curve noise modifier on a bone: change selection when ↵Joshua Leung
modifying value When the dopesheet was open, "keyframe edited" events from the graph editor (i.e. fired whenever any properties on keyframes or FModifiers are changed) would trigger the dopesheet to synchronise selection states of anim channels and ensure that FCurve autocolours are initialised correctly. This however was undesired when editing properties in the graph editor. Now, made it so that keyframe adding/removing operators use different notifier flags to specify that the channels might have changed + need colour syncing, and adjusted the dopesheet updating logic to fit
2014-02-14Code cleanup: duplicate headersCampbell Barton
2014-01-08Fix T38105: Action Editor refresh is missing when a keyframe is inserted in ↵Thomas Beck
3D view When yiz insert a keyframe (on a location keying set f.e.) in the 3D-view and you got an action editor open then the action datablock is not changed (displaying only the button "new") until you hover the action editor with the mouse. Added a handler in the action_header_area_listener to handle this case If non-obvious, some technical note about what the cause of the bug was and how it was solved.
2013-11-05Bugfix [#37304] Arrow Keys Stop Working When Mouse Over OutlinerJoshua Leung
Frame change hotkeys now work in the following places: 1) Outliner - Main region 2) Action/NLA Editors - Channels Region 3) Info View - Reports region Other places identified by the bugreport (but which I've decided to leave alone): - Text Editor (when no file open) - The way the keymaps work here means that this can't be done without affecting normal text editing - File Browser - What's the point of changing frames when you're about to open/save the file? - User Prefs - Is there any real point here either? Also, this is usually shown in a separate window.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
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-05-18Fix #35390: sequencer end frame of preview range was not drawing correct.Brecht Van Lommel
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton
2013-04-10Fix #34941: Space.draw_handler_add now supports PRE_VIEW and POST_VIEW callbacksBrecht Van Lommel
for more editors: timeline, graph, action, NLA, sequencer, image, clip.
2012-12-26Region scrollbar fix!Ton Roosendaal
Now scrollbars correctly hide and show, making space for the actual contents in a region. It solves several old hacks, and puts view2d code a bit more back in control as well. Implementation notes: - The view2d mask feature is working again - The #define V2D_SCROLL_HORIZONTAL_HIDE means: "turn on hiding". - Code for UI_view2d_region_reinit() is enforcing better standard view settings But... two hack/patches needed to be added: - Region panel drawing: if after generating the button panels it appears a scroller hides or reveils, it calls all the generating code again. (a simple scale doesn't work due to rounding differences in layout code) - View2d code that maps 'tot' and 'cur' rects: if this code detects that the mask changes, it calcs the map code again. Also a bugfix (issue in 2.65) - The left/bottom area split widget was drawing 1 pixel too large sometimes, leaving bad trails on moving area dividers.
2012-10-26style cleanupCampbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-05Grease Pencil notifier/listener cleanupDan Eicher
As suggested by Campbell on the IRC gave grease pencil its own notifier type (NC_GPENCIL) and made the makesrna notifier functions actually update properly. Also got the #ifdef'd GreasePencil.layers.[new/remove] functions working.
2012-09-24inserting mask keyframes wasn't redrawing with the dope sheetCampbell Barton
2012-07-29style cleanupCampbell Barton
2012-06-11Bugfix [#28962] Changing actions via undo/delete all keyframes lacks UI refreshJoshua Leung
Slightly hacky fix to get updates working for Action Editor header when there are changes of the active action (via undo and/or deleting all keyframes at once). Since the action referenced by the editor only gets updated when anim channel filtering (e.g. as a result of the channel syncing operation) is invoked. Added comments noting where these updates actually occur
2012-06-08add listener in action space for mask changes so dopesheet redraws + other ↵Campbell Barton
minor changes.
2012-05-08style cleanup: space actionCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-08style cleanup - spelling.Campbell Barton
2011-08-14Show dopesheet summary for new DopeSheet editorsJoshua Leung
While I originally made these so that they wouldn't be on by default due to concerns over the filtering used for these leading to reduced framerates/interactive speed, I'd since found while doing some profiling that this isn't the case. Rather, decreased framerates were more likely to stem from trying to perform the checks necessary for the long-keyframe drawing when many "child" channels are involved (affecting other channels too). So, since these are generally useful, they are now enabled by default :)
2011-08-12Bye bye vile relics of extinct version control systems,Joshua Leung
Causing a flurry of refresh file prompts post-commit, Confusing local diffs and causing merge conflicts, Stating the obvious; redundant and useless... We shall not miss thou, blasted expand $keywords$
2011-06-27Bugfix: Selecting nodes now updates animation editorsJoshua Leung
Noticed while testing the material nodes commit
2011-06-04Code holiday commit:Ton Roosendaal
- fix: user pref, window title was reset to 'Blender' on tab usage - Undo history menu back: - name "Undo History" - hotkey alt+ctrl+z (alt+apple+z for mac) - works like 2.4x, only for global undo, editmode and particle edit. - Menu scroll - for small windows or screens, popup menus now allow to display all items, using internal scrolling - works with a timer, scrolling 10 items per second when mouse is over the top or bottom arrow - if menu is too big to display, it now draws to top or bottom, based on largest available space. - also works for hotkey driven pop up menus. - User pref "DPI" follows widget/layout size - widgets & headers now become bigger and smaller, to match 'dpi' font sizes. Works well to match UI to monitor size. - note that icons can get fuzzy, we need better mipmaps for it
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-19Bugfix [#25960] .1 Action Editor header doesn't update when enteringJoshua Leung
tweakmode on NLA Strips
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-26Bugfix: In Action Editor, when "show pose markers" was enabled, allJoshua Leung
markers were always drawn as local pose-markers, even when they were not.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-01-11Todo #22395: Restoring Grease Pencil Editing Mode in DopeSheet EditorJoshua Leung
This commit restores some basic functionality for retiming Grease Pencil sketches. Some of the functionality that existed before still hasn't been restored (namely snap/mirror tools as well as copy+paste), though it should be possible to use this for basic retiming and sketch-frame management again. - There's still a lot of work required to get this up to the standard of the rest of the animation editor code, as some of this code was originally just hacked in based on the old-style code. - Work is already required to not have to directly access the main db global to get the list of Grease Pencil datablocks to show, but that can come along with pending cleanups of the filtering code.
2011-01-10Restoring "Pose Markers"Joshua Leung
These were markers which belonged to an action instead of the scene, and are used by PoseLib to keep track of where poses are. To restore this, I've made this only available in Action/Shapekey Editor modes, and only when an action is being shown and the "Show Pose Markers" option in the Markers menu has been enabled. Other than that, all the standard marker operators apply now (instead of using a separate set of special operators).
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.