「Dev:Source/Modifiers/Stack/API Refactor」の版間の差分
< Dev:Source | Modifiers | Stack
細 (moved Dev:Source/Blender/Modifiers/Stack/API Refactor to Dev:Source/Modifiers/Stack/API Refactor) |
細 (1版 をインポートしました) |
(相違点なし)
|
2018年6月29日 (金) 03:36時点における最新版
Overview
This page describes work to refactor the modifier stack API. The current aim is to split modifier.c into one source file per modifier, leaving only the stack management functions in modifier.c. This should make the system easier to understand, and facilitate work on individual modifiers.
Directory structure
The new directory structure is inspired by the nodes API.
- A
modifiers
directory has been added, which holds all the code for specific modifiers modifier.c
is still in theblenkernel/intern
directory, but now it only holds modifier stack API functions
blender/ source/ blender/ blenkernel/ BKE_modifiers.h - public interface for the modifier API intern/ modifier.c - modifier stack API implementation modifiers/ MOD_modifiers.h - type structures for individual modifier types intern/ MOD_armature.c - Armature modifier implementation MOD_array.c - Array modifier implementation MOD_bevel.c - Bevel modifier implementation ... etc ... MOD_util.h - modifier utility function declarations MOD_util.c - modifier utility function implementations
Patches
A patch can be found in the patch tracker at https://projects.blender.org/tracker/index.php?func=detail&aid=14437&group_id=9&atid=127 .