GPencil: Square type strokes do not react to Rotation option with Solid Shading #91467
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#91467
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.10.0-6-amd64-x86_64-with-glibc2.31 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.73.01
Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-09-16 14:11, hash:
73ed076489
Worked: ?
Short description of error
The stroke type Squares draw little squares at the points of the stroke. The rotation is controlled by the alignment option and the rotation slider, which in this case does nothing if solid shading mode is selected. Note that textures are not displayed in solid shading mode and even if used the squares don't rotate as long as I am in solid shading mode.
Exact steps for others to reproduce the error
Added subscriber: @HDMaster84
Added subscriber: @antoniov
It must rotate the texture...check that.
Changed status from 'Needs Triage' to: 'Needs User Info'
2021-09-17 08-20-57.mp4
The bug is that it does nothing if the Style is Solid. If Texture is selected then it will look as if it rotates the square (not just the uv) so why won't it do that for the solid squares?
Also... neither the tooltip nor the documentation mention textures...
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
The option is in Fill mode, so no change in the geometry. The fix must be fix the tooltip. and disable the option if the mode is Solid Fill.
Edit. Sorry I was wrong...it's stroke... I need review all before doing any change.
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Changed status from 'Confirmed' to: 'Needs User Info'
I cannot reproduce in my system...maybe I'm not looking the same.
2021-09-17 11-10-02.mp4
@antoniov Oh wow, this just became a lot more interesting!
You are explicitly showing that it works in solid shading mode. I figured out that it does actually work even on my system if I am in rendered mode, but it does nothing in solid shading mode.
Here is a Video of me doing the same:
2021-09-17_11-27-01.mp4
I will update the summary with the new information
GPencil: Square type strokes do not react to Rotation optionto GPencil: Square type strokes do not react to Rotation option with Solid ShadingI cannot reproduce in any Engine/Shading mode... could you test with this file?
Test_Rota_UV.blend
strange... I can not reproduce with that file.
Can you reproduce with this file?
gp_test_square_rotation.blend
I have seen where is the difference:
2021-09-17 16-49-23.mp4
Internally, the solid is just a texture filled of same color.
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Actually the code is designed to use the rotation only in texture mode. As the Draw Engine is going to change with the new Eevee integration, IMHO the best option now is mark as KNow Issue and change the tooltip.
Added subscriber: @HooglyBoogly
@HooglyBoogly Do you think the tooltip is correct now?
RNA_def_property_float_default(prop, 0.0f);
RNA_def_property_range(prop, -DEG2RADF(90.0f), DEG2RADF(90.0f));
RNA_def_property_ui_range(prop, -DEG2RADF(90.0f), DEG2RADF(90.0f), 10, 3);
RNA_def_property_update(prop, NC_GPENCIL | ND_SHADING, "rna_MaterialGpencil_update");
/* pass index for future compositing and editing tools */
I might suggest changing
valid
toapplies
, but sure, that makes sense.@HooglyBoogly Thanks, I have changed to
applies
.Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'