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
2015-01-13FileBrowser: Add an 'hidden file' icon, and use it instead of named checkbox ↵Bastien Montagne
for 'show hidden' param.
2015-01-12Fix T42754: File-Selector lost on fullscreen exitCampbell Barton
There was a hard-coded check to exit the fileselector when restoring a view. Now, when space types differ, flag areas as temporary and switch back to the previous type only in this case. This means you can select a file while having a file-selector space type open, and not loose it every time.
2015-01-12Second try to fix missing previews of mat/tex/etc. in .blend files.Bastien Montagne
This time, it's a dedicated operator user has to run before saving the file. And it recursively check all IDs linked from each scene, therefore rendering materials etc. previews using a scene they are used in. Note the renderengine issue is not completely addressed this way (existing code for icon previews seems to ignore completely other engines, and IDs not linked anywhere (fake-user ones) will be rendered with current scene's engine as fallback, also you can get a material linked to an hidden object in a scene, etc.). Reviewers: sergey, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D980
2015-01-10Transfer data: add modifier.Bastien Montagne
Not much to add, modifier uses same code as operator basically, only key difference is that modifier will never create data layers itself, you have to use dedicated operator for that.
2015-01-09Gooseberry animation request: Paste flipped pose in actionAntony Riakiotakis
and graph editor. This was a tricky commit that was not so straightforward to make work. The information for bones is not easy to come by in the animation curves, however we do have some string manipulation tricks to make it happen. Testing in gooseberry worked for the rigs there, commiting to master now
2015-01-07PyAPI: Call to get the pixel x,y in a text blockMartin Felke
This allows scripts to request the screen location of any (line, column) pair.
2015-01-07Ensure mat/tex/etc. previews are generated/saved in .blend files when ↵Bastien Montagne
enabled in userprefs. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D970
2015-01-04Sequencer: Preview dragging playhead over stripsCampbell Barton
Bring back the 2.4x feature. also show a highlight when a strip is being previewed.
2015-01-04Fix sequencer border-flickeringCampbell Barton
Offscreen viewport drawing wasn't properly restoring the theme. Add API calls to store/restore the theme so it can be temporarily overridden.
2015-01-03D824: Add themeing for keyframe lines in TimelineDiego Garcia
Reviewed by: Joshua Leung (aligorith)
2015-01-03Grease Pencil: Vertex size and colours are now themableJoshua Leung
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2015-01-01GPencil Editing: Copy and Paste selected stroke segments with Ctrl-C and Ctrl-VJoshua Leung
2014-12-29Move average stroke from sculpt session to unified paint settings so itAntony Riakiotakis
can be reused by other paint systems too.
2014-12-29Cleanup: get rid of sculpt minmax and reuse last stroke function (codeAntony Riakiotakis
did that anyway, just kept the result in an intermediate variable)
2014-12-25Refactor 'immediate search' featureBastien Montagne
Currently, code just checks whether a text-edited button uses a given icon (VIEWZOOM) to decide to apply changes on each typed char. This patch adds a propper button flag (UI_BUT_TEXTEDIT_UPDATE) and a dedicated RNA flag (PROP_TEXTEDIT_UPDATE) for that. It's also now usable not only for text buttons, but also for example for num buttons when in 'text edit' mode, etc. It also fixes an actual bug, which is for text properties, in 'immediate' mode, hitting escape would not restore org value, because `ui_apply_but_TEX()` would set its orgstr to NULL on first call (giving it to `but->rename_orig` instead of copying it). Note no change in behavior is expected from user POV. Update for addons using that 'VIEWZOOM' icon 'feature' will follow (if any). Reviewers: campbellbarton Reviewed By: campbellbarton Projects: #user_interface, #bf_blender:_next Differential Revision: https://developer.blender.org/D938
2014-12-20Fix T42961: GPencil - Refactor object/scene data behaviourjulianeisel
D937 with minor edits (whitespace only) @aligorith, I double checked everything runs smoothly, blame me if I missed something ;). Sorry for just taking the initiative and committing without talking to you, but I wasn't able to catch you the last days. This should be fixed before the release IMHO, but I don't think it's important enough to be committed during BCon5, so sorry again, but hopefully everything is okay :)
2014-12-11Fix T42859 smart UV unwrap does not support aspect correction.Antony Riakiotakis
Can be considered TODO but it's not bad to support either. Also added RNA api to get aspect ratio of assigned UV image - returns aspect corrected image dimensions so needs adjustments for uv editing.
2014-12-09Gooseberry request, circle select for graph editorAntony Riakiotakis
2014-12-09Fix T42857: Inconsistency between cache line visibility and ability to ↵Sergey Sharybin
change frame from image space
2014-12-08Cleanup: Minor edits to widget emboss codejulianeisel
* Rename "emboss" to "widget_emboss" * Remove duplicated UI_GetThemeColor4ubv function I made sure version bump and Save User Settings are working correctly ;P
2014-12-07Input Method Editor (IME) support for text buttonsSeverin
Original patch by @random (D765) with some minor work done by @campbell and me. At this place, I'd like call out a number of people who were involved and deserve a big "Thank you!": * At the first place @randon who developed and submitted the patch * The Blendercn community which helped a lot with testing - espacially * @yuzukyo, @leon_cheung and @kjym3 * @campbellbarton, @mont29 and @sergey for their help and advises during * review * @ton who realized the importance of this early on and asked me for * reviewing We are still not finished, as this is only the first part of the implementaion, but there's more to come!
2014-12-05Grease Pencil sketches get included when doing OpenGL previews for scene ↵Joshua Leung
strips in sequencer After double checking the sequencer code, there doesn't seem to be any reason to exclude these from the sequencer previews. This makes it possible to use the sequencer to non-destructively chain together difference Grease Pencil animated shots together without having to render each image sequence first, allowing for a smoother workflow. Just in case the initial assumption isn't entirely correct, I've put in place an extra arg to the relevant functions which can be hooked up to a suitable option on the scene strip later to turn this on/off as needed.
2014-12-02Fix rare crash dragging number-buttonsCampbell Barton
Could happen dragging shape-keys UIList & the lower slider at once.
2014-11-30Removing last vestigial remains of old C-based UI for Grease PencilJoshua Leung
I'd kept the code around in the codebase until after the merge back to master to avoid having too many conflicts if things changed there (or in case we needed to roll back). Now, it's safe to jettison this!
2014-11-30Grease Pencil - Storyboarding Features (merge from GPencil_EditStrokes branch)Joshua Leung
This merge-commit brings in a number of new features and workflow/UI improvements for working with Grease Pencil. While these were originally targetted at improving the workflow for creating 3D storyboards in Blender using the Grease Pencil, many of these changes should also prove useful in other workflows too. The main highlights here are: 1) It is now possible to edit Grease Pencil strokes - Use D Tab, or toggle the "Enable Editing" toggles in the Toolbar/Properties regions to enter "Stroke Edit Mode". In this mode, many common editing tools will operate on Grease Pencil stroke points instead. - Tools implemented include Select, Select All/Border/Circle/Linked/More/Less, Grab, Rotate, Scale, Bend, Shear, To Sphere, Mirror, Duplicate, Delete. - Proportional Editing works when using the transform tools 2) Grease Pencil stroke settings can now be animated NOTE: Currently drivers don't work, but if time allows, this may still be added before the release. 3) Strokes can be drawn with "filled" interiors, using a separate set of colour/opacity settings to the ones used for the lines themselves. This makes use of OpenGL filled polys, which has the limitation of only being able to fill convex shapes. Some artifacts may be visible on concave shapes (e.g. pacman's mouth will be overdrawn) 4) "Volumetric Strokes" - An alternative drawing technique for stroke drawing has been added which draws strokes as a series of screen-aligned discs. While this was originally a partial experimental technique at getting better quality 3D lines, the effects possible using this technique were interesting enough to warrant making this a dedicated feature. Best results when partial opacity and large stroke widths are used. 5) Improved Onion Skinning Support - Different colours can be selected for the before/after ghosts. To do so, enable the "colour wheel" toggle beside the Onion Skinning toggle, and set the colours accordingly. - Different numbers of ghosts can be shown before/after the current frame 6) Grease Pencil datablocks are now attached to the scene by default instead of the active object. - For a long time, the object-attachment has proved to be quite problematic for users to keep track of. Now that this is done at scene level, it is easier for most users to use. - An exception for old files (and for any addons which may benefit from object attachment instead), is that if the active object has a Grease Pencil datablock, that will be used instead. - It is not currently possible to choose object-attachment from the UI, but it is simple to do this from the console instead, by doing: context.active_object.grease_pencil = bpy.data.grease_pencil["blah"] 7) Various UI Cleanups - The layers UI has been cleaned up to use a list instead of the nested-panels design. Apart from saving space, this is also much nicer to look at now. - The UI code is now all defined in Python. To support this, it has been necessary to add some new context properties to make it easier to access these settings. e.g. "gpencil_data" for the datablock "active_gpencil_layer" and "active_gpencil_frame" for active data, "editable_gpencil_strokes" for the strokes that can be edited - The "stroke placement/alignment" settings (previously "Drawing Settings" at the bottom of the Grease Pencil panel in the Properties Region) is now located in the toolbar. These were more toolsettings than properties for how GPencil got drawn. - "Use Sketching Sessions" has been renamed "Continuous Drawing", as per a suggestion for an earlier discussion on developer.blender.org - By default, the painting operator will wait for a mouse button to be pressed before it starts creating the stroke. This is to make it easier to include this operator in various toolbars/menus/etc. To get it immediately starting (as when you hold down DKEy to draw), set "wait_for_input" to False. - GPencil Layers can be rearranged in the "Grease Pencil" mode of the Action Editor - Toolbar panels have been added to all the other editors which support these. 8) Pie menus for quick-access to tools A set of experimental pie menus has been included for quick access to many tools and settings. It is not necessary to use these to get things done, but they have been designed to help make certain common tasks easier. - Ctrl-D = The main pie menu. Reveals tools in a context sensitive and spatially stable manner. - D Q = "Quick Settings" pie. This allows quick access to the active layer's settings. Notably, colours, thickness, and turning onion skinning on/off.
2014-11-24UI: avoid property lookup for uiItemMenuEnumRCampbell Barton
2014-11-20Cleanup: ints/shorts -> bool.Bastien Montagne
2014-11-20Fix color tweaking in vertex painting not getting an undo push (wouldAntony Riakiotakis
cause color reset between strokes)
2014-11-19Refactor: Move part of vgroup handling code from ED_mesh/object_vgroup.c to ↵Bastien Montagne
BKE_object_deform. Along with some minor cleanup and simplifications. Reviewers: campbellbarton Subscribers: sergey Differential Revision: https://developer.blender.org/D903
2014-11-18Make it possible to use preview/viewport render job kill without contextSergey Sharybin
2014-11-17Cleanup: Shapekey: get rid of `ED_vgroup_object_is_edit_mode()`Bastien Montagne
It was doing exactly the same thing as `BKE_object_is_in_editmode_vgroup()`, tsst...
2014-11-15UI: cleanup next/prev order in menu codeCampbell Barton
Recent flag re-order broke it since bits overlap, but logic here was far too complicated & fragile, Checked the type of each button when testing which direction to handle events as well as block direction. Now store the block-flipped state as a flag.
2014-11-15Cleanup: remove unused redraw flagCampbell Barton
2014-11-11UI: order & comment eButTypeCampbell Barton
2014-11-11UI: remove unused emboss-table defineCampbell Barton
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-11-09Cleanup: remove unused UI_SHIFT_FLIPPED (2.4x toolbox)Campbell Barton
2014-11-06Editmesh: select more/less can now step over adjacent facesCampbell Barton
This keeps a square shaped selection when using grid topology.
2014-11-02OpenGL: double width lines is no-longer apple-onlyCampbell Barton
2014-10-31Cleanup: namingCampbell Barton
2014-10-31Texture Paint Add Simple UVs:Antony Riakiotakis
Add simple uvs now does a cube unwrap and pack operation. Result is not optimal by far but it should not result in crashes and it will be quite usable for simple cases.
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-10-28Cleanup: rename draw_markers_time -> ED_markers_drawCampbell Barton
2014-10-28Markers: show the area that handles marker eventsCampbell Barton
2014-10-28Cleanup: use SELECT flagCampbell Barton
2014-10-28Fix T41041: 'Delete keyframe' removes markers tooCampbell Barton
Operators that trigger UI events (but nothing else) were using 'CANCELLED' making it impossible to tell if an invoke function failed, or opened a menu.
2014-10-27Add Theme Option for UI EmbossJonathan Williamson
This adds a theme option for the embossing of UI widgets. By doing this users have much greater flexibility for creating nice themes. Previously many themes (particularly dark ones) looked quite bad due to the very obvious emboss. This made simpler, flat-style themes very challenging. Closes T42228 Reviewed by @campbellbarton
2014-10-21UI Icons: add 'triangle-bar' left/right/up/down icons.Bastien Montagne
2014-10-14Fullscreen Editor (new fullscreen mode for clean UI)Dalai Felinto
Organize Maximize/Fullscreen mess and add a new fullscreen mode with no UI * Maximize Editor: (old Ctrl+Up) * Full Screen Window: (old Alt + F11) * Full Screen Editor: new operator (Alt + F10) * Change Show/Hide Header: (Alt + F9) When the mode is on moving the mouse near the top right corner of the editor shows an icon to go back to the normal editor mode. This was originally intended for the multiview branch, but this functionality also benefits non-stereo workflows, thus it can be reviewed and committed independently. Development notes: * This includes cleanups in the code to sanitize the naming of fullscreen/maximize across the window/editor code. * Originally the idea was to make the window fullscreen as well, but this idea was dropped. * You can see the clicking area when debug is 1 * Technically the user can be left with an unfaded icon in the corner (specially when using a tablet). If we think this is too bad we can increase the action zone to be the whole screen, or something similar. Reviewers: campbellbarton [1], ton [2], fsiddi [2] [1] actual code review [2] design review Differential Revision: https://developer.blender.org/D678