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-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-07-26WM: Add operator property poll callbackCampbell Barton
This allows operators to filter out properties from the auto-generated draw functions. Some custom draw functions can move to using this.
2018-07-06fix c++ comment style in 3cc2a9b934d0Philipp Oeser
2018-07-06Fix T55581: kill running (render) jobs when deleting a scenePhilipp Oeser
also fixed passing WM_JOB_TYPE_ANY to WM_jobs_kill_type() Reviewed By: brecht Differential Revision: https://developer.blender.org/D3498
2018-07-02Screen: support splitting from floating menuCampbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-29WM: Remove Screen CastCampbell Barton
This feature is better handled by specialized tools.
2018-06-20Cleanup: naming (make it clear vars are squared)Campbell Barton
2018-06-20Screen: split ED_area_actionzone_find_xyCampbell Barton
Add ED_area_actionzone_refresh_xy which can tag redraw find no longer changes changes to the action zone.
2018-06-20Cleanup: rename is_in_area_actionzoneCampbell Barton
2018-06-17Cleanup: BLI path extension APICampbell Barton
Use BLI_path_extension_* prefix.
2018-06-13Fix undo group to use human readable name, since this shows in the UI.Brecht Van Lommel
2018-06-12WM: remove sloppy region type accessCampbell Barton
Avoid accidentally operating on the wrong region type.
2018-06-12WM: rename BKE_regiontype_from_idCampbell Barton
This returns the first as a fallback, causing confusing usage. Renamed and added a version of the function that doesn't.
2018-06-07Cleanup: Nuke moar G.main usages...Bastien Montagne
2018-06-05Cleanup: use new accessors to blendfile path (Main.name).Bastien Montagne
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.
2018-05-243D View: remove poll 3D view for copy/pasteCampbell Barton
These operators only need selected objects.
2018-05-15Undo System: remove nested edit-mode undo callsCampbell Barton
Regression in recent undo system changes, This caused T55048. When each mode had its own undo stack it was important to initialize it when entering edit-mode.
2018-04-16Cleanup: indentationCampbell Barton
2018-04-15Cleanup: ED_armature namingCampbell Barton
- Wasn't clear which functions handle edit-bones. - Mixed both ebone and edit_bone in names. - Didn't use ED_armature_* prefix for public API. See P655 to apply to branches.
2018-04-09UI: Clamp scrollbar offset to lower view boundariesJulian Eisel
Fixes the "emtpy scrolling" glitch by clamping the scroller offset to the boundary of the view when it's smaller than the previous. Fixes T45197. Patch by @januz. Differential Revision: D1580
2018-04-05IMB_metadata improvementsSybren A. Stüvel
- Metadata handling is now separate from `ImBuf *`, allowing it to be used with a generic `IDProperty *`. - Merged `IMB_metadata_add_field()` and `IMB_metadata_change_field()` into a more robust `IMB_metadata_set_field()`. This new function doesn't return any status (it now always succeeds, and the previously existing return value was never checked anyway). - Removed `IMB_metadata_del_field()` as it was never actually used anywhere. - Use `IMB_metadata_ensure()` instead of having `IMB_metadata_set_field()` create the containing `IDProperty` for you. - Deduplicated function declarations, moved `intern/IMB_metadata.h` out of `intern/`. Note that this does mean that we have some extra `#include "IMB_metadata.h"` lines now, as the metadata functions are no longer declared in `IMB_imbuf.h`. - Deduplicated function declarations, all metadata-related declarations are now in imbuf/IMB_metadata.h. Part of: https://developer.blender.org/D2273 Reviewed by: @campbellbarton
2018-04-02Cleanup: move undo into it's own directoryCampbell Barton
Split out undo API from ED_util.h into ED_undo.h
2018-03-23Cleanup: stray tabsCampbell Barton
Tabs in middle of code (mostly for no reason / by accident).
2018-01-23Fix screen split refresh issuesGermano
`Ctrl` (enable snapping) ans `TAB` (Switching direction) didn't refresh.
2018-01-22Cleanup: unused varCampbell Barton
2018-01-21Update description of the screen_draw functionsGermano
2018-01-21WM: Fix snapping on split area without previewGermano
In addition to removing unnecessary variables and `tag_redraw` whenever the factor changes;
2018-01-20Cleanup: doxy groups for screen_ops.cCampbell Barton
2018-01-20Fix screen split preview refresh issuesCampbell Barton
Switching direction didn't refresh, also cursors were flipped.
2018-01-19Cleanup: sync w/ blender2.8 branchCampbell Barton
Split screen_draw.c from screen_edit.c (avoid conflicts syncing).
2018-01-19WM: window draw callbacks and split preview snapmano-wii
This moves window overlay from hard coded flags into drawing callbacks. It also supports snapping (holding Ctrl).
2018-01-18WM: improved area resize snappingmano-wii
Instead of 10px steps, snap to mid-point & adjacent edges. Not yet implemented for split preview.
2018-01-12User Prefs: add new flag for app-template optionsCampbell Barton
For experimental options, outside the scope of typical preferences. While templates are developed we might want to make changes to behavior which aren't fully compatible with typical work-flows. Instead of mixing these options in with current preferences expose separately (we could even force disable them when templates aren't int use)
2018-01-11UI: option not to show screen splitting widgetsCampbell Barton
Request for simplified Blender template, this may be extended to limit access to other UI changes that could be pressed by accident.
2017-11-06Rename ID_IS_LINKED_DATABLOCK to ID_IS_LINKED.Bastien Montagne
This makes code closer to id_override/assent-engine ones, which introduce a new type of linked data, and hence reserve ID_IS_LINKED_DATABLOCK to real linked datablocks.
2017-10-31UI: replace UI_ITEM_O_RETURN_PROPS /w return argCampbell Barton
Means we can have a version of this function that returns the button and avoids returning a struct that often isn't used.
2017-10-26Remove SCREEN_OT_header_flip, use SCREEN_OT_region_flip insteadJulian Eisel
Basically reverts rB65c4149f203610 and fixes the issue in a better way. Keymaps using the removed operator will be affected. Switching header from top to bottom now has the shortcut F5, just like switching other regions.
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-16Cleanup: modal operator border callback namesCampbell Barton
Use same convention as all others. Remove 'select' since these are used for zoom as well.
2017-10-14Cleanup: use const for eventsCampbell Barton
2017-10-12Fix T53052: ID decrement error when deleting a scene, either python or GUI.Bastien Montagne
User count of scenes was inconsistant, screens only have 'user_one' kind of owning over scenes, which means they shall never increment or decrement their real user count. And usually, scenes have no real user at all.
2017-10-06Cleanup: styleCampbell Barton
2017-09-06Fix mistake in previous fix for T52640.Brecht Van Lommel
2017-09-06Fix T52640: crash when opening image file browser in some cases.Brecht Van Lommel
There was some invalid state in the screen here, some areas had sa->full set even though no screen was maximized, which then caused a restore from the wrong (empty) area, which then led to spacedata being empty and a crash. This fix properly clears the sa->full after restore, and also fixes existing .blend files in such an invalid state.