Cleanup: Add comments to simulation state header #107744

Merged
Hans Goudey merged 4 commits from HooglyBoogly/blender:cleanup-sim-state-comments into main 2023-05-08 21:42:44 +02:00
Member

No response

_No response_
Hans Goudey added 1 commit 2023-05-08 16:56:46 +02:00
Hans Goudey requested review from Jacques Lucke 2023-05-08 16:57:55 +02:00
Hans Goudey added this to the Nodes & Physics project 2023-05-08 16:58:02 +02:00
Author
Member

I'd like to add something for meta_path_ and bdata_dir_ but didn't quite get the difference between them yet.

I'd like to add something for `meta_path_` and `bdata_dir_` but didn't quite get the difference between them yet.
Jacques Lucke approved these changes 2023-05-08 17:38:57 +02:00
@ -88,2 +86,4 @@
/** Identifies a simulation zone (input and output node pair) used by a modifier. */
struct SimulationZoneID {
/** Every node identifier in the heirarchy of compute contexts. */
Member

typo

typo
@ -137,2 +147,4 @@
private:
Vector<std::unique_ptr<ModifierSimulationStateAtFrame>> states_at_frames_;
/**
* Used for baking to deduplicate arrays when writing to storage. Sharing info must be kept
Member

Also used for reading.

Also used for reading.
Member

I'd like to add something for meta_path_ and bdata_dir_ but didn't quite get the difference between them yet.

Best just print the values. Should be fairly obvious then. The variable name pretty much says where the path points to.

> I'd like to add something for `meta_path_` and `bdata_dir_` but didn't quite get the difference between them yet. Best just print the values. Should be fairly obvious then. The variable name pretty much says where the path points to.
Author
Member

Ah, "meta" as in "meta-data", of course...

Ah, "meta" as in "meta-data", of course...
Hans Goudey added 3 commits 2023-05-08 18:24:49 +02:00
Hans Goudey merged commit 2f349ce884 into main 2023-05-08 21:42:44 +02:00
Hans Goudey deleted branch cleanup-sim-state-comments 2023-05-08 21:42:45 +02:00
Howard Trickey referenced this issue from a commit 2023-05-29 02:51:41 +02:00
Sign in to join this conversation.
No reviewers
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 Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#107744
No description provided.