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
2022-07-25EEVEE-Next: Display compatible properties panelsClément Foucault
Only a few are kept not available as their features are not yet supported.
2022-06-02Cleanup: remove "<pep8 compliant>" from headersCampbell Barton
It can be assumed that all scripts comply with basic pep8 formatting regarding white-space, indentation etc. Also remove note in best practices page & update `tests/python/pep8.py`. If we want to exclude some scripts from make format, this can be done by adding them to `ignore_files` in: source/tools/utils_maintenance/autopep8_format_paths.py Or using `# nopep8` for to ignore for individual lines. Ref T98554
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-05-21Fix some RNA physics accessors creating data.Bastien Montagne
Accessing data through RNA should never implicitely create it. Objects' and particles' forcefields and collision settings were doing this. Note that UI code also had to be tweaked to properly handle `None` (NULL) cases. Differential Revision: https://developer.blender.org/D11341
2021-04-07Fix T87264: Button to remove physics modifier doesn't workHans Goudey
This is caused by rB9f323e9bf79f. When hover shortcuts are used, we cannot use the modifier from the context (which will be the active modifier), or they won't be hover shortcuts anymore! There didn't use to be an editor-level "modifier" context variable, which is why this worked before. The fix is simple, just specify the modifier name for this particular remove button. Differential Revision: https://developer.blender.org/D10870
2021-03-26UI: Remove "Enable physics for:" text in physics propertiesWilliam Reynish
The "Enable physics for:" text makes no semantic sense- i.e. "Enable physics for Fluid". Additionally, the leading text is just not necessary, this section is just as clear without it. Differential Revision: https://developer.blender.org/D10537
2021-01-13Cleanup: use single quotes for enum literalsCampbell Barton
2021-01-11Collision: allow disabling collision without removing the modifier.Alexander Gavrilov
The `object.collision.use` flag was treated as a redundant marker of the existence of the modifier, going as far as adding/removing it when the value was changed, which is not actually very useful. Removing the modifier loses its position in the stack, and requires a dependency graph rebuild. It feels it may be a legacy flag? What would be useful however is the ability to toggle collisions dynamically without removing the modifier. This patch adjusts the code to keep the modifier when the flag is disabled, and add it if it doesn't exist when the flag is enabled. The modifier now checks the flag at the start and quickly exits after cleaning up stale data. The redesigned setting is exposed in the UI. Collisions can't be disabled by simply using the modifier enable flags because the modifier merely saves a snapshot of the mesh at a certain point of the modifier stack for other objects to use, and thus has to be able to clear the stale data. Differential Revision: https://developer.blender.org/D10064
2020-11-17LibOverride: PointCache: Add UI feedback about need to enable Disk Cache.Bastien Montagne
Note that I chose to modify the label of the main `Bake` button instead of adding an extra label line, as that would disturb the UI in a annoying way.
2020-10-24UI: Capitalization CorrectionsYevgeny Makarov
Approximately 141 changes of capitalization to conform to MLA title style. Differential Revision: https://developer.blender.org/D8392 Reviewed by Julian Eisel
2020-10-02Cleanup: pep8, blank linesCampbell Barton
2020-06-19Cloth: allow forces to act parallel to cloth.Alexander Gavrilov
Currently all force effectors can only act on cloth when the force is perpendicular to the surface. This makes sense for wind, but not for other forces; and the user may want even wind to have some friction. This changes effector code to output two force vectors - although you of course can pass the same pointer for both. The force is split between the two outputs based on a new per-effector setting. Differential Revision: https://developer.blender.org/D8017
2020-06-12UI: Use consistent order for physics display iconsdupoxy
The viewport, display order matches modifiers and the outliner. Differential Revision: https://developer.blender.org/D8001
2020-04-17UI: Make headings fit within regular Properties widthWilliam Reynish
Before recent changes, we used Min/Max here too.
2020-04-17UI: Layout changes for new checkbox layout possibilitiesWilliam Reynish
Follow-up to previous commit. Some examples: {F8473507} {F8473508} {F8473509} {F8473510} For more screenshots, please see D7430. We use column or row headings here to bring more structure, and to give the eye visual anchors which aid eye-scanning. The left-aligned checkboxes likewise help with this. And we keep the adherence to the center line, so the alignment matches up between the various buttons and controls. * Changes the property split percentage from 50/50% to 40/60%. This is needed to give enough space for the checkboxes. But in most cases this looks better anyway - see Transform panel. In some cases it simply fills out the available space more efficently. * Fix various hacks where we previously used manually defined splits. When we did this, the alignment was never quite right, and the layout code was a mess. * Adds column headings to many places where a list of checkboxes all share a common purpose or leading text. * Add checkbox + value configurations various places where a checkbox only serves to enable the value slider * Removes most uses of grid flow layout. The grid flow layouts combine poorly with column headings, and also they would mess alignment up badly. The grid flow layouts also often made buttons and controls jump around on the screen if you would just resize editors slightly, causing visual confusion, making users lose their place. The logic for at what time the list of items would re-flow was often flawed, jumping to multiple columns too fast or too late - and frankly, the grid flow layouts would often just look bad. Maniphest Task: https://developer.blender.org/T65965 Differential Revision: https://developer.blender.org/D7430 Reviewed by: Brecht Van Lommel, Pablo Vazquez. Most work here by William Reynish, few changes by Julian Eisel.
2020-03-29Fix T73945: Don't grey out "Calculate to Frames" in some casesJacques Lucke
The button seems to behave more as I'd expect without these additional checks. Previously, the button was often grayed out when it was actually working. Reviewers: ISS Differential Revision: https://developer.blender.org/D7252
2019-12-16Mantaflow [Part 3]: Customized UI for Manta fluidsSebastián Barschkis
With Mantaflow the current smoke modifier UI will accommodate both smoke and liquids. In addition, there is now an option for Mantaflow liquids in the quick effects section ("Quick Liquid"). Reviewed By: sergey Maniphest Tasks: T59995 Differential Revision: https://developer.blender.org/D3852
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-06-21Cleanup: use trailing commas for multi-line argumentsCampbell Barton
2019-05-18UI: Icons updateWilliam Reynish
New icons from Andrzej Ambroż / Jendrzych: - Bespoke icon for creating new Collections - Special icons for Rigid Body and Rigid Body Constraints (Physics Properties) - New icons for Holdout and Indirect Only toggles in the Outliner - New generic Cursor icon for cases that are not related to either Orientation or Pivot Many other tweaks to existing icons, including: - Add & Remove Keyframe - Weight Paint & Collision Modifier - Tablet Pressure Sensitivity - Playback icons
2019-05-12UI: Reinstate icons in the Physics PropertiesWilliam Reynish
These were removed at a time when there were no modifier icons.
2019-04-19Cleanup: mark unused arguments in UI scriptsCampbell Barton
Quiet's pylint W0613 warning, also remove some unused args.
2019-04-13Cleanup: add trailing commas to wrapped argsCampbell Barton
2019-03-21UI: make UI label clearer for Affect RotationWilliam Reynish
2019-03-21UI: align header to the leftWilliam Reynish
Since it's a header, this makes the hierarchy clearer
2019-03-08UI: Rename 'Use Lib Path' to 'Use Library Path' in particle settings.Pablo Vazquez
Also align items in the column since they work together.
2019-01-31UI: rename Free Bake to Delete Bake.Brecht Van Lommel
"Free" is more of a programming term related to memory allocation, not a term we need to use in the interface. Ref T61054.
2018-11-28Use collection and instance terminology in Python APISergey Sharybin
This follows naming convention agreed on in T56648.
2018-11-26UI: rename "OpenGL" render engine to "Workbench".Brecht Van Lommel
Neither is very descriptive for its task, but at least workbench is more future proof and distinguishes it from Eevee.
2018-10-08UI: new icon set by Andrzej Ambroz.Brecht Van Lommel
This is a monochrome icon set, with a more modern look and icons for various features that did not have a proper icon before.
2018-08-28UI: use keyword argumentsCampbell Barton
Prepare for keyword only args.
2018-08-28UI: text keyword argument to labelCampbell Barton
Prepare for keyword only args
2018-08-24Fix T56511: UILayout.prop_search misalignedCampbell Barton
Add padding when used with property decorations.
2018-08-17Physics Common: Use Single Column and Grid Flow layoutVuk Gardašević
See D3605
2018-07-19Cleanup: styleCampbell Barton
2018-07-17Render: add "OpenGL" render engine.Brecht Van Lommel
This is intended for quick renders for previsualization, animation previews or sequencer previews. It provides the same settings as found in the 3D view Shading popover in solid display mode, but in the scene render properties. The "Workbench" engine was removed, and this name no longer appears in the user interface, it's purely an internal name. We might come up with a better name for this OpenGL engine still, but it's good to be consistent with the OpenGL Render operator name since this has a similar purpose.
2018-07-17UI: Single-column and flow layout for Scene propertiesVuk Gardašević
See D3532
2018-06-26Cleanup: style, pep8Campbell Barton
2018-06-25UI: Single-column layout for Force Fields and ParticlesWilliam Reynish
Force Fields and Falloff are now simpler and more compact by removing unnecesary labels (there was a text label just for one option) Particle Force Fields Falloff is now a sub-panel of each effector type, rather than just as a section with label.
2018-06-21UI: Single column for Rigid Body WorldWilliam Reynish
2018-06-20Cleanup: whitespaceCampbell Barton
2018-06-20UI: Single column layout for Force FieldsWilliam Reynish
2018-06-05Merge branch 'master' into 28Campbell Barton
2018-06-05Cleanup: pep8Campbell Barton
Use 'autopep8 --ignore E721,E722' on our UI code, only minor changes.
2018-04-18Workspaces: remove workspace engine, use 3D viewport draw mode instead.Brecht Van Lommel
ViewRender was removed, which means we can't get the render engine for files saved in 2.8. We assume that any files saved in 2.8 were intended to use Eevee and set the engine to that. A fix included with this is that .blend thumbails now draw with Clay mode, and never Eevee or Cycles. These were drawn with solid mode in 2.7, and should be very fast and not e.g. load heavy image textures. Differential Revision: https://developer.blender.org/D3156
2017-10-27Eevee: Make Smoke sim panel visible with EEVEEClément Foucault
2017-10-16Workspace: Move engines to workspace and Properties Editor cleanupDalai Felinto
Engine is not stored in WorkSpaces. That defines the "context" engine, which is used for the entire UI. The engine used for the poll of nodes (add node menu, new nodes when "Use Nodes") is obtained from context. Introduce a ViewRender struct for viewport settings that are defined for workspaces and scene. This struct will be populated with the hand-picked settings that can be defined per workspace as per the 2.8 design. * use_scene_settings * properties editor: workshop + organize context path Use Scene Settings ================== For viewport drawing, Workspaces have an option to use the Scene render settings (F12) instead of the viewport settings. This way users can quickly preview the final render settings, engine and View Layer. This will affect all the editors in that workspace, and it will be clearly indicated in the top-bar. Properties Editor: Add Workspace and organize context path ========================================================== We now have the properties of: Scene, Scene > Layer, Scene > World, Workspace [Scene | Workspace] > Render Layer > Object [Scene | Workspace] > Render Layer > Object > Data (...) Reviewers: Campbell Barton, Julian Eisel Differential Revision: https://developer.blender.org/D2842
2017-08-11Fix T52344: Softbody on Text.Bastien Montagne
Own previous fix (rBd5d626df236b) was not valid, curves are actually supported by SoftBodies. It was rather a mere UI bug, which was not including Surfaces and Font obect types in those valid for softbody UI. Thanks to @brecht for the head up! Also, fix safe for 2.79, btw.
2017-03-18PyAPI: remove bpy.utils.register_module()Campbell Barton
In preparation for it being removed, see: T47811
2017-02-24Add "Gravitation" option to "Force" type force fieldsLuca Rood
This adds an option to force fields of type "Force", which enables the simulation of gravitational behavior (dist^-2 falloff). Patch by @AndreasE Reviewers: #physics, LucaRood, mont29 Reviewed By: #physics, LucaRood, mont29 Tags: #physics Differential Revision: https://developer.blender.org/D2389