Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Security Warnings to str_to_var and var_to_str Documentation #88112

Closed
wants to merge 141 commits into from

Conversation

Ryan-000
Copy link
Contributor

@Ryan-000 Ryan-000 commented Feb 8, 2024

I'm adding warnings to str_to_var and var_to_str in the docs because I found out "str_to_var" can run code without warning when I checked the source code and tested it myself.

This wasn't clear before. The warnings are to help other developers know about this risk.

MewPurPur and others added 30 commits August 6, 2023 12:18
From what I could see only SSAO & SSIL were affected when they both
call:

int zero[1] = { 0 };
RD::get_singleton()->buffer_update(ssao.importance_map_load_counter, 0,
sizeof(uint32_t), &zero, 0);

int zero[1] = { 0 };
RD::get_singleton()->buffer_update(ssil.importance_map_load_counter, 0,
sizeof(uint32_t), &zero, 0);

Also documented what setup_command_buffer & draw_command_buffer are for.
Fixes missing NavigationLink property updates in constructor.
Fixes missing NavigationAgent property updates in constructor.
Fixes missing NavigationObstacle property updates in constructor.
But not allow dropping inside the scene tree editor.
This is a minor usability tweak.

The light functions replace the default ones, so even if empty
they will avoid the current shader to have proper lighting and
users will have no idea why.

Code was changed to have the shader function commented by default,
indicating that uncommenting replaces the default function.
Print error and default to forward plus
- Mention the Use Nearest Mipmap Filter project setting.
- Fix nearest mipmap claiming to always use bilinear filtering
  (it uses trilinear filtering by default, like linear mipmap).
…e selector

This applies to both GPUParticles3D and CPUParticles3D, as
CPUParticles3DEditor inherits from GPUParticles3DEditorBase.
Also fix bug in creation of vertex input mask
Fixes NavigationRegion2D transform update.
Also updates some error messages related to this kind of check
across the codebase.
@Ryan-000 Ryan-000 requested review from a team as code owners February 8, 2024 20:34
@AThousandShips AThousandShips changed the base branch from 4.0 to 4.2 February 8, 2024 20:46
@AThousandShips AThousandShips requested review from a team as code owners February 8, 2024 20:46
@AThousandShips
Copy link
Member

You need to rebase your branch see here

@AThousandShips AThousandShips modified the milestones: 4.x, 4.2 Feb 8, 2024
@Ryan-000 Ryan-000 closed this Feb 8, 2024
@Ryan-000 Ryan-000 deleted the Ryan-000-patch-1 branch February 8, 2024 21:34
@YeldhamDev YeldhamDev removed this from the 4.2 milestone Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.