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
2019-01-24Fix T59972: UV live unwrap does not pack islands.Brecht Van Lommel
Packing was not being called after multi-object editing changes. Includes code refactoring to make function parameters more clear.
2019-01-233D View: draw clipping regionCampbell Barton
Only for workbench solid/wire modes.
2019-01-233D View: add back clipping draw code (disabled)Campbell Barton
Disabled for now because of draw-order issues. Also move clipping test out of view3d_draw_legacy.c
2019-01-18Fix/workaround: Undo erase all dyntopo changesCampbell Barton
Memfile undo isn't compatible with sculpt or edit-mode. This didn't work in 2.7x, so best disable memfile undo for now in situations where it's going to loose data or crash.
2019-01-17Preferences: fit a little better when opened in place of properties editor.Brecht Van Lommel
2019-01-16Fix uninitialized cursor w/ setting object originCampbell Barton
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-15Fix T60410: Crash adjusting torus w/ enter edit-mode preferenceCampbell Barton
2019-01-15Cleanup: pass main instead of context w/ ED_editors_exit/flush_editsCampbell Barton
Useful for calling from lower level code.
2019-01-14Cleanup: move comments above definitions, use enumCampbell Barton
For clang-format not to wrap definitions.
2019-01-11Fix T57371: Generative modifiers in editmode display vertex group weightsClément Foucault
In a better way... 6dbfd7f6d6bc would make the final vertex weights always calculated in edit mode. Now it's only if the option is enabled.
2019-01-11GP: New Cutter, Constraints and Segment selectionAntonioya
This commit groups a set of new tools that were tested in grease pencil object branch before moving to master. We decide to do all the development in a separated branch because it could break master during days or weeks before the new tools were ready to deploy. The commit includes: - New Cutter tool to trim strokes and help cleaning up drawings. - New set of constraints and guides to draw different types of shapes. All the credits for this development goes to Charlie Jolly (@charlie), thanks for your help! - Segment selection mode to select strokes between intersections. - New operator to change strokes cap mode. - New option to display only keyframed frames. This option is very important when fill strokes with color. - Multiple small fixes and tweaks. Thanks to @pepeland and @mendio for their ideas, tests, reviews and support. Note: Still pending the final icons for Cutter in Toolbar and Segment Selection in Topbar. @billreynish could help us here?
2019-01-11UVEdit: Port batches to batch requestClément Foucault
This is in order to allow more spaces to have their batches created at the same time and sharing the batches. This is part of the effort fo making the drawing code more optimized. This commit however should not introduce any difference. This commit bypass the aspect ratio correction for angle stretch display but this should be fixed in the next commit.
2019-01-11Fix background color use in 3D viewCampbell Barton
TH_BACK was being used when drawing the 3D view even though there was no way to set the color in the preferences. The color was zero'd when moving to the new 2.8x theme. Having both gradient and background colors was confusing, especially having to use 'TH_HIGH_GRAD' for the 3D view, 'TH_BACK' for other views. Move the background color back to 'TH_BACK', 'TH_BACK_GRAD' is used when gradients are enabled. RNA is unchanged so presets don't need updating.
2019-01-10Use proper ID to create FModifier RNA pointerSergey Sharybin
Allows to do simple DEG tag, without extra checks for ID type. Will solve possible missing updates when modifying f-curve modifier of a shared action.
2019-01-10Fix T60340: Removing f-curve modifier doesn't update animationSergey Sharybin
2019-01-10Keep track of owner of f-curveSergey Sharybin
This is a part of another which, which needs to tag owner of f-curve for an update. But since this is too many lines changed committing separately. Basically, for f-curve AnimElement we are now storing ID whih owns the f-curve.
2019-01-103D View: use faded color for dupli instance wire & pointsCampbell Barton
Similar to 2.7x, so instanced geometry can be differentiated.
2019-01-10Clenaup: remove unused EM_WAITCURSORCampbell Barton
2019-01-10Cleanup: ensure header guards come firstCampbell Barton
Causes clang-format not to detect header guards, indenting all preprocessor lines in the header.
2019-01-09Revert/Redo ugly rBd12b3767f81d commit (i.e. add locked sorting option to ↵Bastien Montagne
UIList). Too many things done wrong in original rBd12b3767f81d to list them all here, hopefully nothing bad sneaked in again this time :| Also cleaned up a little the 'sort by name', even though (since we only have two options by default, sort by index and by name) we can abuse it as a binary option for now, this is not a bitflag...
2019-01-05UI: Preferences Redesign Part 2Severin
(Part 1 was 00963afc14978b) Does the following changes visible to users: * Use panels and sub-panels for more structured & logical grouping * Re-organized options more logically than before (see images in D4148) * Use flow layout (single column by default). * New layout uses horizontal margin if there's enough space. * Change size of Preferences window to suit new layout. * Move keymap related options from "Input" into own section. * Own, left-bottom aligned region for Save Preferences button. * Adjustments of names, tooltips & icons. * Move buttons from header into the main region (except editor switch). * Hide Preferences header when opened in temporary window. * Use full area width for header. * Don't use slider but regular number widget for UI scale. * Gray out animation player path option if player isn't "Custom" Internal changes: * Rearrange RNA properties to match changed UI structure. * Introduces new "EXECUTE" region type, see reasoning in D3982. * Changes to panel layout and AZone code for dynamic panel region. * Bumps subversion and does versioning for new regions. RNA changes are documented in the release notes: https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Preferences_API Design & implementation mostly done by @billreynish and myself. I recommend checking out the screenshots posted by William: https://developer.blender.org/D4148#93787 Reviewed By: brecht Maniphest Tasks: T54115 Differential Revision: https://developer.blender.org/D4148
2019-01-04Fix T59946: multiple quit dialogs possible.Sebastian Parborg
Differential Revision: https://developer.blender.org/D4147
2019-01-04Fix T60132: Convert hair particles to meshSergey Sharybin
Needed to port operator to use evaluated particle system. But also changed interface to always show Convert button when draw type is set to Path (Hair particle system is forced to be draws as path). This avoid rather expensive lookup on every redraw, but will show Convert button for un-baked particle emitter. Probably, an acceptable compromise.
2019-01-04UI: refactor layout vars out of uiFontStyleCampbell Barton
Word wrap and alignment layout args only used by UI_fontstyle_draw were vars in uiFontStyle. These were written to before drawing, so better pass as an argument. Pass uiFontStyle & uiWidgetColors as const args.
2019-01-03Fix T60022: Crash when adding grease pencil object to a collection disabled ↵Antonioya
in viewport. See D4163 Thanks to Habib Gahbiche (@zazizizou) for the fix.
2019-01-02UI: add scale option for template_icon_view buttonCampbell Barton
The existing scale option only changed the scale if icons in the popup.
2018-12-31UI: icon set updates by Andrzej Ambroz.William Reynish
2018-12-30Cleanup: remove non-existing function declarationsCampbell Barton
2018-12-27Cleanup: use unsigned char (change previous commit)Campbell Barton
2018-12-25Fix T59505: Knife tool cut preview line becomes blackmano-wii
The real reason for the problem is still unknown, but this solution adds less overhead than rBdafaa6f22881.
2018-12-22Cleanup: const castCampbell Barton
2018-12-21Fix T58327: Quick Favorites "Remove from Favorites" missing for addedPhilipp Oeser
Modifiers Since user menu entries from SPACE_BUTS/SPACE_TOPBAR are also shown in other Editors (SPACE_VIEW3D), also allow these entries to be removed from Quick Favorites from these Editors. Match and deduplicate logic from screen_user_menu_draw() and ui_popup_context_menu_for_button(). Reviewers: campbellbarton, brecht Maniphest Tasks: T58327 Differential Revision: https://developer.blender.org/D4112
2018-12-21GP: Primitive: Changes from gp branchCharlie Jolly
F-key to change stroke brush size Fix random bias for jitter
2018-12-21Fix T59668: UV unwrap pinning bugs.Brecht Van Lommel
With multi object editing it creates the charts twice, which broke some logic in the unwrapper.
2018-12-20UI: add UILayout.directionCampbell Barton
Read only attribute, needed for introspection.
2018-12-20UI: add method to draw menu contentsCampbell Barton
This supports expanding menu contents into an existing layout. Needed to fix T58937.
2018-12-19Fix T59595: Grease Pencil and CameraViewAntonioya
The perspective effect deformed the stroke. Now when you are in camera view and the lock axis is not enabled, the stroke is reprojected flat over the view to remove any deformation. Also fixed reproject operator to use the origin set in topbar and not cursor 3D always.
2018-12-19Gizmo: optional custom orientations for transformCampbell Barton
This aims to resolve a conflict where some users want to keep keyboard axis setting global, even when the orientation is set to something else. Move/rotate/scale can optionally each have a separate orientation. Some UI changes will be made next.
2018-12-18GP: Primitive: Fix flickering when using a noise brushCharlie Jolly
Previously, the random values were generated every draw, now they are generated once.
2018-12-17DNA: clear / remove deprecated flagsCampbell Barton
- Clear deprecated flags for ID's: Scene, Sequence, World, Object & Mesh. - Clear deprecated flags for Spaces: outliner, 3D view & image. - Remove unused `Mesh.drawflag` - Remove unused `USER_ALLWINCODECS`, `USER_MMB_PASTE`. - Remove `V3D_SOLID_TEX` & `V3D_ZBUF_SELECT` - used in a few areas. - Flip `Object.empty_image_visibility_flag` (avoids do-version on each new flag) - Rename 'Backside' -> 'Back' in context of drawing - showing 'Back' makes sense.
2018-12-14NLA: insert keyframes correctly for strips with non-Replace mode.Alexander Gavrilov
NLA strips support using the keyframe values in a variety of ways: adding, subtracting, multiplying, linearly mixing with the result of strips located below in the stack. This is intended for layering tweaks on top of a base animation. However, when inserting keyframes into such strips, it simply inserts the final value of the property, irrespective of these settings. This in fact makes the feature nearly useless. To fix this it is necessary to evaluate the NLA stack below the edited strip and correctly compute the raw key that would produce the intended final value, according to the mode and influence. Differential Revision: https://developer.blender.org/D3927
2018-12-14Cleanup: namingCampbell Barton
2018-12-14Fix T59137: Prefs moves header to bottomCampbell Barton
Only use a new spaces header alignment when no previous header exists.
2018-12-13Armature Edit Mode: improve box/lasso selectCampbell Barton
Mostly rewrite logic which now matches (de)select picking, share between both operators. - Support all selection operations (eSelectOp), fixes T59255. - Add function that selects using 'BONESEL_*' flags & eSelectOp. This avoids lasso & box select having to handle selection flushing. - Fix strange behavior with lasso where selecting a bone in a chain would only select the tip (from 2.7x).
2018-12-13Cleanup: de-duplicate active item center accessCampbell Barton
2018-12-08User Interface: Add button color for indicating that the value differs from ↵Lukas Stockner
the interpolated one One issue that especially newer users often run into is that they accidentally reset changes to the scene by switching frame without creating a keyframe first. Therefore, this commit adds a new color that is used to draw properties if their current value differs from the one that would be set when switching to this frame. This works both for existing keyframes as well as for currently interpolated frames. Unfortunately the flags in but->flag are full, so I had to move the new flag to but->drawflag and pass that to all relevant functions. I went with orange for the color since afaics it fits with the green and yellow that are currently used for keyframe states and since it's somewhat reddish to signify that there might be something to look out for here. Reviewers: campbellbarton, #user_interface, brecht Reviewed By: campbellbarton Subscribers: brecht, predoe Differential Revision: https://developer.blender.org/D3949
2018-12-07Fix T57640: UV unwrap packing not working without sync selection.Brecht Van Lommel
2018-12-07GP: Refactor coordinates to floatCharlie Jolly
See: D4030 Differential Revision: https://developer.blender.org/D4036