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-06-29LineArt: Shadow and related functionalities.Yiming Wu
This patch includes the full shadow functionality for LineArt: - Light contour and cast shadow lines. - Lit/shaded region selection. - Enclosed light/shadow shape calculation. - Silhouette/anti-silhouette selection. - Intersection priority based on shadow edge identifier. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D15109
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-03-29Cleanup: Remove legacy dupli system from point cloud objectHans Goudey
The "dupli" system now has a faster, more powerful, and more flexible alternative with geometry nodes. Since the point cloud objects haven't been exposed in the non-experimental UI yet, we can remove the dupli implementation and the panel for the object type. Differential Revision: https://developer.blender.org/D14482
2022-03-15Fix some properties missing in the UI for new Curves object typeBrecht Van Lommel
Missed some renames from HAIR to CURVES.
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
2022-01-21Fix: Object selection delay with many objectsRUben
With object collection properties open there was a huge delay when switching active objects in a large scene, (~10k objects, ~5m vertices). This is due to a non-optimal function to query all the collections the object is in. To solve this the code can be simplified by using `bpy.types.Object.users_collection` This returns all the collections the object is in removing the need to compute this in python.
2021-09-09Fix FONT objects cannot use Object Font anymorePhilipp Oeser
Mistake in {rB459974896228}. To use Object Fonts, (vertex) instancing needs to be enabled. So bring back the instancing panel and improve the instancing choice (similar to rB6c0c766bcaa0) by just giving the 'Vertex' choice (or 'None') and explain this is only used for Object Fonts on characters. Was reported in D11348 itself. Differential Revision: https://developer.blender.org/D12438
2021-08-10UI: hide Viewport Display Bounds for object types that dont havePhilipp Oeser
bounding boxes These are namely 'LIGHT', 'CAMERA', 'EMPTY', 'SPEAKER' and 'LIGHTPROBE'. Note that Empties are included here despite the fact that they have instancing capabilities ('Display As' can be 'Bounds' for example which then displays all instanced geometry with boundingboxes -- this however is not meant to work with the 'Bounds' checkbox and the display bounds type, these are only affective for the object itself, not its instances) Issue came up in T88443. Maniphest Tasks: T88443 Differential Revision: https://developer.blender.org/D11344
2021-08-10UI: hide object instancing panel for object types that dont support instancingPhilipp Oeser
Basically, only meshes, empties and pointclouds support direct instancing atm., no need to have the panel for other types. note: prior to rB2eca054e14b1, collection instancing was possible on all types (but that was removed in said commit) note2: for empties, rna_Object_instance_type_itemf should also be tweaked so we dont get "Vertices" and "Faces" options, but that can be done in a separate commit Maniphest Tasks: T88443 Differential Revision: https://developer.blender.org/D11348
2021-08-05Render: move Cycles visibility, holdout and shadow catcher properties to BlenderBrecht Van Lommel
The immediate reason for this is that we want to be able to initialize them to different defaults for light objects, which is hard with Python properties. But in general it is useful to be able to share these with other renderers. As a side effect, Eevee now supports a per-object holdout instead of only per-collection. Differential Revision: https://developer.blender.org/D12133
2021-04-26LineArt: UI fixes to match the content for 2.93 manual.YimingWu
Reviewed by: Sebastian Parborg Differential Revision: https://developer.blender.org/D11089
2021-03-29Fix: Line Art panel in properties showing in the wrong order with add-onsBrecht Van Lommel
It should set bl_order to show below panels registered by render engine add-ons like Cycles.
2021-03-23Cleanup: move line art panel into properties_objectsCampbell Barton
No need for a module to define a single panel, since this is an object panel it can be included with other object panels. If centralizing line-art properties is needed in the future, this can be done in a `*_common` module.
2020-11-06Move "Camera Parent Lock" from preferences to Object RelationsHans Goudey
"Camera Parent Lock" can be useful when rigging cameras, but it is not intuitive, and has also generated a lot of confusion (bug reports). This is because it breaks the fundamental parent <-> child relationship conventions in Blender, and there is no indication that it's intended without diving into the preferences. This commit moves the setting to the object level, and exposes it in the relations panel in the property editor. It is exposed for every object type because any object type can be "View Locked" in the 3D view. The property description is also updated to reflect this change and be more specific without getting too long. In the future this could become a more general feature of the transform system, but for now it is limited to "Lock Camera to View". Differential Revision: https://developer.blender.org/D9239
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-07-24Fix T79209: Empties have disabled viewport display settingsCampbell Barton
2020-04-18GPencil: Add header to Use LightsAntonio Vazquez
This use the new header column
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-18GPencil: Remove Panel Grease Pencil and move Use Lights to VisibilityAntonio Vazquez
It was too much to have a panel for that.
2020-03-18Objects: add Volume object type, and prototypes for Hair and PointCloudBrecht Van Lommel
Only the volume object is exposed in the user interface. It is based on OpenVDB internally. Drawing and rendering code will follow in another commit. https://wiki.blender.org/wiki/Source/Objects/Volume https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Volumes Hair and PointCloud object types are hidden behind a WITH_NEW_OBJECT_TYPES build option. These are unfinished, and included only to make it easier to cooperate on development in the future and avoid tricky merges. https://wiki.blender.org/wiki/Source/Objects/New_Object_Types Ref T73201, T68981 Differential Revision: https://developer.blender.org/D6945
2020-03-09GPencil: Refactor of Draw Engine, Vertex Paint and all internal functionsAntonio Vazquez
This commit is a full refactor of the grease pencil modules including Draw Engine, Modifiers, VFX, depsgraph update, improvements in operators and conversion of Sculpt and Weight paint tools to real brushes. Also, a huge code cleanup has been done at all levels. Thanks to @fclem for his work and yo @pepeland and @mendio for the testing and help in the development. Differential Revision: https://developer.blender.org/D6293
2019-10-22Cleanup: unused variables, enums, spellingCampbell Barton
2019-09-05Revert "UI: Add Dimensions to Object Transform panel"Campbell Barton
This reverts commit 82fc9d778eecca16f867fd6e3aa3a2c04d86df4a. This doesn't use the workaround from v3d_object_dimension_buts needed for dimensions properly update. Doing this would require moving the panel to C. Issues from T69536 should be resolved before adding this back.
2019-09-04UI: Add Dimensions to Object Transform panelWilliam Reynish
This makes the Transform panel complete, so you don't need to open the Sidebar for such a basic concept. Differential Revision: https://developer.blender.org/D5577 Reviewers: Brecht, Pablo Vazquez
2019-09-03UI: Minor fixes to Delta Transform panelWilliam Reynish
Removes some wrong gaps appearing
2019-08-13Fix T65670: bone envelope head radius missing from transform panelCampbell Barton
Make the transforms section of the properties panel consistent with the transforms section of the side-bar, and to expose some currently hidden BBone properties in the Bendy Bone section. - Object transformations were not consistent with Pose Bone transformations in that they did not use single-column layout. - Even in Pose Bone transformations, the rotation mode option was after Scale. - Edit Bone Transforms panel included "Tail Radius" and "Envelope Deform Distance", neither of which belong there. See T65670. - Expose bbone_x and bbone_z. D5454 by @Mets
2019-06-11Fix T65393: Error live editing UI scriptsCampbell Barton
Disable relative imports for UI scripts.
2019-05-22Visibility panel: Use "toggle" keywordDalai Felinto
No functional nor visual change. This is a partial revert of 0910932e71d2. The toggle option was introduced on 6640bcca7422. This allow us to simplify the outliner draw code so it uses the icon as defined in the RNA (as oppose to get the value there once again).
2019-05-20UI: add Visibility panel for objectsDalai Felinto
The outliner should not be the only way for users to change these settings. The Python API was extended to keep these properties positive and keyframable. Differential Revision: https://developer.blender.org/D4889
2019-05-19UI: add Panel.bl_order property to control order of panels for add-onsBrecht Van Lommel
This fixes poor Cycles panel ordering, with Freestyle and Custom Properties appearing at the top. For most cases order of registration is still the easiest way to control order and it's recommended to keep using that. This is mainly to solve a few cases where we want a few built-in panels to appear below add-on panels.
2019-04-19Cleanup: logical checks in UI scriptsCampbell Barton
2019-04-19Cleanup: mark unused arguments in UI scriptsCampbell Barton
Quiet's pylint W0613 warning, also remove some unused args.
2019-04-04Avoid flow to avoid the collection textfield from becoming too smallJeroen Bakker
The collection instance field is currently using flow.column(), which makes the name of the collection instance unreadably small. {F6898084} I get that we want to save vertical space to avoid scrolling, but in this case it generates a new problem, so I'd rather avoid flow here. Patch by sebastian_k Reviewed By: billreynish Differential Revision: https://developer.blender.org/D4614
2019-03-20Cleanup: styleCampbell Barton
2019-03-15UI: rename object Boundary back to Bounds, it's not the same thing.Brecht Van Lommel
2019-03-12DRW: use object color from instancerCampbell Barton
Otherwise it's impossible to set the color of instanced library objects. Follows convention of instancer controlling draw options.
2019-03-12Cleanup: rename specials -> context_menuCampbell Barton
In keeping with convention to match code & UI naming. - No user visible changes. - Include 'menu' in the name since context is an overloaded term. - While a few of these are panels, from a user perspective they are still context menus.
2019-03-07UI: correct labelCampbell Barton
2019-03-06UI: Name changesWilliam Reynish
In accordance with T56648. - Render Border -> Render Region - Clipping Border -> Clipping Region - Instancing 'Scale' -> 'Scale to Face Size' - Instancing 'Rotation' -> 'Align to Vertex Normal' Python API is left as-is, for now. DIfferential revision: D4435
2019-02-28UI: Properties hierarchical nestingWilliam Reynish
Make hierarchy more clear and consistent in Render, Object and Particles
2019-02-26GP: Redesign wireframe modeAntonioya
Now it's possible use the different Wire modes (Single, Object & Random) Also support for x-ray mode. For random colors, the name of the object and the name of the layer is used. Also some parameters cleanup.
2019-02-26Cleanup: assign rotation_mode to a variableCampbell Barton
Don't access multiple times per draw.
2019-02-06Cleanup: Remove deprecated ghosting codeJacques Lucke
Most of this code is deprecated for many years already and does not work at all in Blender 2.8. Reviewers: brecht, aligorith Differential Revision: https://developer.blender.org/D4271
2019-01-31Depsgraph: remove features incompatible with new system.Brecht Van Lommel
Some features are incompatible with multithreading and reliable evaluation of dependencies. We are now removing them as part of a bigger cleanup to fix bugs in keyframing and invalid animation evaluations. * Dupliframes have been removed. This was a hack added before there were more powerful features like the array modifier. * Slow parent has been removed, never worked in 2.8. It was always unreliable for use in production due to depending on whatever frame was previously evaluated, which was not always the previous frame. * Particle instanced objects used to have their transform evaluated at the particle time. Now it always gets the current time transform. * Boids can no longer do predictive avoidance of force field objects, but still for other particles. Differential Revision: https://developer.blender.org/D4274
2018-12-30Fix: Cramped layout in object parent propertiesWilliam Reynish
2018-11-28Use term Instancing in the interfaceSergey Sharybin
Currently only see this in object's properties, but might be missing something. Part of T56648.
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-11-03UI: Sort panels in Properties.Pablo Vazquez
* Viewport Display always last before Custom Properties. * DoF panel second as it's changed more often than Camera sensor width. * In scene, move Simplify higher up as it is changed more often than Gravity or Audio.
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.