From c30467acc533975515acee41e0ec5c23e57c304a Mon Sep 17 00:00:00 2001 From: Samuele Lorefice Date: Tue, 11 Mar 2025 19:12:04 +0100 Subject: [PATCH] Regenerated code files --- BlendFile/DNA/ARegion.cs | 2 +- BlendFile/DNA/ActionChannelBag.cs | 2 +- BlendFile/DNA/ActionLayer.cs | 6 +- BlendFile/DNA/ActionSlot.cs | 6 +- BlendFile/DNA/ActionStrip.cs | 4 +- BlendFile/DNA/ActionStripKeyframeData.cs | 2 +- BlendFile/DNA/AnimData.cs | 10 +- BlendFile/DNA/ArmatureGpencilModifierData.cs | 2 +- BlendFile/DNA/ArmatureModifierData.cs | 4 +- BlendFile/DNA/ArrayGpencilModifierData.cs | 16 +- BlendFile/DNA/ArrayModifierData.cs | 6 +- BlendFile/DNA/AssetLibraryReference.cs | 2 +- BlendFile/DNA/AssetMetaData.cs | 4 +- BlendFile/DNA/AssetShelf.cs | 4 +- BlendFile/DNA/AssetShelfSettings.cs | 4 +- BlendFile/DNA/AssetTag.cs | 2 +- BlendFile/DNA/AssetWeakReference.cs | 2 +- BlendFile/DNA/AudioData.cs | 4 +- BlendFile/DNA/BPoint.cs | 6 +- BlendFile/DNA/BakeData.cs | 6 +- BlendFile/DNA/Base.cs | 2 +- BlendFile/DNA/BevelModifierData.cs | 8 +- BlendFile/DNA/BezTriple.cs | 4 +- BlendFile/DNA/BlurShaderFxData.cs | 4 +- BlendFile/DNA/BoidData.cs | 2 +- BlendFile/DNA/BoidParticle.cs | 6 +- BlendFile/DNA/BoidRule.cs | 2 +- BlendFile/DNA/BoidRuleAverageSpeed.cs | 2 +- BlendFile/DNA/BoidRuleFollowLeader.cs | 4 +- BlendFile/DNA/BoidState.cs | 2 +- BlendFile/DNA/Bone.cs | 26 +- BlendFile/DNA/BoneCollection.cs | 4 +- BlendFile/DNA/BoneColor.cs | 2 +- BlendFile/DNA/BooleanModifierData.cs | 2 +- BlendFile/DNA/BoundBox.cs | 2 +- BlendFile/DNA/Brush.cs | 20 +- BlendFile/DNA/BrushClone.cs | 4 +- BlendFile/DNA/BrushCurvesSculptSettings.cs | 2 +- BlendFile/DNA/BrushGpencilSettings.cs | 6 +- BlendFile/DNA/BuildEff.cs | 2 +- BlendFile/DNA/BuildGpencilModifierData.cs | 8 +- BlendFile/DNA/CacheFile.cs | 12 +- BlendFile/DNA/CacheFileLayer.cs | 2 +- BlendFile/DNA/CacheObjectPath.cs | 2 +- BlendFile/DNA/Camera.cs | 2 +- BlendFile/DNA/CameraBGImage.cs | 2 +- BlendFile/DNA/CameraDOFSettings.cs | 4 +- BlendFile/DNA/CameraStereoSettings.cs | 2 +- BlendFile/DNA/Camera_Runtime.cs | 10 +- BlendFile/DNA/CastModifierData.cs | 2 +- BlendFile/DNA/ChannelDriver.cs | 2 +- BlendFile/DNA/CharInfo.cs | 2 +- BlendFile/DNA/ChildParticle.cs | 8 +- BlendFile/DNA/ClothCollSettings.cs | 4 +- BlendFile/DNA/ClothModifierData.cs | 6 +- BlendFile/DNA/ClothSimSettings.cs | 8 +- BlendFile/DNA/Collection.cs | 6 +- BlendFile/DNA/CollectionExport.cs | 4 +- BlendFile/DNA/CollectionLightLinking.cs | 2 +- BlendFile/DNA/Collection_Runtime.cs | 2 +- BlendFile/DNA/CollisionModifierData.cs | 2 +- BlendFile/DNA/ColorBand.cs | 4 +- BlendFile/DNA/ColorCorrectionData.cs | 2 +- BlendFile/DNA/ColorGpencilModifierData.cs | 10 +- .../DNA/ColorManagedColorspaceSettings.cs | 2 +- BlendFile/DNA/ColorManagedDisplaySettings.cs | 2 +- BlendFile/DNA/ColorManagedViewSettings.cs | 6 +- BlendFile/DNA/ColorMapping.cs | 4 +- BlendFile/DNA/ColorizeShaderFxData.cs | 6 +- BlendFile/DNA/CorrectiveSmoothDeltaCache.cs | 2 +- BlendFile/DNA/CorrectiveSmoothModifierData.cs | 4 +- BlendFile/DNA/CryptomatteEntry.cs | 4 +- BlendFile/DNA/CryptomatteLayer.cs | 2 +- BlendFile/DNA/Curve.cs | 12 +- BlendFile/DNA/CurveMap.cs | 10 +- BlendFile/DNA/CurveMapping.cs | 12 +- BlendFile/DNA/CurveModifierData.cs | 4 +- BlendFile/DNA/CurveProfilePoint.cs | 6 +- BlendFile/DNA/Curves.cs | 2 +- BlendFile/DNA/CustomData.cs | 2 +- BlendFile/DNA/CustomDataExternal.cs | 2 +- BlendFile/DNA/CustomDataLayer.cs | 4 +- BlendFile/DNA/DashGpencilModifierData.cs | 2 +- BlendFile/DNA/DashGpencilModifierSegment.cs | 2 +- BlendFile/DNA/DataTransferModifierData.cs | 8 +- BlendFile/DNA/DecimateModifierData.cs | 2 +- BlendFile/DNA/DisplaceModifierData.cs | 10 +- BlendFile/DNA/DisplaySafeAreas.cs | 8 +- BlendFile/DNA/DriverTarget.cs | 4 +- BlendFile/DNA/DriverVar.cs | 4 +- BlendFile/DNA/DualQuat.cs | 6 +- BlendFile/DNA/DynamicPaintBrushSettings.cs | 2 +- BlendFile/DNA/DynamicPaintCanvasSettings.cs | 4 +- BlendFile/DNA/DynamicPaintModifierData.cs | 2 +- BlendFile/DNA/DynamicPaintSurface.cs | 16 +- BlendFile/DNA/Editing.cs | 6 +- BlendFile/DNA/Effect.cs | 2 +- BlendFile/DNA/EffectorWeights.cs | 4 +- BlendFile/DNA/EnvelopeGpencilModifierData.cs | 6 +- BlendFile/DNA/ExplodeModifierData.cs | 4 +- BlendFile/DNA/FCurve.cs | 4 +- BlendFile/DNA/FMod_Limits.cs | 2 +- BlendFile/DNA/FModifier.cs | 4 +- BlendFile/DNA/FPoint.cs | 4 +- BlendFile/DNA/FileAssetSelectParams.cs | 4 +- BlendFile/DNA/FileFolderHistory.cs | 2 +- BlendFile/DNA/FileGlobal.cs | 8 +- BlendFile/DNA/FileSelectParams.cs | 20 +- BlendFile/DNA/FluidDomainSettings.cs | 90 ++-- BlendFile/DNA/FluidEffectorSettings.cs | 4 +- BlendFile/DNA/FluidFlowSettings.cs | 14 +- BlendFile/DNA/FluidVertexVelocity.cs | 2 +- BlendFile/DNA/FluidsimSettings.cs | 12 +- BlendFile/DNA/FreestyleLineSet.cs | 6 +- BlendFile/DNA/FreestyleLineStyle.cs | 16 +- BlendFile/DNA/FreestyleModuleConfig.cs | 2 +- BlendFile/DNA/GP_Sculpt_Guide.cs | 4 +- BlendFile/DNA/GP_Sculpt_Settings.cs | 2 +- BlendFile/DNA/GlowShaderFxData.cs | 8 +- BlendFile/DNA/GpSculptPaint.cs | 2 +- BlendFile/DNA/GpVertexPaint.cs | 2 +- BlendFile/DNA/GpWeightPaint.cs | 2 +- BlendFile/DNA/GpencilModifierData.cs | 4 +- BlendFile/DNA/GreasePencil.cs | 8 +- .../DNA/GreasePencilArmatureModifierData.cs | 2 +- .../DNA/GreasePencilArrayModifierData.cs | 12 +- .../DNA/GreasePencilBuildModifierData.cs | 4 +- .../DNA/GreasePencilColorModifierData.cs | 4 +- BlendFile/DNA/GreasePencilDashModifierData.cs | 2 +- .../DNA/GreasePencilDashModifierSegment.cs | 2 +- BlendFile/DNA/GreasePencilDrawingBase.cs | 2 +- BlendFile/DNA/GreasePencilFrame.cs | 2 +- BlendFile/DNA/GreasePencilHookModifierData.cs | 10 +- .../DNA/GreasePencilLatticeModifierData.cs | 2 +- BlendFile/DNA/GreasePencilLayer.cs | 14 +- BlendFile/DNA/GreasePencilLayerMask.cs | 2 +- BlendFile/DNA/GreasePencilLayerTreeGroup.cs | 2 +- BlendFile/DNA/GreasePencilLayerTreeNode.cs | 2 +- .../DNA/GreasePencilLengthModifierData.cs | 2 +- .../DNA/GreasePencilLineartModifierData.cs | 10 +- .../DNA/GreasePencilMirrorModifierData.cs | 2 +- .../DNA/GreasePencilModifierInfluenceData.cs | 6 +- .../DNA/GreasePencilNoiseModifierData.cs | 2 +- .../DNA/GreasePencilOffsetModifierData.cs | 14 +- .../DNA/GreasePencilOnionSkinningSettings.cs | 8 +- .../DNA/GreasePencilOpacityModifierData.cs | 2 +- .../DNA/GreasePencilShrinkwrapModifierData.cs | 2 +- .../DNA/GreasePencilSimplifyModifierData.cs | 2 +- .../DNA/GreasePencilSmoothModifierData.cs | 2 +- .../DNA/GreasePencilSubdivModifierData.cs | 2 +- .../DNA/GreasePencilTextureModifierData.cs | 4 +- .../DNA/GreasePencilThickModifierData.cs | 2 +- .../DNA/GreasePencilTimeModifierSegment.cs | 2 +- BlendFile/DNA/GreasePencilTintModifierData.cs | 2 +- .../GreasePencilWeightAngleModifierData.cs | 2 +- ...GreasePencilWeightProximityModifierData.cs | 2 +- BlendFile/DNA/GridPaintMask.cs | 2 +- BlendFile/DNA/GroupNodeViewerPathElem.cs | 2 +- BlendFile/DNA/HairKey.cs | 6 +- BlendFile/DNA/Histogram.cs | 12 +- BlendFile/DNA/HookGpencilModifierData.cs | 16 +- BlendFile/DNA/HookModifierData.cs | 10 +- BlendFile/DNA/ID.cs | 2 +- BlendFile/DNA/IDOverrideLibrary.cs | 2 +- BlendFile/DNA/IDOverrideLibraryProperty.cs | 2 +- .../DNA/IDOverrideLibraryPropertyOperation.cs | 2 +- BlendFile/DNA/IDProperty.cs | 4 +- BlendFile/DNA/IDPropertyUIData.cs | 2 +- BlendFile/DNA/IDPropertyUIDataBool.cs | 2 +- BlendFile/DNA/IDPropertyUIDataFloat.cs | 2 +- BlendFile/DNA/IDPropertyUIDataID.cs | 2 +- BlendFile/DNA/Image.cs | 82 ++-- BlendFile/DNA/ImageFormatData.cs | 4 +- BlendFile/DNA/ImagePackedFile.cs | 2 +- BlendFile/DNA/ImagePaintSettings.cs | 6 +- BlendFile/DNA/ImageTile.cs | 4 +- BlendFile/DNA/ImageTile_Runtime.cs | 2 +- BlendFile/DNA/ImageView.cs | 4 +- BlendFile/DNA/Image_Runtime.cs | 2 +- BlendFile/DNA/Ipo.cs | 2 +- BlendFile/DNA/IpoCurve.cs | 2 +- BlendFile/DNA/IpoDriver.cs | 2 +- BlendFile/DNA/KS_Path.cs | 2 +- BlendFile/DNA/Key.cs | 4 +- BlendFile/DNA/KeyBlock.cs | 6 +- BlendFile/DNA/KeyingSet.cs | 10 +- BlendFile/DNA/LaplacianDeformModifierData.cs | 4 +- BlendFile/DNA/LaplacianSmoothModifierData.cs | 4 +- BlendFile/DNA/Lattice.cs | 6 +- BlendFile/DNA/LatticeGpencilModifierData.cs | 6 +- BlendFile/DNA/LatticeModifierData.cs | 4 +- BlendFile/DNA/LayerCollection.cs | 4 +- BlendFile/DNA/LayoutPanelState.cs | 2 +- BlendFile/DNA/LengthGpencilModifierData.cs | 4 +- BlendFile/DNA/Library.cs | 2 +- BlendFile/DNA/LibraryWeakReference.cs | 6 +- BlendFile/DNA/Library_Runtime.cs | 4 +- BlendFile/DNA/LightCache.cs | 2 +- BlendFile/DNA/LightCacheTexture.cs | 4 +- BlendFile/DNA/LightGridCache.cs | 12 +- BlendFile/DNA/LightLinkingRuntime.cs | 2 +- BlendFile/DNA/LightProbe.cs | 4 +- BlendFile/DNA/LightProbeBlockData.cs | 2 +- BlendFile/DNA/LightProbeCache.cs | 8 +- BlendFile/DNA/LightProbeGridCacheFrame.cs | 4 +- BlendFile/DNA/LightProbeObjectCache.cs | 2 +- BlendFile/DNA/LightgroupMembership.cs | 2 +- .../DNA/LineStyleAlphaModifier_AlongStroke.cs | 2 +- .../DNA/LineStyleAlphaModifier_CreaseAngle.cs | 2 +- .../LineStyleAlphaModifier_Curvature_3D.cs | 2 +- ...neStyleAlphaModifier_DistanceFromCamera.cs | 2 +- ...neStyleAlphaModifier_DistanceFromObject.cs | 2 +- .../DNA/LineStyleAlphaModifier_Tangent.cs | 2 +- BlendFile/DNA/LineStyleColorModifier_Noise.cs | 2 +- .../LineStyleGeometryModifier_2DTransform.cs | 2 +- ...StyleGeometryModifier_BackboneStretcher.cs | 2 +- .../LineStyleGeometryModifier_BezierCurve.cs | 2 +- .../LineStyleGeometryModifier_GuidingLines.cs | 2 +- ...LineStyleGeometryModifier_PerlinNoise1D.cs | 2 +- ...LineStyleGeometryModifier_PerlinNoise2D.cs | 2 +- ...eStyleGeometryModifier_Polygonalization.cs | 2 +- .../DNA/LineStyleGeometryModifier_Sampling.cs | 2 +- ...ineStyleGeometryModifier_Simplification.cs | 2 +- ...StyleGeometryModifier_SinusDisplacement.cs | 2 +- .../LineStyleGeometryModifier_TipRemover.cs | 2 +- BlendFile/DNA/LineStyleModifier.cs | 2 +- .../LineStyleThicknessModifier_AlongStroke.cs | 2 +- .../LineStyleThicknessModifier_Calligraphy.cs | 2 +- .../LineStyleThicknessModifier_CreaseAngle.cs | 2 +- ...LineStyleThicknessModifier_Curvature_3D.cs | 2 +- ...yleThicknessModifier_DistanceFromCamera.cs | 2 +- ...yleThicknessModifier_DistanceFromObject.cs | 2 +- .../DNA/LineStyleThicknessModifier_Tangent.cs | 2 +- BlendFile/DNA/LineartGpencilModifierData.cs | 10 +- BlendFile/DNA/MLoopUV.cs | 2 +- BlendFile/DNA/MPropCol.cs | 2 +- BlendFile/DNA/MStringProperty.cs | 2 +- BlendFile/DNA/MTFace.cs | 2 +- BlendFile/DNA/MTex.cs | 8 +- BlendFile/DNA/MVert.cs | 4 +- BlendFile/DNA/MVertSkin.cs | 2 +- BlendFile/DNA/MappingInfoModifierData.cs | 6 +- BlendFile/DNA/Mask.cs | 2 +- BlendFile/DNA/MaskLayer.cs | 4 +- BlendFile/DNA/MaskLayerShape.cs | 2 +- BlendFile/DNA/MaskModifierData.cs | 2 +- BlendFile/DNA/MaskParent.cs | 8 +- BlendFile/DNA/MaskSpaceInfo.cs | 2 +- BlendFile/DNA/MaskSplinePoint.cs | 2 +- BlendFile/DNA/Material.cs | 6 +- BlendFile/DNA/MaterialGPencilStyle.cs | 16 +- BlendFile/DNA/Mesh.cs | 6 +- BlendFile/DNA/MeshCacheModifierData.cs | 6 +- BlendFile/DNA/MeshDeformModifierData.cs | 8 +- BlendFile/DNA/MeshSeqCacheModifierData.cs | 6 +- BlendFile/DNA/MeshStatVis.cs | 4 +- BlendFile/DNA/MeshToVolumeModifierData.cs | 2 +- BlendFile/DNA/MetaBall.cs | 8 +- BlendFile/DNA/MetaElem.cs | 4 +- BlendFile/DNA/MetaStack.cs | 2 +- BlendFile/DNA/MirrorGpencilModifierData.cs | 6 +- BlendFile/DNA/MirrorModifierData.cs | 6 +- BlendFile/DNA/ModifierData.cs | 4 +- BlendFile/DNA/MovieClip.cs | 4 +- BlendFile/DNA/MovieClipProxy.cs | 2 +- BlendFile/DNA/MovieClipScopes.cs | 4 +- BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs | 4 +- BlendFile/DNA/MovieReconstructedCamera.cs | 2 +- BlendFile/DNA/MovieTrackingCamera.cs | 8 +- BlendFile/DNA/MovieTrackingDopesheet.cs | 2 +- .../DNA/MovieTrackingDopesheetChannel.cs | 4 +- .../MovieTrackingDopesheetCoverageSegment.cs | 2 +- BlendFile/DNA/MovieTrackingMarker.cs | 8 +- BlendFile/DNA/MovieTrackingObject.cs | 2 +- BlendFile/DNA/MovieTrackingPlaneMarker.cs | 2 +- BlendFile/DNA/MovieTrackingPlaneTrack.cs | 4 +- BlendFile/DNA/MovieTrackingStabilization.cs | 2 +- BlendFile/DNA/MovieTrackingStats.cs | 2 +- BlendFile/DNA/MovieTrackingTrack.cs | 16 +- BlendFile/DNA/MultiplyGpencilModifierData.cs | 4 +- BlendFile/DNA/MultiresModifierData.cs | 4 +- BlendFile/DNA/NlaStrip.cs | 10 +- BlendFile/DNA/NlaTrack.cs | 2 +- BlendFile/DNA/NodeBilateralBlurData.cs | 2 +- BlendFile/DNA/NodeBoxMask.cs | 2 +- BlendFile/DNA/NodeChroma.cs | 2 +- BlendFile/DNA/NodeColorBalance.cs | 14 +- BlendFile/DNA/NodeConvertColorSpace.cs | 4 +- BlendFile/DNA/NodeCryptomatte.cs | 4 +- BlendFile/DNA/NodeCryptomatte_Runtime.cs | 4 +- BlendFile/DNA/NodeDBlurData.cs | 2 +- BlendFile/DNA/NodeDefocus.cs | 2 +- BlendFile/DNA/NodeEllipseMask.cs | 2 +- BlendFile/DNA/NodeEnumDefinition.cs | 2 +- BlendFile/DNA/NodeEnumItem.cs | 2 +- ...odeForeachGeometryElementGenerationItem.cs | 2 +- ...deForeachGeometryElementGenerationItems.cs | 2 +- .../NodeForeachGeometryElementInputItem.cs | 2 +- .../NodeForeachGeometryElementInputItems.cs | 2 +- .../DNA/NodeForeachGeometryElementMainItem.cs | 2 +- .../NodeForeachGeometryElementMainItems.cs | 2 +- BlendFile/DNA/NodeFunctionCompare.cs | 2 +- BlendFile/DNA/NodeGeometryAttributeCapture.cs | 2 +- .../DNA/NodeGeometryAttributeCaptureItem.cs | 2 +- BlendFile/DNA/NodeGeometryBake.cs | 2 +- BlendFile/DNA/NodeGeometryBakeItem.cs | 2 +- BlendFile/DNA/NodeGeometryCurveSample.cs | 2 +- ...odeGeometryForeachGeometryElementOutput.cs | 2 +- BlendFile/DNA/NodeGeometrySampleIndex.cs | 2 +- .../DNA/NodeGeometryTransferAttribute.cs | 2 +- BlendFile/DNA/NodeGlare.cs | 2 +- BlendFile/DNA/NodeImageAnim.cs | 2 +- BlendFile/DNA/NodeImageFile.cs | 2 +- BlendFile/DNA/NodeImageLayer.cs | 2 +- BlendFile/DNA/NodeImageMultiFile.cs | 4 +- BlendFile/DNA/NodeImageMultiFileSocket.cs | 8 +- BlendFile/DNA/NodeIndexSwitch.cs | 2 +- BlendFile/DNA/NodeInputColor.cs | 2 +- BlendFile/DNA/NodeInputRotation.cs | 2 +- BlendFile/DNA/NodeInputVector.cs | 2 +- BlendFile/DNA/NodeKeyingScreenData.cs | 2 +- BlendFile/DNA/NodeKuwaharaData.cs | 2 +- BlendFile/DNA/NodeLensDist.cs | 2 +- BlendFile/DNA/NodeMapRange.cs | 2 +- BlendFile/DNA/NodeMenuSwitch.cs | 2 +- BlendFile/DNA/NodePlaneTrackDeformData.cs | 6 +- BlendFile/DNA/NodeRepeatItem.cs | 2 +- BlendFile/DNA/NodeReroute.cs | 2 +- BlendFile/DNA/NodeShaderAttribute.cs | 4 +- BlendFile/DNA/NodeShaderHairPrincipled.cs | 2 +- BlendFile/DNA/NodeShaderMix.cs | 2 +- BlendFile/DNA/NodeShaderNormalMap.cs | 2 +- BlendFile/DNA/NodeShaderOutputAOV.cs | 2 +- BlendFile/DNA/NodeShaderPrincipled.cs | 2 +- BlendFile/DNA/NodeShaderScript.cs | 4 +- BlendFile/DNA/NodeShaderTangent.cs | 2 +- BlendFile/DNA/NodeShaderTexIES.cs | 2 +- BlendFile/DNA/NodeShaderTexPointDensity.cs | 4 +- BlendFile/DNA/NodeShaderUVMap.cs | 2 +- BlendFile/DNA/NodeShaderVectTransform.cs | 2 +- BlendFile/DNA/NodeShaderVertexColor.cs | 2 +- BlendFile/DNA/NodeSunBeams.cs | 2 +- BlendFile/DNA/NodeTexEnvironment.cs | 2 +- BlendFile/DNA/NodeTexGabor.cs | 2 +- BlendFile/DNA/NodeTexGradient.cs | 2 +- BlendFile/DNA/NodeTexImage.cs | 2 +- BlendFile/DNA/NodeTexMagic.cs | 2 +- BlendFile/DNA/NodeTexNoise.cs | 2 +- BlendFile/DNA/NodeTexSky.cs | 4 +- BlendFile/DNA/NodeTexVoronoi.cs | 2 +- BlendFile/DNA/NodeTrackPosData.cs | 4 +- BlendFile/DNA/NodeVertexCol.cs | 2 +- BlendFile/DNA/NodesModifierBake.cs | 2 +- BlendFile/DNA/NodesModifierData.cs | 4 +- BlendFile/DNA/NodesModifierDataBlock.cs | 2 +- BlendFile/DNA/NoiseGpencilModifierData.cs | 8 +- BlendFile/DNA/NormalEditModifierData.cs | 8 +- BlendFile/DNA/Nurb.cs | 2 +- BlendFile/DNA/ObHook.cs | 8 +- BlendFile/DNA/Object.cs | 38 +- BlendFile/DNA/ObjectLineArt.cs | 2 +- BlendFile/DNA/OceanModifierData.cs | 8 +- BlendFile/DNA/OffsetGpencilModifierData.cs | 20 +- BlendFile/DNA/OpacityGpencilModifierData.cs | 8 +- BlendFile/DNA/OutlineGpencilModifierData.cs | 2 +- BlendFile/DNA/PTCacheMem.cs | 6 +- BlendFile/DNA/Paint.cs | 6 +- BlendFile/DNA/PaintModeSettings.cs | 2 +- BlendFile/DNA/Paint_Runtime.cs | 2 +- BlendFile/DNA/Palette.cs | 2 +- BlendFile/DNA/PaletteColor.cs | 2 +- BlendFile/DNA/Panel.cs | 4 +- BlendFile/DNA/PanelCategoryStack.cs | 2 +- BlendFile/DNA/PartDeflect.cs | 16 +- BlendFile/DNA/PartEff.cs | 20 +- BlendFile/DNA/ParticleData.cs | 4 +- BlendFile/DNA/ParticleDupliWeight.cs | 2 +- BlendFile/DNA/ParticleEditSettings.cs | 4 +- BlendFile/DNA/ParticleInstanceModifierData.cs | 4 +- BlendFile/DNA/ParticleKey.cs | 8 +- BlendFile/DNA/ParticleSettings.cs | 66 +-- BlendFile/DNA/ParticleSpring.cs | 2 +- BlendFile/DNA/ParticleSystem.cs | 14 +- BlendFile/DNA/ParticleSystemModifierData.cs | 2 +- BlendFile/DNA/PhysicsSettings.cs | 4 +- BlendFile/DNA/PixelShaderFxData.cs | 4 +- BlendFile/DNA/PointCache.cs | 14 +- BlendFile/DNA/PointCloud.cs | 2 +- BlendFile/DNA/PointDensity.cs | 10 +- BlendFile/DNA/PreviewImage.cs | 14 +- BlendFile/DNA/RegionView3D.cs | 42 +- BlendFile/DNA/RenderData.cs | 26 +- BlendFile/DNA/RenderSlot.cs | 2 +- BlendFile/DNA/ReportList.cs | 2 +- BlendFile/DNA/RigidBodyCon.cs | 2 +- BlendFile/DNA/RigidBodyOb.cs | 8 +- BlendFile/DNA/RigidBodyWorld.cs | 2 +- BlendFile/DNA/RimShaderFxData.cs | 10 +- BlendFile/DNA/SBVertex.cs | 2 +- BlendFile/DNA/SPHFluidSettings.cs | 2 +- BlendFile/DNA/Scene.cs | 8 +- BlendFile/DNA/SceneDisplay.cs | 4 +- BlendFile/DNA/SceneEEVEE.cs | 4 +- BlendFile/DNA/SceneGpencil.cs | 2 +- BlendFile/DNA/SceneRenderLayer.cs | 2 +- BlendFile/DNA/SceneRenderView.cs | 6 +- BlendFile/DNA/Scopes.cs | 2 +- BlendFile/DNA/ScrArea.cs | 2 +- BlendFile/DNA/ScrArea_Runtime.cs | 2 +- BlendFile/DNA/ScrEdge.cs | 2 +- BlendFile/DNA/ScrGlobalAreaData.cs | 2 +- BlendFile/DNA/ScrewModifierData.cs | 2 +- BlendFile/DNA/Script.cs | 4 +- BlendFile/DNA/Sculpt.cs | 2 +- BlendFile/DNA/SeqRetimingHandle.cs | 4 +- BlendFile/DNA/SeqTimelineChannel.cs | 2 +- BlendFile/DNA/Sequence.cs | 12 +- BlendFile/DNA/SequenceModifierData.cs | 2 +- BlendFile/DNA/SequencerCacheOverlay.cs | 2 +- BlendFile/DNA/SequencerPreviewOverlay.cs | 2 +- BlendFile/DNA/SequencerTimelineOverlay.cs | 2 +- BlendFile/DNA/ShaderFxData.cs | 4 +- BlendFile/DNA/ShaderFxData_Runtime.cs | 4 +- BlendFile/DNA/ShadowShaderFxData.cs | 10 +- .../DNA/ShrinkwrapGpencilModifierData.cs | 6 +- BlendFile/DNA/ShrinkwrapModifierData.cs | 4 +- BlendFile/DNA/SimpleDeformModifierData.cs | 4 +- BlendFile/DNA/SimplifyGpencilModifierData.cs | 4 +- BlendFile/DNA/SimulationZoneViewerPathElem.cs | 2 +- BlendFile/DNA/SkinModifierData.cs | 2 +- BlendFile/DNA/SmoothGpencilModifierData.cs | 8 +- BlendFile/DNA/SmoothModifierData.cs | 2 +- BlendFile/DNA/SoftBody.cs | 14 +- BlendFile/DNA/SolidColorVars.cs | 4 +- BlendFile/DNA/SolidLight.cs | 6 +- BlendFile/DNA/SolidifyModifierData.cs | 6 +- BlendFile/DNA/SpaceAction.cs | 6 +- BlendFile/DNA/SpaceAction_Runtime.cs | 2 +- BlendFile/DNA/SpaceButs.cs | 4 +- BlendFile/DNA/SpaceClip.cs | 18 +- BlendFile/DNA/SpaceConsole.cs | 6 +- BlendFile/DNA/SpaceFile.cs | 4 +- BlendFile/DNA/SpaceGraph_Runtime.cs | 2 +- BlendFile/DNA/SpaceImage.cs | 10 +- BlendFile/DNA/SpaceImageOverlay.cs | 2 +- BlendFile/DNA/SpaceInfo.cs | 4 +- BlendFile/DNA/SpaceIpo.cs | 4 +- BlendFile/DNA/SpaceLink.cs | 2 +- BlendFile/DNA/SpaceNla.cs | 4 +- BlendFile/DNA/SpaceNode.cs | 4 +- BlendFile/DNA/SpaceOops.cs | 6 +- BlendFile/DNA/SpaceScript.cs | 4 +- BlendFile/DNA/SpaceSeq.cs | 8 +- BlendFile/DNA/SpaceSpreadsheet.cs | 2 +- BlendFile/DNA/SpaceStatusBar.cs | 2 +- BlendFile/DNA/SpaceText.cs | 12 +- BlendFile/DNA/SpaceTopBar.cs | 2 +- BlendFile/DNA/SpaceUserPref.cs | 6 +- BlendFile/DNA/Speaker.cs | 2 +- BlendFile/DNA/SpreadsheetColumn.cs | 2 +- BlendFile/DNA/SpreadsheetRowFilter.cs | 14 +- BlendFile/DNA/Stereo3dFormat.cs | 2 +- BlendFile/DNA/Strip.cs | 2 +- BlendFile/DNA/StripColorBalance.cs | 14 +- BlendFile/DNA/StripElem.cs | 2 +- BlendFile/DNA/StripProxy.cs | 6 +- BlendFile/DNA/StripTransform.cs | 2 +- BlendFile/DNA/SubdivGpencilModifierData.cs | 6 +- BlendFile/DNA/SubsurfModifierData.cs | 2 +- BlendFile/DNA/SurfaceDeformModifierData.cs | 4 +- BlendFile/DNA/TFace.cs | 4 +- BlendFile/DNA/Tex.cs | 6 +- BlendFile/DNA/TexMapping.cs | 12 +- BlendFile/DNA/TexNodeOutput.cs | 2 +- BlendFile/DNA/Text.cs | 2 +- BlendFile/DNA/TextLine.cs | 2 +- BlendFile/DNA/TextVars.cs | 14 +- BlendFile/DNA/TextureGpencilModifierData.cs | 10 +- BlendFile/DNA/ThemeAssetShelf.cs | 4 +- BlendFile/DNA/ThemeCollectionColor.cs | 2 +- BlendFile/DNA/ThemeSpace.cs | 442 +++++++++--------- BlendFile/DNA/ThemeStripColor.cs | 2 +- BlendFile/DNA/ThemeUI.cs | 54 +-- BlendFile/DNA/ThemeWireColor.cs | 8 +- BlendFile/DNA/ThickGpencilModifierData.cs | 8 +- BlendFile/DNA/TimeGpencilModifierData.cs | 4 +- BlendFile/DNA/TimeGpencilModifierSegment.cs | 2 +- BlendFile/DNA/TimeMarker.cs | 2 +- BlendFile/DNA/TintGpencilModifierData.cs | 8 +- BlendFile/DNA/ToolSettings.cs | 14 +- BlendFile/DNA/TransformOrientation.cs | 6 +- BlendFile/DNA/TransformOrientationSlot.cs | 2 +- BlendFile/DNA/UVProjectModifierData.cs | 20 +- BlendFile/DNA/UVWarpModifierData.cs | 16 +- BlendFile/DNA/UnifiedPaintSettings.cs | 18 +- BlendFile/DNA/UnitSettings.cs | 2 +- BlendFile/DNA/UserDef.cs | 62 +-- BlendFile/DNA/UserDef_Experimental.cs | 2 +- BlendFile/DNA/UserDef_Runtime.cs | 2 +- BlendFile/DNA/UserDef_SpaceData.cs | 2 +- BlendFile/DNA/UvSculpt.cs | 2 +- BlendFile/DNA/VFont.cs | 2 +- BlendFile/DNA/VPaint.cs | 4 +- BlendFile/DNA/View2D.cs | 6 +- BlendFile/DNA/View3D.cs | 16 +- BlendFile/DNA/View3DCursor.cs | 10 +- BlendFile/DNA/View3DOverlay.cs | 6 +- BlendFile/DNA/View3DShading.cs | 14 +- BlendFile/DNA/View3D_Runtime.cs | 2 +- BlendFile/DNA/ViewLayer.cs | 6 +- BlendFile/DNA/ViewLayerAOV.cs | 2 +- BlendFile/DNA/ViewLayerEEVEE.cs | 2 +- BlendFile/DNA/ViewLayerLightgroup.cs | 2 +- BlendFile/DNA/ViewerNodeViewerPathElem.cs | 2 +- BlendFile/DNA/ViewerPathElem.cs | 2 +- BlendFile/DNA/Volume.cs | 10 +- BlendFile/DNA/VolumeDisplaceModifierData.cs | 2 +- BlendFile/DNA/VolumeDisplay.cs | 2 +- BlendFile/DNA/VolumeToMeshModifierData.cs | 2 +- BlendFile/DNA/WalkNavigation.cs | 2 +- BlendFile/DNA/WarpModifierData.cs | 14 +- BlendFile/DNA/WaveModifierData.cs | 12 +- BlendFile/DNA/WaveShaderFxData.cs | 2 +- .../DNA/WeightAngleGpencilModifierData.cs | 6 +- .../DNA/WeightProxGpencilModifierData.cs | 6 +- BlendFile/DNA/WeightVGEditModifierData.cs | 8 +- BlendFile/DNA/WeightVGMixModifierData.cs | 16 +- .../DNA/WeightVGProximityModifierData.cs | 12 +- BlendFile/DNA/WeightedNormalModifierData.cs | 2 +- BlendFile/DNA/WeldModifierData.cs | 4 +- BlendFile/DNA/WhiteBalanceModifierData.cs | 4 +- BlendFile/DNA/WireframeModifierData.cs | 4 +- BlendFile/DNA/WorkSpace.cs | 2 +- BlendFile/DNA/WorkSpaceDataRelation.cs | 2 +- BlendFile/DNA/WorkSpaceLayout.cs | 2 +- BlendFile/DNA/World.cs | 10 +- BlendFile/DNA/XrActionMap.cs | 4 +- BlendFile/DNA/XrActionMapBinding.cs | 10 +- BlendFile/DNA/XrActionMapItem.cs | 10 +- BlendFile/DNA/XrComponentPath.cs | 2 +- BlendFile/DNA/XrSessionSettings.cs | 6 +- BlendFile/DNA/XrUserPath.cs | 2 +- BlendFile/DNA/bAction.cs | 4 +- BlendFile/DNA/bActionChannel.cs | 2 +- BlendFile/DNA/bActionConstraint.cs | 8 +- BlendFile/DNA/bActionGroup.cs | 2 +- BlendFile/DNA/bActionModifier.cs | 2 +- BlendFile/DNA/bActionStrip.cs | 4 +- BlendFile/DNA/bAddon.cs | 2 +- BlendFile/DNA/bAnimVizSettings.cs | 2 +- BlendFile/DNA/bArmature.cs | 4 +- BlendFile/DNA/bArmatureConstraint.cs | 2 +- BlendFile/DNA/bArmature_Runtime.cs | 2 +- BlendFile/DNA/bCameraSolverConstraint.cs | 2 +- BlendFile/DNA/bChildOfConstraint.cs | 6 +- BlendFile/DNA/bConstraint.cs | 4 +- BlendFile/DNA/bConstraintChannel.cs | 2 +- BlendFile/DNA/bConstraintTarget.cs | 6 +- BlendFile/DNA/bDampTrackConstraint.cs | 4 +- BlendFile/DNA/bDeformGroup.cs | 4 +- BlendFile/DNA/bDistLimitConstraint.cs | 4 +- BlendFile/DNA/bDopeSheet.cs | 2 +- BlendFile/DNA/bFaceMap.cs | 4 +- BlendFile/DNA/bFollowTrackConstraint.cs | 4 +- BlendFile/DNA/bGPDcontrolpoint.cs | 2 +- BlendFile/DNA/bGPDcurve.cs | 2 +- BlendFile/DNA/bGPDcurve_point.cs | 6 +- BlendFile/DNA/bGPDlayer.cs | 34 +- BlendFile/DNA/bGPDlayer_Mask.cs | 4 +- BlendFile/DNA/bGPDlayer_Runtime.cs | 2 +- BlendFile/DNA/bGPDpalette.cs | 4 +- BlendFile/DNA/bGPDpalettecolor.cs | 8 +- BlendFile/DNA/bGPDspoint.cs | 6 +- BlendFile/DNA/bGPDspoint_Runtime.cs | 2 +- BlendFile/DNA/bGPDstroke.cs | 18 +- BlendFile/DNA/bGPDstroke_Runtime.cs | 2 +- BlendFile/DNA/bGPDtriangle.cs | 2 +- BlendFile/DNA/bGPdata.cs | 8 +- BlendFile/DNA/bGPdata_Runtime.cs | 8 +- BlendFile/DNA/bGPgrid.cs | 10 +- BlendFile/DNA/bKinematicConstraint.cs | 6 +- BlendFile/DNA/bLocateLikeConstraint.cs | 2 +- BlendFile/DNA/bLockTrackConstraint.cs | 2 +- BlendFile/DNA/bMinMaxConstraint.cs | 2 +- BlendFile/DNA/bMotionPath.cs | 6 +- BlendFile/DNA/bMotionPathVert.cs | 2 +- BlendFile/DNA/bNestedNodeRef.cs | 2 +- BlendFile/DNA/bNode.cs | 10 +- BlendFile/DNA/bNodePanelState.cs | 2 +- BlendFile/DNA/bNodeSocket.cs | 14 +- BlendFile/DNA/bNodeSocketValueRGBA.cs | 2 +- BlendFile/DNA/bNodeSocketValueRotation.cs | 2 +- BlendFile/DNA/bNodeSocketValueString.cs | 4 +- BlendFile/DNA/bNodeSocketValueVector.cs | 2 +- BlendFile/DNA/bNodeStack.cs | 4 +- BlendFile/DNA/bNodeTree.cs | 4 +- BlendFile/DNA/bNodeTreeInterfaceItem.cs | 2 +- BlendFile/DNA/bNodeTreeInterfacePanel.cs | 2 +- BlendFile/DNA/bNodeTreePath.cs | 8 +- BlendFile/DNA/bObjectSolverConstraint.cs | 6 +- BlendFile/DNA/bPathCompare.cs | 4 +- BlendFile/DNA/bPivotConstraint.cs | 4 +- BlendFile/DNA/bPose.cs | 6 +- BlendFile/DNA/bPoseChannel.cs | 46 +- .../DNA/bPoseChannel_BBoneSegmentBoundary.cs | 4 +- BlendFile/DNA/bPoseChannel_Runtime.cs | 2 +- BlendFile/DNA/bPythonConstraint.cs | 2 +- BlendFile/DNA/bRigidBodyJointConstraint.cs | 6 +- BlendFile/DNA/bRotLimitConstraint.cs | 2 +- BlendFile/DNA/bRotateLikeConstraint.cs | 4 +- BlendFile/DNA/bSameVolumeConstraint.cs | 2 +- BlendFile/DNA/bScreen.cs | 2 +- BlendFile/DNA/bSizeLikeConstraint.cs | 2 +- BlendFile/DNA/bSound.cs | 4 +- BlendFile/DNA/bSplineIKConstraint.cs | 2 +- BlendFile/DNA/bStretchToConstraint.cs | 2 +- BlendFile/DNA/bTheme.cs | 10 +- BlendFile/DNA/bToolRef.cs | 4 +- BlendFile/DNA/bTrackToConstraint.cs | 4 +- BlendFile/DNA/bTransLikeConstraint.cs | 4 +- BlendFile/DNA/bTransformCacheConstraint.cs | 4 +- BlendFile/DNA/bTransformConstraint.cs | 30 +- BlendFile/DNA/bUUID.cs | 2 +- BlendFile/DNA/bUserAssetLibrary.cs | 6 +- BlendFile/DNA/bUserAssetShelfSettings.cs | 2 +- BlendFile/DNA/bUserExtensionRepo.cs | 10 +- BlendFile/DNA/bUserMenu.cs | 4 +- BlendFile/DNA/bUserMenuItem.cs | 4 +- BlendFile/DNA/bUserMenuItem_Menu.cs | 2 +- BlendFile/DNA/bUserMenuItem_Op.cs | 6 +- BlendFile/DNA/bUserMenuItem_Prop.cs | 6 +- BlendFile/DNA/bUserScriptDirectory.cs | 4 +- BlendFile/DNA/mat4x4f.cs | 2 +- BlendFile/DNA/tPaletteColorHSV.cs | 2 +- BlendFile/DNA/uiFontStyle.cs | 4 +- BlendFile/DNA/uiList.cs | 2 +- BlendFile/DNA/uiPanelColors.cs | 8 +- BlendFile/DNA/uiPreview.cs | 2 +- BlendFile/DNA/uiStyle.cs | 4 +- BlendFile/DNA/uiWidgetColors.cs | 14 +- BlendFile/DNA/uiWidgetStateColors.cs | 22 +- BlendFile/DNA/wmKeyConfig.cs | 6 +- BlendFile/DNA/wmKeyConfigPref.cs | 2 +- BlendFile/DNA/wmKeyMap.cs | 4 +- BlendFile/DNA/wmKeyMapItem.cs | 6 +- BlendFile/DNA/wmOperator.cs | 4 +- BlendFile/DNA/wmOwnerID.cs | 2 +- BlendFile/DNA/wmWindow.cs | 6 +- BlendFile/DNA/wmWindowManager.cs | 4 +- BlendFile/DNAArrayAttribute.cs | 91 ++++ BlendFile/Reader.cs | 12 + 651 files changed, 2043 insertions(+), 1940 deletions(-) create mode 100644 BlendFile/DNAArrayAttribute.cs diff --git a/BlendFile/DNA/ARegion.cs b/BlendFile/DNA/ARegion.cs index a3c75fc..c1375ad 100644 --- a/BlendFile/DNA/ARegion.cs +++ b/BlendFile/DNA/ARegion.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public short winy; [DNAFieldAttribute(4, "int", 7, "category_scroll", "int", false, 204)] public int category_scroll; - [DNAFieldAttribute(4, "char", 8, "_pad0[4]", "System.Char[]", false, 208)] + [DNAArrayAttribute(4, "char", 8, "_pad0[4]", "System.Char[]", 4, 208)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(2, "short", 9, "visible", "short", false, 212)] public short visible; diff --git a/BlendFile/DNA/ActionChannelBag.cs b/BlendFile/DNA/ActionChannelBag.cs index 3f65c17..ed9c07c 100644 --- a/BlendFile/DNA/ActionChannelBag.cs +++ b/BlendFile/DNA/ActionChannelBag.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public int slot_handle; [DNAListAttribute(8, "bActionGroup", "**group_array", 2, "bActionGroup", "int", "group_array_num", 1, 8, 4)] public System.Collections.Generic.List group_array; - [DNAFieldAttribute(4, "uchar", 3, "_pad[4]", "System.Byte[]", false, 16)] + [DNAArrayAttribute(4, "uchar", 3, "_pad[4]", "System.Byte[]", 4, 16)] public byte[] _pad = new System.Byte[4]; [DNAListAttribute(8, "FCurve", "**fcurve_array", 5, "FCurve", "int", "fcurve_array_num", 4, 24, 20)] public System.Collections.Generic.List fcurve_array; diff --git a/BlendFile/DNA/ActionLayer.cs b/BlendFile/DNA/ActionLayer.cs index 49dc7ea..cfc9f5e 100644 --- a/BlendFile/DNA/ActionLayer.cs +++ b/BlendFile/DNA/ActionLayer.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(66, "ActionLayer", 88)] public class ActionLayer { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "float", 1, "influence", "float", false, 64)] public float influence; @@ -23,11 +23,11 @@ namespace BlendFile.DNA { public byte layer_flags; [DNAFieldAttribute(1, "int8_t", 3, "layer_mix_mode", "int8_t", false, 69)] public sbyte layer_mix_mode; - [DNAFieldAttribute(2, "uchar", 4, "_pad0[2]", "System.Byte[]", false, 70)] + [DNAArrayAttribute(2, "uchar", 4, "_pad0[2]", "System.Byte[]", 2, 70)] public byte[] _pad0 = new System.Byte[2]; [DNAListAttribute(8, "ActionStrip", "**strip_array", 5, "ActionStrip", "int", "strip_array_num", 6, 72, 80)] public System.Collections.Generic.List strip_array; - [DNAFieldAttribute(4, "uchar", 7, "_pad1[4]", "System.Byte[]", false, 84)] + [DNAArrayAttribute(4, "uchar", 7, "_pad1[4]", "System.Byte[]", 4, 84)] public byte[] _pad1 = new System.Byte[4]; public ActionLayer() { this.name = default; diff --git a/BlendFile/DNA/ActionSlot.cs b/BlendFile/DNA/ActionSlot.cs index 2491ee3..df37874 100644 --- a/BlendFile/DNA/ActionSlot.cs +++ b/BlendFile/DNA/ActionSlot.cs @@ -15,9 +15,9 @@ namespace BlendFile.DNA { [DNAClassAttribute(67, "ActionSlot", 88)] public class ActionSlot { - [DNAFieldAttribute(66, "char", 0, "name[66]", "System.Char[]", false, 0)] + [DNAArrayAttribute(66, "char", 0, "name[66]", "System.Char[]", 66, 0)] public char[] name = new System.Char[66]; - [DNAFieldAttribute(2, "uchar", 1, "_pad0[2]", "System.Byte[]", false, 66)] + [DNAArrayAttribute(2, "uchar", 1, "_pad0[2]", "System.Byte[]", 2, 66)] public byte[] _pad0 = new System.Byte[2]; [DNAFieldAttribute(4, "int", 2, "idtype", "int", false, 68)] public int idtype; @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int handle; [DNAFieldAttribute(1, "int8_t", 4, "slot_flags", "int8_t", false, 76)] public sbyte slot_flags; - [DNAFieldAttribute(3, "uchar", 5, "_pad1[3]", "System.Byte[]", false, 77)] + [DNAArrayAttribute(3, "uchar", 5, "_pad1[3]", "System.Byte[]", 3, 77)] public byte[] _pad1 = new System.Byte[3]; [DNAFieldAttribute(8, "ActionSlotRuntimeHandle", 6, "*runtime", "ActionSlotRuntimeHandle", true, 80)] public ActionSlotRuntimeHandle runtime; diff --git a/BlendFile/DNA/ActionStrip.cs b/BlendFile/DNA/ActionStrip.cs index 698ef9f..9b0cb99 100644 --- a/BlendFile/DNA/ActionStrip.cs +++ b/BlendFile/DNA/ActionStrip.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class ActionStrip { [DNAFieldAttribute(1, "int8_t", 0, "strip_type", "int8_t", false, 0)] public sbyte strip_type; - [DNAFieldAttribute(3, "uchar", 1, "_pad0[3]", "System.Byte[]", false, 1)] + [DNAArrayAttribute(3, "uchar", 1, "_pad0[3]", "System.Byte[]", 3, 1)] public byte[] _pad0 = new System.Byte[3]; [DNAFieldAttribute(4, "int", 2, "data_index", "int", false, 4)] public int data_index; @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public float frame_end; [DNAFieldAttribute(4, "float", 5, "frame_offset", "float", false, 16)] public float frame_offset; - [DNAFieldAttribute(4, "uchar", 6, "_pad1[4]", "System.Byte[]", false, 20)] + [DNAArrayAttribute(4, "uchar", 6, "_pad1[4]", "System.Byte[]", 4, 20)] public byte[] _pad1 = new System.Byte[4]; public ActionStrip() { this.strip_type = default; diff --git a/BlendFile/DNA/ActionStripKeyframeData.cs b/BlendFile/DNA/ActionStripKeyframeData.cs index 04abcb7..1d2c613 100644 --- a/BlendFile/DNA/ActionStripKeyframeData.cs +++ b/BlendFile/DNA/ActionStripKeyframeData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class ActionStripKeyframeData { [DNAListAttribute(8, "ActionChannelBag", "**channelbag_array", 0, "ActionChannelBag", "int", "channelbag_array_num", 1, 0, 8)] public System.Collections.Generic.List channelbag_array; - [DNAFieldAttribute(4, "uchar", 2, "_pad[4]", "System.Byte[]", false, 12)] + [DNAArrayAttribute(4, "uchar", 2, "_pad[4]", "System.Byte[]", 4, 12)] public byte[] _pad = new System.Byte[4]; public ActionStripKeyframeData() { this.channelbag_array = default; diff --git a/BlendFile/DNA/AnimData.cs b/BlendFile/DNA/AnimData.cs index 7e4990a..bf9683d 100644 --- a/BlendFile/DNA/AnimData.cs +++ b/BlendFile/DNA/AnimData.cs @@ -19,17 +19,17 @@ namespace BlendFile.DNA { public bAction action; [DNAFieldAttribute(4, "int", 1, "slot_handle", "int", false, 8)] public int slot_handle; - [DNAFieldAttribute(66, "char", 2, "slot_name[66]", "System.Char[]", false, 12)] + [DNAArrayAttribute(66, "char", 2, "slot_name[66]", "System.Char[]", 66, 12)] public char[] slot_name = new System.Char[66]; - [DNAFieldAttribute(2, "uchar", 3, "_pad0[2]", "System.Byte[]", false, 78)] + [DNAArrayAttribute(2, "uchar", 3, "_pad0[2]", "System.Byte[]", 2, 78)] public byte[] _pad0 = new System.Byte[2]; [DNAFieldAttribute(8, "bAction", 4, "*tmpact", "bAction", true, 80)] public bAction tmpact; [DNAFieldAttribute(4, "int", 5, "tmp_slot_handle", "int", false, 88)] public int tmp_slot_handle; - [DNAFieldAttribute(66, "char", 6, "tmp_slot_name[66]", "System.Char[]", false, 92)] + [DNAArrayAttribute(66, "char", 6, "tmp_slot_name[66]", "System.Char[]", 66, 92)] public char[] tmp_slot_name = new System.Char[66]; - [DNAFieldAttribute(2, "uchar", 7, "_pad1[2]", "System.Byte[]", false, 158)] + [DNAArrayAttribute(2, "uchar", 7, "_pad1[2]", "System.Byte[]", 2, 158)] public byte[] _pad1 = new System.Byte[2]; [DNAFieldAttribute(16, "ListBase", 8, "nla_tracks", "ListBase", false, 160)] public ListBase nla_tracks; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public short act_extendmode; [DNAFieldAttribute(4, "float", 17, "act_influence", "float", false, 232)] public float act_influence; - [DNAFieldAttribute(4, "uchar", 18, "_pad2[4]", "System.Byte[]", false, 236)] + [DNAArrayAttribute(4, "uchar", 18, "_pad2[4]", "System.Byte[]", 4, 236)] public byte[] _pad2 = new System.Byte[4]; public AnimData() { this.action = default; diff --git a/BlendFile/DNA/ArmatureGpencilModifierData.cs b/BlendFile/DNA/ArmatureGpencilModifierData.cs index b84a03a..20b25d2 100644 --- a/BlendFile/DNA/ArmatureGpencilModifierData.cs +++ b/BlendFile/DNA/ArmatureGpencilModifierData.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int _pad; [DNAFieldAttribute(8, "Object", 4, "*object", "Object", true, 112)] public Object @object; - [DNAFieldAttribute(64, "char", 6, "vgname[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 6, "vgname[64]", "System.Char[]", 64, 120)] public char[] vgname = new System.Char[64]; public ArmatureGpencilModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/ArmatureModifierData.cs b/BlendFile/DNA/ArmatureModifierData.cs index 22f04c5..289b41a 100644 --- a/BlendFile/DNA/ArmatureModifierData.cs +++ b/BlendFile/DNA/ArmatureModifierData.cs @@ -21,11 +21,11 @@ namespace BlendFile.DNA { public short deformflag; [DNAFieldAttribute(2, "short", 2, "multi", "short", false, 122)] public short multi; - [DNAFieldAttribute(4, "char", 3, "_pad2[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 3, "_pad2[4]", "System.Char[]", 4, 124)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "Object", 4, "*object", "Object", true, 128)] public Object @object; - [DNAFieldAttribute(64, "char", 6, "defgrp_name[64]", "System.Char[]", false, 136)] + [DNAArrayAttribute(64, "char", 6, "defgrp_name[64]", "System.Char[]", 64, 136)] public char[] defgrp_name = new System.Char[64]; public ArmatureModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/ArrayGpencilModifierData.cs b/BlendFile/DNA/ArrayGpencilModifierData.cs index a0a8dd9..2322a02 100644 --- a/BlendFile/DNA/ArrayGpencilModifierData.cs +++ b/BlendFile/DNA/ArrayGpencilModifierData.cs @@ -25,25 +25,25 @@ namespace BlendFile.DNA { public int count; [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 124)] public int flag; - [DNAFieldAttribute(12, "float", 5, "offset[3]", "System.Single[]", false, 128)] + [DNAArrayAttribute(12, "float", 5, "offset[3]", "System.Single[]", 3, 128)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(12, "float", 6, "shift[3]", "System.Single[]", false, 140)] + [DNAArrayAttribute(12, "float", 6, "shift[3]", "System.Single[]", 3, 140)] public float[] shift = new System.Single[3]; - [DNAFieldAttribute(12, "float", 7, "rnd_offset[3]", "System.Single[]", false, 152)] + [DNAArrayAttribute(12, "float", 7, "rnd_offset[3]", "System.Single[]", 3, 152)] public float[] rnd_offset = new System.Single[3]; - [DNAFieldAttribute(12, "float", 8, "rnd_rot[3]", "System.Single[]", false, 164)] + [DNAArrayAttribute(12, "float", 8, "rnd_rot[3]", "System.Single[]", 3, 164)] public float[] rnd_rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 9, "rnd_scale[3]", "System.Single[]", false, 176)] + [DNAArrayAttribute(12, "float", 9, "rnd_scale[3]", "System.Single[]", 3, 176)] public float[] rnd_scale = new System.Single[3]; - [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 188)] + [DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, 188)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 11, "seed", "int", false, 192)] public int seed; [DNAFieldAttribute(4, "int", 12, "pass_index", "int", false, 196)] public int pass_index; - [DNAFieldAttribute(64, "char", 13, "layername[64]", "System.Char[]", false, 200)] + [DNAArrayAttribute(64, "char", 13, "layername[64]", "System.Char[]", 64, 200)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 14, "materialname[64]", "System.Char[]", false, 264)] + [DNAArrayAttribute(64, "char", 14, "materialname[64]", "System.Char[]", 64, 264)] public char[] materialname = new System.Char[64]; [DNAFieldAttribute(4, "int", 15, "mat_rpl", "int", false, 328)] public int mat_rpl; diff --git a/BlendFile/DNA/ArrayModifierData.cs b/BlendFile/DNA/ArrayModifierData.cs index 14fba8e..896222c 100644 --- a/BlendFile/DNA/ArrayModifierData.cs +++ b/BlendFile/DNA/ArrayModifierData.cs @@ -25,9 +25,9 @@ namespace BlendFile.DNA { public Object curve_ob; [DNAFieldAttribute(8, "Object", 4, "*offset_ob", "Object", true, 144)] public Object offset_ob; - [DNAFieldAttribute(12, "float", 5, "offset[3]", "System.Single[]", false, 152)] + [DNAArrayAttribute(12, "float", 5, "offset[3]", "System.Single[]", 3, 152)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(12, "float", 6, "scale[3]", "System.Single[]", false, 164)] + [DNAArrayAttribute(12, "float", 6, "scale[3]", "System.Single[]", 3, 164)] public float[] scale = new System.Single[3]; [DNAFieldAttribute(4, "float", 7, "length", "float", false, 176)] public float length; @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public int flags; [DNAFieldAttribute(4, "int", 12, "count", "int", false, 196)] public int count; - [DNAFieldAttribute(8, "float", 13, "uv_offset[2]", "System.Single[]", false, 200)] + [DNAArrayAttribute(8, "float", 13, "uv_offset[2]", "System.Single[]", 2, 200)] public float[] uv_offset = new System.Single[2]; public ArrayModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/AssetLibraryReference.cs b/BlendFile/DNA/AssetLibraryReference.cs index 78006fd..a597225 100644 --- a/BlendFile/DNA/AssetLibraryReference.cs +++ b/BlendFile/DNA/AssetLibraryReference.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class AssetLibraryReference { [DNAFieldAttribute(2, "short", 0, "type", "short", false, 0)] public short type; - [DNAFieldAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", false, 2)] + [DNAArrayAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", 2, 2)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(4, "int", 2, "custom_library_index", "int", false, 4)] public int custom_library_index; diff --git a/BlendFile/DNA/AssetMetaData.cs b/BlendFile/DNA/AssetMetaData.cs index 6a27f6c..2c9882d 100644 --- a/BlendFile/DNA/AssetMetaData.cs +++ b/BlendFile/DNA/AssetMetaData.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public IDProperty properties; [DNAFieldAttribute(16, "bUUID", 2, "catalog_id", "bUUID", false, 16)] public bUUID catalog_id; - [DNAFieldAttribute(64, "char", 3, "catalog_simple_name[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 3, "catalog_simple_name[64]", "System.Char[]", 64, 32)] public char[] catalog_simple_name = new System.Char[64]; [DNAFieldAttribute(8, "char", 4, "*author", "char", true, 96)] public char author; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public short active_tag; [DNAFieldAttribute(2, "short", 10, "tot_tags", "short", false, 146)] public short tot_tags; - [DNAFieldAttribute(4, "char", 11, "_pad[4]", "System.Char[]", false, 148)] + [DNAArrayAttribute(4, "char", 11, "_pad[4]", "System.Char[]", 4, 148)] public char[] _pad = new System.Char[4]; public AssetMetaData() { this.local_type_info = default; diff --git a/BlendFile/DNA/AssetShelf.cs b/BlendFile/DNA/AssetShelf.cs index 782e240..7627ba6 100644 --- a/BlendFile/DNA/AssetShelf.cs +++ b/BlendFile/DNA/AssetShelf.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public AssetShelf next; [DNAFieldAttribute(8, "AssetShelf", 1, "*prev", "AssetShelf", true, 8)] public AssetShelf prev; - [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "idname[64]", "System.Char[]", 64, 16)] public char[] idname = new System.Char[64]; [DNAFieldAttribute(8, "AssetShelfType", 3, "*type", "AssetShelfType", true, 80)] public AssetShelfType type; @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public short preferred_row_count; [DNAFieldAttribute(2, "short", 6, "instance_flag", "short", false, 210)] public short instance_flag; - [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 212)] + [DNAArrayAttribute(4, "char", 7, "_pad[4]", "System.Char[]", 4, 212)] public char[] _pad = new System.Char[4]; public AssetShelf() { this.next = default; diff --git a/BlendFile/DNA/AssetShelfSettings.cs b/BlendFile/DNA/AssetShelfSettings.cs index 106c5b8..a871f82 100644 --- a/BlendFile/DNA/AssetShelfSettings.cs +++ b/BlendFile/DNA/AssetShelfSettings.cs @@ -25,13 +25,13 @@ namespace BlendFile.DNA { public ListBase enabled_catalog_paths; [DNAFieldAttribute(8, "char", 4, "*active_catalog_path", "char", true, 40)] public char active_catalog_path; - [DNAFieldAttribute(64, "char", 5, "search_string[64]", "System.Char[]", false, 48)] + [DNAArrayAttribute(64, "char", 5, "search_string[64]", "System.Char[]", 64, 48)] public char[] search_string = new System.Char[64]; [DNAFieldAttribute(2, "short", 6, "preview_size", "short", false, 112)] public short preview_size; [DNAFieldAttribute(2, "short", 7, "display_flag", "short", false, 114)] public short display_flag; - [DNAFieldAttribute(4, "char", 8, "_pad1[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 8, "_pad1[4]", "System.Char[]", 4, 116)] public char[] _pad1 = new System.Char[4]; public AssetShelfSettings() { this.next = default; diff --git a/BlendFile/DNA/AssetTag.cs b/BlendFile/DNA/AssetTag.cs index b66f221..369ce6c 100644 --- a/BlendFile/DNA/AssetTag.cs +++ b/BlendFile/DNA/AssetTag.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public AssetTag next; [DNAFieldAttribute(8, "AssetTag", 1, "*prev", "AssetTag", true, 8)] public AssetTag prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; public AssetTag() { this.next = default; diff --git a/BlendFile/DNA/AssetWeakReference.cs b/BlendFile/DNA/AssetWeakReference.cs index 20031e4..10676cb 100644 --- a/BlendFile/DNA/AssetWeakReference.cs +++ b/BlendFile/DNA/AssetWeakReference.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(114, "AssetWeakReference", 24)] public class AssetWeakReference { - [DNAFieldAttribute(6, "char", 0, "_pad[6]", "System.Char[]", false, 0)] + [DNAArrayAttribute(6, "char", 0, "_pad[6]", "System.Char[]", 6, 0)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(2, "short", 1, "asset_library_type", "short", false, 6)] public short asset_library_type; diff --git a/BlendFile/DNA/AudioData.cs b/BlendFile/DNA/AudioData.cs index 65e4c83..23f332a 100644 --- a/BlendFile/DNA/AudioData.cs +++ b/BlendFile/DNA/AudioData.cs @@ -27,11 +27,11 @@ namespace BlendFile.DNA { public int distance_model; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 20)] public short flag; - [DNAFieldAttribute(2, "char", 6, "_pad[2]", "System.Char[]", false, 22)] + [DNAArrayAttribute(2, "char", 6, "_pad[2]", "System.Char[]", 2, 22)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 7, "volume", "float", false, 24)] public float volume; - [DNAFieldAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", 4, 28)] public char[] _pad2 = new System.Char[4]; public AudioData() { this.mixrate = default; diff --git a/BlendFile/DNA/BPoint.cs b/BlendFile/DNA/BPoint.cs index 2d51078..12eee83 100644 --- a/BlendFile/DNA/BPoint.cs +++ b/BlendFile/DNA/BPoint.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(206, "BPoint", 36)] public class BPoint { - [DNAFieldAttribute(16, "float", 0, "vec[4]", "System.Single[]", false, 0)] + [DNAArrayAttribute(16, "float", 0, "vec[4]", "System.Single[]", 4, 0)] public float[] vec = new System.Single[4]; [DNAFieldAttribute(4, "float", 1, "alfa", "float", false, 16)] public float alfa; @@ -23,13 +23,13 @@ namespace BlendFile.DNA { public float weight; [DNAFieldAttribute(1, "uchar", 3, "f1", "uchar", false, 24)] public byte f1; - [DNAFieldAttribute(1, "char", 4, "_pad1[1]", "System.Char[]", false, 25)] + [DNAArrayAttribute(1, "char", 4, "_pad1[1]", "System.Char[]", 1, 25)] public char[] _pad1 = new System.Char[1]; [DNAFieldAttribute(2, "short", 5, "hide", "short", false, 26)] public short hide; [DNAFieldAttribute(4, "float", 6, "radius", "float", false, 28)] public float radius; - [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 32)] + [DNAArrayAttribute(4, "char", 7, "_pad[4]", "System.Char[]", 4, 32)] public char[] _pad = new System.Char[4]; public BPoint() { this.vec = default; diff --git a/BlendFile/DNA/BakeData.cs b/BlendFile/DNA/BakeData.cs index cf4aec7..b568739 100644 --- a/BlendFile/DNA/BakeData.cs +++ b/BlendFile/DNA/BakeData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class BakeData { [DNAFieldAttribute(336, "ImageFormatData", 0, "im_format", "ImageFormatData", false, 0)] public ImageFormatData im_format; - [DNAFieldAttribute(1024, "char", 1, "filepath[1024]", "System.Char[]", false, 336)] + [DNAArrayAttribute(1024, "char", 1, "filepath[1024]", "System.Char[]", 1024, 336)] public char[] filepath = new System.Char[1024]; [DNAFieldAttribute(2, "short", 2, "width", "short", false, 1360)] public short width; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public float max_ray_distance; [DNAFieldAttribute(4, "int", 8, "pass_filter", "int", false, 1376)] public int pass_filter; - [DNAFieldAttribute(3, "char", 9, "normal_swizzle[3]", "System.Char[]", false, 1380)] + [DNAArrayAttribute(3, "char", 9, "normal_swizzle[3]", "System.Char[]", 3, 1380)] public char[] normal_swizzle = new System.Char[3]; [DNAFieldAttribute(1, "char", 10, "normal_space", "char", false, 1383)] public char normal_space; @@ -45,7 +45,7 @@ namespace BlendFile.DNA { public char margin_type; [DNAFieldAttribute(1, "char", 14, "view_from", "char", false, 1387)] public char view_from; - [DNAFieldAttribute(4, "char", 15, "_pad[4]", "System.Char[]", false, 1388)] + [DNAArrayAttribute(4, "char", 15, "_pad[4]", "System.Char[]", 4, 1388)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "Object", 16, "*cage_object", "Object", true, 1392)] public Object cage_object; diff --git a/BlendFile/DNA/Base.cs b/BlendFile/DNA/Base.cs index d38cd85..05ecf31 100644 --- a/BlendFile/DNA/Base.cs +++ b/BlendFile/DNA/Base.cs @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public short local_view_bits; [DNAFieldAttribute(2, "short", 9, "local_collections_bits", "short", false, 44)] public short local_collections_bits; - [DNAFieldAttribute(2, "char", 10, "_pad1[2]", "System.Char[]", false, 46)] + [DNAArrayAttribute(2, "char", 10, "_pad1[2]", "System.Char[]", 2, 46)] public char[] _pad1 = new System.Char[2]; public Base() { this.next = default; diff --git a/BlendFile/DNA/BevelModifierData.cs b/BlendFile/DNA/BevelModifierData.cs index 7c81376..2bd42eb 100644 --- a/BlendFile/DNA/BevelModifierData.cs +++ b/BlendFile/DNA/BevelModifierData.cs @@ -53,15 +53,15 @@ namespace BlendFile.DNA { public float bevel_angle; [DNAFieldAttribute(4, "float", 18, "spread", "float", false, 160)] public float spread; - [DNAFieldAttribute(64, "char", 19, "defgrp_name[64]", "System.Char[]", false, 164)] + [DNAArrayAttribute(64, "char", 19, "defgrp_name[64]", "System.Char[]", 64, 164)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(4, "char", 20, "_pad1[4]", "System.Char[]", false, 228)] + [DNAArrayAttribute(4, "char", 20, "_pad1[4]", "System.Char[]", 4, 228)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "CurveProfile", 21, "*custom_profile", "CurveProfile", true, 232)] public CurveProfile custom_profile; - [DNAFieldAttribute(64, "char", 22, "edge_weight_name[64]", "System.Char[]", false, 240)] + [DNAArrayAttribute(64, "char", 22, "edge_weight_name[64]", "System.Char[]", 64, 240)] public char[] edge_weight_name = new System.Char[64]; - [DNAFieldAttribute(64, "char", 23, "vertex_weight_name[64]", "System.Char[]", false, 304)] + [DNAArrayAttribute(64, "char", 23, "vertex_weight_name[64]", "System.Char[]", 64, 304)] public char[] vertex_weight_name = new System.Char[64]; public BevelModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/BezTriple.cs b/BlendFile/DNA/BezTriple.cs index cbaa9da..a9e45c7 100644 --- a/BlendFile/DNA/BezTriple.cs +++ b/BlendFile/DNA/BezTriple.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(95, "BezTriple", 72)] public class BezTriple { - [DNAFieldAttribute(36, "float", 0, "vec[3][3]", "System.Single[,]", false, 0)] + [DNAArrayAttribute(36, "float", 0, "vec[3][3]", "System.Single[,]", 6, 0)] public float[,] vec = new System.Single[3,3]; [DNAFieldAttribute(4, "float", 1, "alfa", "float", false, 36)] public float alfa; @@ -47,7 +47,7 @@ namespace BlendFile.DNA { public float period; [DNAFieldAttribute(1, "char", 15, "auto_handle_type", "char", false, 68)] public char auto_handle_type; - [DNAFieldAttribute(3, "char", 16, "_pad[3]", "System.Char[]", false, 69)] + [DNAArrayAttribute(3, "char", 16, "_pad[3]", "System.Char[]", 3, 69)] public char[] _pad = new System.Char[3]; public BezTriple() { this.vec = default; diff --git a/BlendFile/DNA/BlurShaderFxData.cs b/BlendFile/DNA/BlurShaderFxData.cs index 257de9c..6b717c8 100644 --- a/BlendFile/DNA/BlurShaderFxData.cs +++ b/BlendFile/DNA/BlurShaderFxData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class BlurShaderFxData { [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(8, "float", 1, "radius[2]", "System.Single[]", false, 104)] + [DNAArrayAttribute(8, "float", 1, "radius[2]", "System.Single[]", 2, 104)] public float[] radius = new System.Single[2]; [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 112)] public int flag; @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int samples; [DNAFieldAttribute(4, "float", 4, "rotation", "float", false, 120)] public float rotation; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 124)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(40, "ShaderFxData_Runtime", 6, "runtime", "ShaderFxData_Runtime", false, 128)] public ShaderFxData_Runtime runtime; diff --git a/BlendFile/DNA/BoidData.cs b/BlendFile/DNA/BoidData.cs index 082736b..084ea08 100644 --- a/BlendFile/DNA/BoidData.cs +++ b/BlendFile/DNA/BoidData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class BoidData { [DNAFieldAttribute(4, "float", 0, "health", "float", false, 0)] public float health; - [DNAFieldAttribute(12, "float", 1, "acc[3]", "System.Single[]", false, 4)] + [DNAArrayAttribute(12, "float", 1, "acc[3]", "System.Single[]", 3, 4)] public float[] acc = new System.Single[3]; [DNAFieldAttribute(2, "short", 2, "state_id", "short", false, 16)] public short state_id; diff --git a/BlendFile/DNA/BoidParticle.cs b/BlendFile/DNA/BoidParticle.cs index 26308c9..f1a3a05 100644 --- a/BlendFile/DNA/BoidParticle.cs +++ b/BlendFile/DNA/BoidParticle.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public Object ground; [DNAFieldAttribute(20, "BoidData", 1, "data", "BoidData", false, 8)] public BoidData data; - [DNAFieldAttribute(12, "float", 2, "gravity[3]", "System.Single[]", false, 28)] + [DNAArrayAttribute(12, "float", 2, "gravity[3]", "System.Single[]", 3, 28)] public float[] gravity = new System.Single[3]; - [DNAFieldAttribute(12, "float", 3, "wander[3]", "System.Single[]", false, 40)] + [DNAArrayAttribute(12, "float", 3, "wander[3]", "System.Single[]", 3, 40)] public float[] wander = new System.Single[3]; - [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 52)] + [DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, 52)] public char[] _pad0 = new System.Char[4]; public BoidParticle() { this.ground = default; diff --git a/BlendFile/DNA/BoidRule.cs b/BlendFile/DNA/BoidRule.cs index 46c9540..1970d3f 100644 --- a/BlendFile/DNA/BoidRule.cs +++ b/BlendFile/DNA/BoidRule.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 20)] public int flag; - [DNAFieldAttribute(32, "char", 4, "name[32]", "System.Char[]", false, 24)] + [DNAArrayAttribute(32, "char", 4, "name[32]", "System.Char[]", 32, 24)] public char[] name = new System.Char[32]; public BoidRule() { this.next = default; diff --git a/BlendFile/DNA/BoidRuleAverageSpeed.cs b/BlendFile/DNA/BoidRuleAverageSpeed.cs index e5e420a..eac75f7 100644 --- a/BlendFile/DNA/BoidRuleAverageSpeed.cs +++ b/BlendFile/DNA/BoidRuleAverageSpeed.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public float level; [DNAFieldAttribute(4, "float", 3, "speed", "float", false, 64)] public float speed; - [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 68)] + [DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, 68)] public char[] _pad0 = new System.Char[4]; public BoidRuleAverageSpeed() { this.rule = default; diff --git a/BlendFile/DNA/BoidRuleFollowLeader.cs b/BlendFile/DNA/BoidRuleFollowLeader.cs index 529af3e..9cc19be 100644 --- a/BlendFile/DNA/BoidRuleFollowLeader.cs +++ b/BlendFile/DNA/BoidRuleFollowLeader.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public BoidRule rule; [DNAFieldAttribute(8, "Object", 1, "*ob", "Object", true, 56)] public Object ob; - [DNAFieldAttribute(12, "float", 2, "loc[3]", "System.Single[]", false, 64)] + [DNAArrayAttribute(12, "float", 2, "loc[3]", "System.Single[]", 3, 64)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 3, "oloc[3]", "System.Single[]", false, 76)] + [DNAArrayAttribute(12, "float", 3, "oloc[3]", "System.Single[]", 3, 76)] public float[] oloc = new System.Single[3]; [DNAFieldAttribute(4, "float", 4, "cfra", "float", false, 88)] public float cfra; diff --git a/BlendFile/DNA/BoidState.cs b/BlendFile/DNA/BoidState.cs index 6b226be..ff2ab40 100644 --- a/BlendFile/DNA/BoidState.cs +++ b/BlendFile/DNA/BoidState.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public ListBase conditions; [DNAFieldAttribute(16, "ListBase", 4, "actions", "ListBase", false, 48)] public ListBase actions; - [DNAFieldAttribute(32, "char", 5, "name[32]", "System.Char[]", false, 64)] + [DNAArrayAttribute(32, "char", 5, "name[32]", "System.Char[]", 32, 64)] public char[] name = new System.Char[32]; [DNAFieldAttribute(4, "int", 6, "id", "int", false, 96)] public int id; diff --git a/BlendFile/DNA/Bone.cs b/BlendFile/DNA/Bone.cs index abd6407..4da0437 100644 --- a/BlendFile/DNA/Bone.cs +++ b/BlendFile/DNA/Bone.cs @@ -25,31 +25,31 @@ namespace BlendFile.DNA { public Bone parent; [DNAFieldAttribute(16, "ListBase", 4, "childbase", "ListBase", false, 32)] public ListBase childbase; - [DNAFieldAttribute(64, "char", 5, "name[64]", "System.Char[]", false, 48)] + [DNAArrayAttribute(64, "char", 5, "name[64]", "System.Char[]", 64, 48)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "float", 6, "roll", "float", false, 112)] public float roll; - [DNAFieldAttribute(12, "float", 7, "head[3]", "System.Single[]", false, 116)] + [DNAArrayAttribute(12, "float", 7, "head[3]", "System.Single[]", 3, 116)] public float[] head = new System.Single[3]; - [DNAFieldAttribute(12, "float", 8, "tail[3]", "System.Single[]", false, 128)] + [DNAArrayAttribute(12, "float", 8, "tail[3]", "System.Single[]", 3, 128)] public float[] tail = new System.Single[3]; - [DNAFieldAttribute(36, "float", 9, "bone_mat[3][3]", "System.Single[,]", false, 140)] + [DNAArrayAttribute(36, "float", 9, "bone_mat[3][3]", "System.Single[,]", 6, 140)] public float[,] bone_mat = new System.Single[3,3]; [DNAFieldAttribute(4, "int", 10, "flag", "int", false, 176)] public int flag; - [DNAFieldAttribute(4, "char", 11, "_pad1[4]", "System.Char[]", false, 180)] + [DNAArrayAttribute(4, "char", 11, "_pad1[4]", "System.Char[]", 4, 180)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(24, "BoneColor", 12, "color", "BoneColor", false, 184)] public BoneColor color; [DNAFieldAttribute(1, "char", 13, "inherit_scale_mode", "char", false, 208)] public char inherit_scale_mode; - [DNAFieldAttribute(3, "char", 14, "_pad[3]", "System.Char[]", false, 209)] + [DNAArrayAttribute(3, "char", 14, "_pad[3]", "System.Char[]", 3, 209)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(12, "float", 15, "arm_head[3]", "System.Single[]", false, 212)] + [DNAArrayAttribute(12, "float", 15, "arm_head[3]", "System.Single[]", 3, 212)] public float[] arm_head = new System.Single[3]; - [DNAFieldAttribute(12, "float", 16, "arm_tail[3]", "System.Single[]", false, 224)] + [DNAArrayAttribute(12, "float", 16, "arm_tail[3]", "System.Single[]", 3, 224)] public float[] arm_tail = new System.Single[3]; - [DNAFieldAttribute(64, "float", 17, "arm_mat[4][4]", "System.Single[,]", false, 236)] + [DNAArrayAttribute(64, "float", 17, "arm_mat[4][4]", "System.Single[,]", 8, 236)] public float[,] arm_mat = new System.Single[4,4]; [DNAFieldAttribute(4, "float", 18, "arm_roll", "float", false, 300)] public float arm_roll; @@ -91,11 +91,11 @@ namespace BlendFile.DNA { public float scaleOut; [DNAFieldAttribute(4, "float", 37, "scale_out_y", "float", false, 376)] public float scale_out_y; - [DNAFieldAttribute(12, "float", 38, "scale_in[3]", "System.Single[]", false, 380)] + [DNAArrayAttribute(12, "float", 38, "scale_in[3]", "System.Single[]", 3, 380)] public float[] scale_in = new System.Single[3]; - [DNAFieldAttribute(12, "float", 39, "scale_out[3]", "System.Single[]", false, 392)] + [DNAArrayAttribute(12, "float", 39, "scale_out[3]", "System.Single[]", 3, 392)] public float[] scale_out = new System.Single[3]; - [DNAFieldAttribute(12, "float", 40, "size[3]", "System.Single[]", false, 404)] + [DNAArrayAttribute(12, "float", 40, "size[3]", "System.Single[]", 3, 404)] public float[] size = new System.Single[3]; [DNAFieldAttribute(4, "int", 41, "layer", "int", false, 416)] public int layer; @@ -103,7 +103,7 @@ namespace BlendFile.DNA { public short segments; [DNAFieldAttribute(1, "char", 43, "bbone_mapping_mode", "char", false, 422)] public char bbone_mapping_mode; - [DNAFieldAttribute(7, "char", 44, "_pad2[7]", "System.Char[]", false, 423)] + [DNAArrayAttribute(7, "char", 44, "_pad2[7]", "System.Char[]", 7, 423)] public char[] _pad2 = new System.Char[7]; [DNAFieldAttribute(1, "char", 45, "bbone_prev_type", "char", false, 430)] public char bbone_prev_type; diff --git a/BlendFile/DNA/BoneCollection.cs b/BlendFile/DNA/BoneCollection.cs index 3a6e42a..9ea3745 100644 --- a/BlendFile/DNA/BoneCollection.cs +++ b/BlendFile/DNA/BoneCollection.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public BoneCollection next; [DNAFieldAttribute(8, "BoneCollection", 1, "*prev", "BoneCollection", true, 8)] public BoneCollection prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(16, "ListBase", 3, "bones", "ListBase", false, 80)] public ListBase bones; [DNAFieldAttribute(1, "uchar", 4, "flags", "uchar", false, 96)] public byte flags; - [DNAFieldAttribute(7, "uchar", 5, "_pad0[7]", "System.Byte[]", false, 97)] + [DNAArrayAttribute(7, "uchar", 5, "_pad0[7]", "System.Byte[]", 7, 97)] public byte[] _pad0 = new System.Byte[7]; [DNAFieldAttribute(4, "int", 6, "child_index", "int", false, 104)] public int child_index; diff --git a/BlendFile/DNA/BoneColor.cs b/BlendFile/DNA/BoneColor.cs index d9725da..175a54f 100644 --- a/BlendFile/DNA/BoneColor.cs +++ b/BlendFile/DNA/BoneColor.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class BoneColor { [DNAFieldAttribute(1, "int8_t", 0, "palette_index", "int8_t", false, 0)] public sbyte palette_index; - [DNAFieldAttribute(7, "uchar", 1, "_pad0[7]", "System.Byte[]", false, 1)] + [DNAArrayAttribute(7, "uchar", 1, "_pad0[7]", "System.Byte[]", 7, 1)] public byte[] _pad0 = new System.Byte[7]; [DNAFieldAttribute(16, "ThemeWireColor", 2, "custom", "ThemeWireColor", false, 8)] public ThemeWireColor custom; diff --git a/BlendFile/DNA/BooleanModifierData.cs b/BlendFile/DNA/BooleanModifierData.cs index 097ef6c..8f8a510 100644 --- a/BlendFile/DNA/BooleanModifierData.cs +++ b/BlendFile/DNA/BooleanModifierData.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(1, "char", 8, "bm_flag", "char", false, 144)] public char bm_flag; - [DNAFieldAttribute(7, "char", 9, "_pad[7]", "System.Char[]", false, 145)] + [DNAArrayAttribute(7, "char", 9, "_pad[7]", "System.Char[]", 7, 145)] public char[] _pad = new System.Char[7]; public BooleanModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/BoundBox.cs b/BlendFile/DNA/BoundBox.cs index 5d771dc..a1b26c5 100644 --- a/BlendFile/DNA/BoundBox.cs +++ b/BlendFile/DNA/BoundBox.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(442, "BoundBox", 96)] public class BoundBox { - [DNAFieldAttribute(96, "float", 0, "vec[8][3]", "System.Single[,]", false, 0)] + [DNAArrayAttribute(96, "float", 0, "vec[8][3]", "System.Single[,]", 11, 0)] public float[,] vec = new System.Single[8,3]; public BoundBox() { this.vec = default; diff --git a/BlendFile/DNA/Brush.cs b/BlendFile/DNA/Brush.cs index e6fb96a..c1b07e8 100644 --- a/BlendFile/DNA/Brush.cs +++ b/BlendFile/DNA/Brush.cs @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public ColorBand gradient; [DNAFieldAttribute(8, "PaintCurve", 9, "*paint_curve", "PaintCurve", true, 704)] public PaintCurve paint_curve; - [DNAFieldAttribute(1024, "char", 10, "icon_filepath[1024]", "System.Char[]", false, 712)] + [DNAArrayAttribute(1024, "char", 10, "icon_filepath[1024]", "System.Char[]", 1024, 712)] public char[] icon_filepath = new System.Char[1024]; [DNAFieldAttribute(4, "float", 11, "normal_weight", "float", false, 1736)] public float normal_weight; @@ -73,7 +73,7 @@ namespace BlendFile.DNA { public float smooth_stroke_factor; [DNAFieldAttribute(4, "float", 28, "rate", "float", false, 1800)] public float rate; - [DNAFieldAttribute(12, "float", 29, "rgb[3]", "System.Single[]", false, 1804)] + [DNAArrayAttribute(12, "float", 29, "rgb[3]", "System.Single[]", 3, 1804)] public float[] rgb = new System.Single[3]; [DNAFieldAttribute(4, "float", 30, "alpha", "float", false, 1816)] public float alpha; @@ -93,7 +93,7 @@ namespace BlendFile.DNA { public float tip_roundness; [DNAFieldAttribute(4, "float", 38, "tip_scale_x", "float", false, 1848)] public float tip_scale_x; - [DNAFieldAttribute(12, "float", 39, "secondary_rgb[3]", "System.Single[]", false, 1852)] + [DNAArrayAttribute(12, "float", 39, "secondary_rgb[3]", "System.Single[]", 3, 1852)] public float[] secondary_rgb = new System.Single[3]; [DNAFieldAttribute(4, "float", 40, "dash_ratio", "float", false, 1864)] public float dash_ratio; @@ -135,7 +135,7 @@ namespace BlendFile.DNA { public char gpencil_weight_tool; [DNAFieldAttribute(1, "char", 59, "curves_sculpt_tool", "char", false, 1901)] public char curves_sculpt_tool; - [DNAFieldAttribute(6, "char", 60, "_pad1[6]", "System.Char[]", false, 1902)] + [DNAArrayAttribute(6, "char", 60, "_pad1[6]", "System.Char[]", 6, 1902)] public char[] _pad1 = new System.Char[6]; [DNAFieldAttribute(4, "float", 61, "autosmooth_factor", "float", false, 1908)] public float autosmooth_factor; @@ -243,17 +243,17 @@ namespace BlendFile.DNA { public int blur_mode; [DNAFieldAttribute(4, "float", 113, "fill_threshold", "float", false, 2116)] public float fill_threshold; - [DNAFieldAttribute(16, "float", 114, "add_col[4]", "System.Single[]", false, 2120)] + [DNAArrayAttribute(16, "float", 114, "add_col[4]", "System.Single[]", 4, 2120)] public float[] add_col = new System.Single[4]; - [DNAFieldAttribute(16, "float", 115, "sub_col[4]", "System.Single[]", false, 2136)] + [DNAArrayAttribute(16, "float", 115, "sub_col[4]", "System.Single[]", 4, 2136)] public float[] sub_col = new System.Single[4]; - [DNAFieldAttribute(8, "float", 116, "stencil_pos[2]", "System.Single[]", false, 2152)] + [DNAArrayAttribute(8, "float", 116, "stencil_pos[2]", "System.Single[]", 2, 2152)] public float[] stencil_pos = new System.Single[2]; - [DNAFieldAttribute(8, "float", 117, "stencil_dimension[2]", "System.Single[]", false, 2160)] + [DNAArrayAttribute(8, "float", 117, "stencil_dimension[2]", "System.Single[]", 2, 2160)] public float[] stencil_dimension = new System.Single[2]; - [DNAFieldAttribute(8, "float", 118, "mask_stencil_pos[2]", "System.Single[]", false, 2168)] + [DNAArrayAttribute(8, "float", 118, "mask_stencil_pos[2]", "System.Single[]", 2, 2168)] public float[] mask_stencil_pos = new System.Single[2]; - [DNAFieldAttribute(8, "float", 119, "mask_stencil_dimension[2]", "System.Single[]", false, 2176)] + [DNAArrayAttribute(8, "float", 119, "mask_stencil_dimension[2]", "System.Single[]", 2, 2176)] public float[] mask_stencil_dimension = new System.Single[2]; [DNAFieldAttribute(8, "BrushGpencilSettings", 120, "*gpencil_settings", "BrushGpencilSettings", true, 2184)] public BrushGpencilSettings gpencil_settings; diff --git a/BlendFile/DNA/BrushClone.cs b/BlendFile/DNA/BrushClone.cs index 4e212b4..e2226e3 100644 --- a/BlendFile/DNA/BrushClone.cs +++ b/BlendFile/DNA/BrushClone.cs @@ -17,11 +17,11 @@ namespace BlendFile.DNA { public class BrushClone { [DNAFieldAttribute(8, "Image", 0, "*image", "Image", true, 0)] public Image image; - [DNAFieldAttribute(8, "float", 1, "offset[2]", "System.Single[]", false, 8)] + [DNAArrayAttribute(8, "float", 1, "offset[2]", "System.Single[]", 2, 8)] public float[] offset = new System.Single[2]; [DNAFieldAttribute(4, "float", 2, "alpha", "float", false, 16)] public float alpha; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public BrushClone() { this.image = default; diff --git a/BlendFile/DNA/BrushCurvesSculptSettings.cs b/BlendFile/DNA/BrushCurvesSculptSettings.cs index 3dca9b5..23fb0f2 100644 --- a/BlendFile/DNA/BrushCurvesSculptSettings.cs +++ b/BlendFile/DNA/BrushCurvesSculptSettings.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public int density_add_attempts; [DNAFieldAttribute(1, "uchar", 8, "density_mode", "uchar", false, 32)] public byte density_mode; - [DNAFieldAttribute(7, "char", 9, "_pad[7]", "System.Char[]", false, 33)] + [DNAArrayAttribute(7, "char", 9, "_pad[7]", "System.Char[]", 7, 33)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(8, "CurveMapping", 10, "*curve_parameter_falloff", "CurveMapping", true, 40)] public CurveMapping curve_parameter_falloff; diff --git a/BlendFile/DNA/BrushGpencilSettings.cs b/BlendFile/DNA/BrushGpencilSettings.cs index 779d67e..c7a1f80 100644 --- a/BlendFile/DNA/BrushGpencilSettings.cs +++ b/BlendFile/DNA/BrushGpencilSettings.cs @@ -41,11 +41,11 @@ namespace BlendFile.DNA { public short fill_direction; [DNAFieldAttribute(4, "float", 12, "fill_threshold", "float", false, 40)] public float fill_threshold; - [DNAFieldAttribute(2, "char", 13, "_pad2[2]", "System.Char[]", false, 44)] + [DNAArrayAttribute(2, "char", 13, "_pad2[2]", "System.Char[]", 2, 44)] public char[] _pad2 = new System.Char[2]; [DNAFieldAttribute(1, "int8_t", 14, "caps_type", "int8_t", false, 46)] public sbyte caps_type; - [DNAFieldAttribute(1, "char", 15, "_pad[1]", "System.Char[]", false, 47)] + [DNAArrayAttribute(1, "char", 15, "_pad[1]", "System.Char[]", 1, 47)] public char[] _pad = new System.Char[1]; [DNAFieldAttribute(4, "int", 16, "flag2", "int", false, 48)] public int flag2; @@ -73,7 +73,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "float", 28, "gradient_f", "float", false, 96)] public float gradient_f; - [DNAFieldAttribute(8, "float", 29, "gradient_s[2]", "System.Single[]", false, 100)] + [DNAArrayAttribute(8, "float", 29, "gradient_s[2]", "System.Single[]", 2, 100)] public float[] gradient_s = new System.Single[2]; [DNAFieldAttribute(4, "float", 30, "simplify_f", "float", false, 108)] public float simplify_f; diff --git a/BlendFile/DNA/BuildEff.cs b/BlendFile/DNA/BuildEff.cs index 00653d6..2c4308b 100644 --- a/BlendFile/DNA/BuildEff.cs +++ b/BlendFile/DNA/BuildEff.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 4, "buttype", "short", false, 20)] public short buttype; - [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 22)] + [DNAArrayAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", 2, 22)] public char[] _pad0 = new System.Char[2]; [DNAFieldAttribute(4, "float", 6, "len", "float", false, 24)] public float len; diff --git a/BlendFile/DNA/BuildGpencilModifierData.cs b/BlendFile/DNA/BuildGpencilModifierData.cs index 45a39ea..7d2f19e 100644 --- a/BlendFile/DNA/BuildGpencilModifierData.cs +++ b/BlendFile/DNA/BuildGpencilModifierData.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "pass_index", "int", false, 176)] public int pass_index; - [DNAFieldAttribute(64, "char", 4, "materialname[64]", "System.Char[]", false, 180)] + [DNAArrayAttribute(64, "char", 4, "materialname[64]", "System.Char[]", 64, 180)] public char[] materialname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "layer_pass", "int", false, 244)] public int layer_pass; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public float speed_maxgap; [DNAFieldAttribute(2, "short", 16, "time_mode", "short", false, 280)] public short time_mode; - [DNAFieldAttribute(6, "char", 17, "_pad[6]", "System.Char[]", false, 282)] + [DNAArrayAttribute(6, "char", 17, "_pad[6]", "System.Char[]", 6, 282)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(8, "Object", 18, "*object", "Object", true, 288)] public Object @object; @@ -57,7 +57,7 @@ namespace BlendFile.DNA { public float percentage_fac; [DNAFieldAttribute(4, "float", 20, "fade_fac", "float", false, 300)] public float fade_fac; - [DNAFieldAttribute(64, "char", 21, "target_vgname[64]", "System.Char[]", false, 304)] + [DNAArrayAttribute(64, "char", 21, "target_vgname[64]", "System.Char[]", 64, 304)] public char[] target_vgname = new System.Char[64]; [DNAFieldAttribute(4, "float", 22, "fade_opacity_strength", "float", false, 368)] public float fade_opacity_strength; diff --git a/BlendFile/DNA/CacheFile.cs b/BlendFile/DNA/CacheFile.cs index a7816ed..85fa925 100644 --- a/BlendFile/DNA/CacheFile.cs +++ b/BlendFile/DNA/CacheFile.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public ListBase object_paths; [DNAFieldAttribute(16, "ListBase", 3, "layers", "ListBase", false, 232)] public ListBase layers; - [DNAFieldAttribute(1024, "char", 4, "filepath[1024]", "System.Char[]", false, 248)] + [DNAArrayAttribute(1024, "char", 4, "filepath[1024]", "System.Char[]", 1024, 248)] public char[] filepath = new System.Char[1024]; [DNAFieldAttribute(1, "char", 5, "is_sequence", "char", false, 1272)] public char is_sequence; @@ -39,7 +39,7 @@ namespace BlendFile.DNA { public float frame; [DNAFieldAttribute(4, "float", 11, "frame_offset", "float", false, 1284)] public float frame_offset; - [DNAFieldAttribute(4, "char", 12, "_pad[4]", "System.Char[]", false, 1288)] + [DNAArrayAttribute(4, "char", 12, "_pad[4]", "System.Char[]", 4, 1288)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(2, "short", 13, "flag", "short", false, 1292)] public short flag; @@ -47,7 +47,7 @@ namespace BlendFile.DNA { public char type; [DNAFieldAttribute(1, "char", 15, "use_render_procedural", "char", false, 1295)] public char use_render_procedural; - [DNAFieldAttribute(3, "char", 16, "_pad1[3]", "System.Char[]", false, 1296)] + [DNAArrayAttribute(3, "char", 16, "_pad1[3]", "System.Char[]", 3, 1296)] public char[] _pad1 = new System.Char[3]; [DNAFieldAttribute(1, "char", 17, "use_prefetch", "char", false, 1299)] public char use_prefetch; @@ -55,15 +55,15 @@ namespace BlendFile.DNA { public int prefetch_cache_size; [DNAFieldAttribute(4, "int", 19, "active_layer", "int", false, 1304)] public int active_layer; - [DNAFieldAttribute(3, "char", 20, "_pad2[3]", "System.Char[]", false, 1308)] + [DNAArrayAttribute(3, "char", 20, "_pad2[3]", "System.Char[]", 3, 1308)] public char[] _pad2 = new System.Char[3]; [DNAFieldAttribute(1, "char", 21, "velocity_unit", "char", false, 1311)] public char velocity_unit; - [DNAFieldAttribute(64, "char", 22, "velocity_name[64]", "System.Char[]", false, 1312)] + [DNAArrayAttribute(64, "char", 22, "velocity_name[64]", "System.Char[]", 64, 1312)] public char[] velocity_name = new System.Char[64]; [DNAFieldAttribute(8, "CacheArchiveHandle", 23, "*handle", "CacheArchiveHandle", true, 1376)] public CacheArchiveHandle handle; - [DNAFieldAttribute(1024, "char", 24, "handle_filepath[1024]", "System.Char[]", false, 1384)] + [DNAArrayAttribute(1024, "char", 24, "handle_filepath[1024]", "System.Char[]", 1024, 1384)] public char[] handle_filepath = new System.Char[1024]; [DNAFieldAttribute(8, "GSet", 25, "*handle_readers", "GSet", true, 2408)] public GSet handle_readers; diff --git a/BlendFile/DNA/CacheFileLayer.cs b/BlendFile/DNA/CacheFileLayer.cs index f85d878..4555304 100644 --- a/BlendFile/DNA/CacheFileLayer.cs +++ b/BlendFile/DNA/CacheFileLayer.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public CacheFileLayer next; [DNAFieldAttribute(8, "CacheFileLayer", 1, "*prev", "CacheFileLayer", true, 8)] public CacheFileLayer prev; - [DNAFieldAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", false, 16)] + [DNAArrayAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", 1024, 16)] public char[] filepath = new System.Char[1024]; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 1040)] public int flag; diff --git a/BlendFile/DNA/CacheObjectPath.cs b/BlendFile/DNA/CacheObjectPath.cs index 9303de2..b75ebb4 100644 --- a/BlendFile/DNA/CacheObjectPath.cs +++ b/BlendFile/DNA/CacheObjectPath.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public CacheObjectPath next; [DNAFieldAttribute(8, "CacheObjectPath", 1, "*prev", "CacheObjectPath", true, 8)] public CacheObjectPath prev; - [DNAFieldAttribute(4096, "char", 2, "path[4096]", "System.Char[]", false, 16)] + [DNAArrayAttribute(4096, "char", 2, "path[4096]", "System.Char[]", 4096, 16)] public char[] path = new System.Char[4096]; public CacheObjectPath() { this.next = default; diff --git a/BlendFile/DNA/Camera.cs b/BlendFile/DNA/Camera.cs index a6e4530..d45f56a 100644 --- a/BlendFile/DNA/Camera.cs +++ b/BlendFile/DNA/Camera.cs @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public char sensor_fit; [DNAFieldAttribute(1, "char", 17, "panorama_type", "char", false, 265)] public char panorama_type; - [DNAFieldAttribute(2, "char", 18, "_pad[2]", "System.Char[]", false, 266)] + [DNAArrayAttribute(2, "char", 18, "_pad[2]", "System.Char[]", 2, 266)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 19, "fisheye_fov", "float", false, 268)] public float fisheye_fov; diff --git a/BlendFile/DNA/CameraBGImage.cs b/BlendFile/DNA/CameraBGImage.cs index 7ce6f04..2ce46e9 100644 --- a/BlendFile/DNA/CameraBGImage.cs +++ b/BlendFile/DNA/CameraBGImage.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public MovieClip clip; [DNAFieldAttribute(8, "MovieClipUser", 5, "cuser", "MovieClipUser", false, 72)] public MovieClipUser cuser; - [DNAFieldAttribute(8, "float", 6, "offset[2]", "System.Single[]", false, 80)] + [DNAArrayAttribute(8, "float", 6, "offset[2]", "System.Single[]", 2, 80)] public float[] offset = new System.Single[2]; [DNAFieldAttribute(4, "float", 7, "scale", "float", false, 88)] public float scale; diff --git a/BlendFile/DNA/CameraDOFSettings.cs b/BlendFile/DNA/CameraDOFSettings.cs index 9199662..50f8167 100644 --- a/BlendFile/DNA/CameraDOFSettings.cs +++ b/BlendFile/DNA/CameraDOFSettings.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class CameraDOFSettings { [DNAFieldAttribute(8, "Object", 0, "*focus_object", "Object", true, 0)] public Object focus_object; - [DNAFieldAttribute(64, "char", 1, "focus_subtarget[64]", "System.Char[]", false, 8)] + [DNAArrayAttribute(64, "char", 1, "focus_subtarget[64]", "System.Char[]", 64, 8)] public char[] focus_subtarget = new System.Char[64]; [DNAFieldAttribute(4, "float", 2, "focus_distance", "float", false, 72)] public float focus_distance; @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public int aperture_blades; [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 92)] public short flag; - [DNAFieldAttribute(2, "char", 8, "_pad[2]", "System.Char[]", false, 94)] + [DNAArrayAttribute(2, "char", 8, "_pad[2]", "System.Char[]", 2, 94)] public char[] _pad = new System.Char[2]; public CameraDOFSettings() { this.focus_object = default; diff --git a/BlendFile/DNA/CameraStereoSettings.cs b/BlendFile/DNA/CameraStereoSettings.cs index c518c9c..a0d3a84 100644 --- a/BlendFile/DNA/CameraStereoSettings.cs +++ b/BlendFile/DNA/CameraStereoSettings.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public short pivot; [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 12)] public short flag; - [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 14)] + [DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, 14)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 6, "pole_merge_angle_from", "float", false, 16)] public float pole_merge_angle_from; diff --git a/BlendFile/DNA/Camera_Runtime.cs b/BlendFile/DNA/Camera_Runtime.cs index 2fef604..f2b4e45 100644 --- a/BlendFile/DNA/Camera_Runtime.cs +++ b/BlendFile/DNA/Camera_Runtime.cs @@ -15,15 +15,15 @@ namespace BlendFile.DNA { [DNAClassAttribute(151, "Camera_Runtime", 216)] public class Camera_Runtime { - [DNAFieldAttribute(64, "float", 0, "drw_corners[2][4][2]", "System.Single[,,]", false, 0)] + [DNAArrayAttribute(64, "float", 0, "drw_corners[2][4][2]", "System.Single[,,]", 8, 0)] public float[,,] drw_corners = new System.Single[2,4,2]; - [DNAFieldAttribute(16, "float", 1, "drw_tria[2][2]", "System.Single[,]", false, 64)] + [DNAArrayAttribute(16, "float", 1, "drw_tria[2][2]", "System.Single[,]", 4, 64)] public float[,] drw_tria = new System.Single[2,2]; - [DNAFieldAttribute(8, "float", 2, "drw_depth[2]", "System.Single[]", false, 80)] + [DNAArrayAttribute(8, "float", 2, "drw_depth[2]", "System.Single[]", 2, 80)] public float[] drw_depth = new System.Single[2]; - [DNAFieldAttribute(64, "float", 3, "drw_focusmat[4][4]", "System.Single[,]", false, 88)] + [DNAArrayAttribute(64, "float", 3, "drw_focusmat[4][4]", "System.Single[,]", 8, 88)] public float[,] drw_focusmat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 4, "drw_normalmat[4][4]", "System.Single[,]", false, 152)] + [DNAArrayAttribute(64, "float", 4, "drw_normalmat[4][4]", "System.Single[,]", 8, 152)] public float[,] drw_normalmat = new System.Single[4,4]; public Camera_Runtime() { this.drw_corners = default; diff --git a/BlendFile/DNA/CastModifierData.cs b/BlendFile/DNA/CastModifierData.cs index a3f866f..76fd35c 100644 --- a/BlendFile/DNA/CastModifierData.cs +++ b/BlendFile/DNA/CastModifierData.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float radius; [DNAFieldAttribute(4, "float", 4, "size", "float", false, 136)] public float size; - [DNAFieldAttribute(64, "char", 5, "defgrp_name[64]", "System.Char[]", false, 140)] + [DNAArrayAttribute(64, "char", 5, "defgrp_name[64]", "System.Char[]", 64, 140)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 204)] public short flag; diff --git a/BlendFile/DNA/ChannelDriver.cs b/BlendFile/DNA/ChannelDriver.cs index 823aab4..01f19ba 100644 --- a/BlendFile/DNA/ChannelDriver.cs +++ b/BlendFile/DNA/ChannelDriver.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class ChannelDriver { [DNAFieldAttribute(16, "ListBase", 0, "variables", "ListBase", false, 0)] public ListBase variables; - [DNAFieldAttribute(256, "char", 1, "expression[256]", "System.Char[]", false, 16)] + [DNAArrayAttribute(256, "char", 1, "expression[256]", "System.Char[]", 256, 16)] public char[] expression = new System.Char[256]; [DNAFieldAttribute(8, "void", 2, "*expr_comp", "void", true, 272)] public object expr_comp; diff --git a/BlendFile/DNA/CharInfo.cs b/BlendFile/DNA/CharInfo.cs index a90424f..ce21298 100644 --- a/BlendFile/DNA/CharInfo.cs +++ b/BlendFile/DNA/CharInfo.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public short mat_nr; [DNAFieldAttribute(1, "char", 2, "flag", "char", false, 6)] public char flag; - [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 7)] + [DNAArrayAttribute(1, "char", 3, "_pad[1]", "System.Char[]", 1, 7)] public char[] _pad = new System.Char[1]; public CharInfo() { this.kern = default; diff --git a/BlendFile/DNA/ChildParticle.cs b/BlendFile/DNA/ChildParticle.cs index 0ee3c70..ccd8685 100644 --- a/BlendFile/DNA/ChildParticle.cs +++ b/BlendFile/DNA/ChildParticle.cs @@ -19,15 +19,15 @@ namespace BlendFile.DNA { public int num; [DNAFieldAttribute(4, "int", 1, "parent", "int", false, 4)] public int parent; - [DNAFieldAttribute(16, "int", 2, "pa[4]", "System.Int32[]", false, 8)] + [DNAArrayAttribute(16, "int", 2, "pa[4]", "System.Int32[]", 4, 8)] public int[] pa = new System.Int32[4]; - [DNAFieldAttribute(16, "float", 3, "w[4]", "System.Single[]", false, 24)] + [DNAArrayAttribute(16, "float", 3, "w[4]", "System.Single[]", 4, 24)] public float[] w = new System.Single[4]; - [DNAFieldAttribute(16, "float", 4, "fuv[4]", "System.Single[]", false, 40)] + [DNAArrayAttribute(16, "float", 4, "fuv[4]", "System.Single[]", 4, 40)] public float[] fuv = new System.Single[4]; [DNAFieldAttribute(4, "float", 5, "foffset", "float", false, 56)] public float foffset; - [DNAFieldAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", false, 60)] + [DNAArrayAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", 4, 60)] public char[] _pad0 = new System.Char[4]; public ChildParticle() { this.num = default; diff --git a/BlendFile/DNA/ClothCollSettings.cs b/BlendFile/DNA/ClothCollSettings.cs index ea8d0f5..43d098c 100644 --- a/BlendFile/DNA/ClothCollSettings.cs +++ b/BlendFile/DNA/ClothCollSettings.cs @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public short self_loop_count; [DNAFieldAttribute(2, "short", 10, "loop_count", "short", false, 34)] public short loop_count; - [DNAFieldAttribute(4, "char", 11, "_pad[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 11, "_pad[4]", "System.Char[]", 4, 36)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "Collection", 12, "*group", "Collection", true, 40)] public Collection group; @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public short vgroup_selfcol; [DNAFieldAttribute(2, "short", 14, "vgroup_objcol", "short", false, 50)] public short vgroup_objcol; - [DNAFieldAttribute(4, "char", 15, "_pad2[4]", "System.Char[]", false, 52)] + [DNAArrayAttribute(4, "char", 15, "_pad2[4]", "System.Char[]", 4, 52)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(4, "float", 16, "clamp", "float", false, 56)] public float clamp; diff --git a/BlendFile/DNA/ClothModifierData.cs b/BlendFile/DNA/ClothModifierData.cs index 537c297..c819b12 100644 --- a/BlendFile/DNA/ClothModifierData.cs +++ b/BlendFile/DNA/ClothModifierData.cs @@ -29,11 +29,11 @@ namespace BlendFile.DNA { public ListBase ptcaches; [DNAFieldAttribute(8, "ClothHairData", 6, "*hairdata", "ClothHairData", true, 168)] public ClothHairData hairdata; - [DNAFieldAttribute(12, "float", 7, "hair_grid_min[3]", "System.Single[]", false, 176)] + [DNAArrayAttribute(12, "float", 7, "hair_grid_min[3]", "System.Single[]", 3, 176)] public float[] hair_grid_min = new System.Single[3]; - [DNAFieldAttribute(12, "float", 8, "hair_grid_max[3]", "System.Single[]", false, 188)] + [DNAArrayAttribute(12, "float", 8, "hair_grid_max[3]", "System.Single[]", 3, 188)] public float[] hair_grid_max = new System.Single[3]; - [DNAFieldAttribute(12, "int", 9, "hair_grid_res[3]", "System.Int32[]", false, 200)] + [DNAArrayAttribute(12, "int", 9, "hair_grid_res[3]", "System.Int32[]", 3, 200)] public int[] hair_grid_res = new System.Int32[3]; [DNAFieldAttribute(4, "float", 10, "hair_grid_cellsize", "float", false, 212)] public float hair_grid_cellsize; diff --git a/BlendFile/DNA/ClothSimSettings.cs b/BlendFile/DNA/ClothSimSettings.cs index 5361753..0e253f6 100644 --- a/BlendFile/DNA/ClothSimSettings.cs +++ b/BlendFile/DNA/ClothSimSettings.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public float Cdis; [DNAFieldAttribute(4, "float", 3, "Cvi", "float", false, 16)] public float Cvi; - [DNAFieldAttribute(12, "float", 4, "gravity[3]", "System.Single[]", false, 20)] + [DNAArrayAttribute(12, "float", 4, "gravity[3]", "System.Single[]", 3, 20)] public float[] gravity = new System.Single[3]; [DNAFieldAttribute(4, "float", 5, "dt", "float", false, 32)] public float dt; @@ -87,7 +87,7 @@ namespace BlendFile.DNA { public float fluid_density; [DNAFieldAttribute(2, "short", 35, "vgroup_pressure", "short", false, 152)] public short vgroup_pressure; - [DNAFieldAttribute(6, "char", 36, "_pad7[6]", "System.Char[]", false, 154)] + [DNAArrayAttribute(6, "char", 36, "_pad7[6]", "System.Char[]", 6, 154)] public char[] _pad7 = new System.Char[6]; [DNAFieldAttribute(4, "float", 37, "bending_damping", "float", false, 160)] public float bending_damping; @@ -143,7 +143,7 @@ namespace BlendFile.DNA { public float internal_spring_max_diversion; [DNAFieldAttribute(2, "short", 63, "vgroup_intern", "short", false, 248)] public short vgroup_intern; - [DNAFieldAttribute(2, "char", 64, "_pad1[2]", "System.Char[]", false, 250)] + [DNAArrayAttribute(2, "char", 64, "_pad1[2]", "System.Char[]", 2, 250)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(4, "float", 65, "internal_tension", "float", false, 252)] public float internal_tension; @@ -153,7 +153,7 @@ namespace BlendFile.DNA { public float max_internal_tension; [DNAFieldAttribute(4, "float", 68, "max_internal_compression", "float", false, 264)] public float max_internal_compression; - [DNAFieldAttribute(4, "char", 69, "_pad0[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 69, "_pad0[4]", "System.Char[]", 4, 268)] public char[] _pad0 = new System.Char[4]; public ClothSimSettings() { this.cache = default; diff --git a/BlendFile/DNA/Collection.cs b/BlendFile/DNA/Collection.cs index 82b5d04..2ec51ad 100644 --- a/BlendFile/DNA/Collection.cs +++ b/BlendFile/DNA/Collection.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public ListBase gobject; [DNAFieldAttribute(16, "ListBase", 3, "children", "ListBase", false, 232)] public ListBase children; - [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 248)] + [DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, 248)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(4, "int", 5, "active_exporter_index", "int", false, 252)] public int active_exporter_index; @@ -33,13 +33,13 @@ namespace BlendFile.DNA { public PreviewImage preview; [DNAFieldAttribute(4, "int", 8, "layer", "int", false, 280)] public int layer; - [DNAFieldAttribute(12, "float", 9, "dupli_ofs[3]", "System.Single[]", false, 284)] + [DNAArrayAttribute(12, "float", 9, "dupli_ofs[3]", "System.Single[]", 3, 284)] public float[] dupli_ofs = new System.Single[3]; [DNAFieldAttribute(1, "uchar", 10, "flag", "uchar", false, 296)] public byte flag; [DNAFieldAttribute(1, "int8_t", 11, "color_tag", "int8_t", false, 297)] public sbyte color_tag; - [DNAFieldAttribute(2, "char", 12, "_pad1[2]", "System.Char[]", false, 298)] + [DNAArrayAttribute(2, "char", 12, "_pad1[2]", "System.Char[]", 2, 298)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(1, "uchar", 13, "lineart_usage", "uchar", false, 300)] public byte lineart_usage; diff --git a/BlendFile/DNA/CollectionExport.cs b/BlendFile/DNA/CollectionExport.cs index 837c7d0..e8531cb 100644 --- a/BlendFile/DNA/CollectionExport.cs +++ b/BlendFile/DNA/CollectionExport.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public CollectionExport next; [DNAFieldAttribute(8, "CollectionExport", 1, "*prev", "CollectionExport", true, 8)] public CollectionExport prev; - [DNAFieldAttribute(64, "char", 2, "fh_idname[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "fh_idname[64]", "System.Char[]", 64, 16)] public char[] fh_idname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "name[64]", "System.Char[]", false, 80)] + [DNAArrayAttribute(64, "char", 3, "name[64]", "System.Char[]", 64, 80)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "IDProperty", 4, "*export_properties", "IDProperty", true, 144)] public IDProperty export_properties; diff --git a/BlendFile/DNA/CollectionLightLinking.cs b/BlendFile/DNA/CollectionLightLinking.cs index 41f434a..f0bb0bb 100644 --- a/BlendFile/DNA/CollectionLightLinking.cs +++ b/BlendFile/DNA/CollectionLightLinking.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class CollectionLightLinking { [DNAFieldAttribute(1, "uchar", 0, "link_state", "uchar", false, 0)] public byte link_state; - [DNAFieldAttribute(3, "uchar", 1, "_pad[3]", "System.Byte[]", false, 1)] + [DNAArrayAttribute(3, "uchar", 1, "_pad[3]", "System.Byte[]", 3, 1)] public byte[] _pad = new System.Byte[3]; public CollectionLightLinking() { this.link_state = default; diff --git a/BlendFile/DNA/Collection_Runtime.cs b/BlendFile/DNA/Collection_Runtime.cs index 06f3452..baf2820 100644 --- a/BlendFile/DNA/Collection_Runtime.cs +++ b/BlendFile/DNA/Collection_Runtime.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public GHash gobject_hash; [DNAFieldAttribute(1, "uchar", 4, "tag", "uchar", false, 56)] public byte tag; - [DNAFieldAttribute(7, "char", 5, "_pad0[7]", "System.Char[]", false, 57)] + [DNAArrayAttribute(7, "char", 5, "_pad0[7]", "System.Char[]", 7, 57)] public char[] _pad0 = new System.Char[7]; public Collection_Runtime() { this.object_cache = default; diff --git a/BlendFile/DNA/CollisionModifierData.cs b/BlendFile/DNA/CollisionModifierData.cs index 60c003f..9ac99c5 100644 --- a/BlendFile/DNA/CollisionModifierData.cs +++ b/BlendFile/DNA/CollisionModifierData.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public float time_xnew; [DNAFieldAttribute(1, "char", 12, "is_static", "char", false, 136)] public char is_static; - [DNAFieldAttribute(7, "char", 13, "_pad[7]", "System.Char[]", false, 137)] + [DNAArrayAttribute(7, "char", 13, "_pad[7]", "System.Char[]", 7, 137)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(8, "BVHTree", 14, "*bvhtree", "BVHTree", true, 144)] public BVHTree bvhtree; diff --git a/BlendFile/DNA/ColorBand.cs b/BlendFile/DNA/ColorBand.cs index a94c9d3..d0493f4 100644 --- a/BlendFile/DNA/ColorBand.cs +++ b/BlendFile/DNA/ColorBand.cs @@ -25,9 +25,9 @@ namespace BlendFile.DNA { public char ipotype_hue; [DNAFieldAttribute(1, "char", 4, "color_mode", "char", false, 6)] public char color_mode; - [DNAFieldAttribute(1, "char", 5, "_pad[1]", "System.Char[]", false, 7)] + [DNAArrayAttribute(1, "char", 5, "_pad[1]", "System.Char[]", 1, 7)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(768, "CBData", 6, "data[32]", "CBData[]", false, 8)] + [DNAArrayAttribute(768, "CBData", 6, "data[32]", "CBData[]", 32, 8)] public CBData[] data = new CBData[32]; public ColorBand() { this.tot = default; diff --git a/BlendFile/DNA/ColorCorrectionData.cs b/BlendFile/DNA/ColorCorrectionData.cs index 3a4cb4a..361b3e7 100644 --- a/BlendFile/DNA/ColorCorrectionData.cs +++ b/BlendFile/DNA/ColorCorrectionData.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float gain; [DNAFieldAttribute(4, "float", 4, "lift", "float", false, 16)] public float lift; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public ColorCorrectionData() { this.saturation = default; diff --git a/BlendFile/DNA/ColorGpencilModifierData.cs b/BlendFile/DNA/ColorGpencilModifierData.cs index 3a88f6a..74c5820 100644 --- a/BlendFile/DNA/ColorGpencilModifierData.cs +++ b/BlendFile/DNA/ColorGpencilModifierData.cs @@ -19,23 +19,23 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 244)] public int flag; - [DNAFieldAttribute(12, "float", 6, "hsv[3]", "System.Single[]", false, 248)] + [DNAArrayAttribute(12, "float", 6, "hsv[3]", "System.Single[]", 3, 248)] public float[] hsv = new System.Single[3]; [DNAFieldAttribute(1, "char", 7, "modify_color", "char", false, 260)] public char modify_color; - [DNAFieldAttribute(3, "char", 8, "_pad[3]", "System.Char[]", false, 261)] + [DNAArrayAttribute(3, "char", 8, "_pad[3]", "System.Char[]", 3, 261)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 264)] public int layer_pass; - [DNAFieldAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", 4, 268)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "CurveMapping", 11, "*curve_intensity", "CurveMapping", true, 272)] public CurveMapping curve_intensity; diff --git a/BlendFile/DNA/ColorManagedColorspaceSettings.cs b/BlendFile/DNA/ColorManagedColorspaceSettings.cs index 95ff190..027f636 100644 --- a/BlendFile/DNA/ColorManagedColorspaceSettings.cs +++ b/BlendFile/DNA/ColorManagedColorspaceSettings.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(170, "ColorManagedColorspaceSettings", 64)] public class ColorManagedColorspaceSettings { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; public ColorManagedColorspaceSettings() { this.name = default; diff --git a/BlendFile/DNA/ColorManagedDisplaySettings.cs b/BlendFile/DNA/ColorManagedDisplaySettings.cs index 4d20962..893899b 100644 --- a/BlendFile/DNA/ColorManagedDisplaySettings.cs +++ b/BlendFile/DNA/ColorManagedDisplaySettings.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(169, "ColorManagedDisplaySettings", 64)] public class ColorManagedDisplaySettings { - [DNAFieldAttribute(64, "char", 0, "display_device[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "display_device[64]", "System.Char[]", 64, 0)] public char[] display_device = new System.Char[64]; public ColorManagedDisplaySettings() { this.display_device = default; diff --git a/BlendFile/DNA/ColorManagedViewSettings.cs b/BlendFile/DNA/ColorManagedViewSettings.cs index 196bb87..2480b67 100644 --- a/BlendFile/DNA/ColorManagedViewSettings.cs +++ b/BlendFile/DNA/ColorManagedViewSettings.cs @@ -17,11 +17,11 @@ namespace BlendFile.DNA { public class ColorManagedViewSettings { [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 4)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(64, "char", 2, "look[64]", "System.Char[]", false, 8)] + [DNAArrayAttribute(64, "char", 2, "look[64]", "System.Char[]", 64, 8)] public char[] look = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "view_transform[64]", "System.Char[]", false, 72)] + [DNAArrayAttribute(64, "char", 3, "view_transform[64]", "System.Char[]", 64, 72)] public char[] view_transform = new System.Char[64]; [DNAFieldAttribute(4, "float", 4, "exposure", "float", false, 136)] public float exposure; diff --git a/BlendFile/DNA/ColorMapping.cs b/BlendFile/DNA/ColorMapping.cs index adac226..0e81c71 100644 --- a/BlendFile/DNA/ColorMapping.cs +++ b/BlendFile/DNA/ColorMapping.cs @@ -25,13 +25,13 @@ namespace BlendFile.DNA { public float saturation; [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 788)] public int flag; - [DNAFieldAttribute(12, "float", 5, "blend_color[3]", "System.Single[]", false, 792)] + [DNAArrayAttribute(12, "float", 5, "blend_color[3]", "System.Single[]", 3, 792)] public float[] blend_color = new System.Single[3]; [DNAFieldAttribute(4, "float", 6, "blend_factor", "float", false, 804)] public float blend_factor; [DNAFieldAttribute(4, "int", 7, "blend_type", "int", false, 808)] public int blend_type; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 812)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 812)] public char[] _pad = new System.Char[4]; public ColorMapping() { this.coba = default; diff --git a/BlendFile/DNA/ColorizeShaderFxData.cs b/BlendFile/DNA/ColorizeShaderFxData.cs index de10dbf..7c1b5f0 100644 --- a/BlendFile/DNA/ColorizeShaderFxData.cs +++ b/BlendFile/DNA/ColorizeShaderFxData.cs @@ -19,15 +19,15 @@ namespace BlendFile.DNA { public ShaderFxData shaderfx; [DNAFieldAttribute(4, "int", 1, "mode", "int", false, 104)] public int mode; - [DNAFieldAttribute(16, "float", 2, "low_color[4]", "System.Single[]", false, 108)] + [DNAArrayAttribute(16, "float", 2, "low_color[4]", "System.Single[]", 4, 108)] public float[] low_color = new System.Single[4]; - [DNAFieldAttribute(16, "float", 3, "high_color[4]", "System.Single[]", false, 124)] + [DNAArrayAttribute(16, "float", 3, "high_color[4]", "System.Single[]", 4, 124)] public float[] high_color = new System.Single[4]; [DNAFieldAttribute(4, "float", 4, "factor", "float", false, 140)] public float factor; [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 144)] public int flag; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 148)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 148)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(40, "ShaderFxData_Runtime", 7, "runtime", "ShaderFxData_Runtime", false, 152)] public ShaderFxData_Runtime runtime; diff --git a/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs b/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs index 45ca23c..e6202bf 100644 --- a/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs +++ b/BlendFile/DNA/CorrectiveSmoothDeltaCache.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public char smooth_type; [DNAFieldAttribute(1, "char", 7, "rest_source", "char", false, 17)] public char rest_source; - [DNAFieldAttribute(6, "char", 8, "_pad[6]", "System.Char[]", false, 18)] + [DNAArrayAttribute(6, "char", 8, "_pad[6]", "System.Char[]", 6, 18)] public char[] _pad = new System.Char[6]; public CorrectiveSmoothDeltaCache() { this.deltas_num = default; diff --git a/BlendFile/DNA/CorrectiveSmoothModifierData.cs b/BlendFile/DNA/CorrectiveSmoothModifierData.cs index a567e48..f6926a6 100644 --- a/BlendFile/DNA/CorrectiveSmoothModifierData.cs +++ b/BlendFile/DNA/CorrectiveSmoothModifierData.cs @@ -31,9 +31,9 @@ namespace BlendFile.DNA { public char smooth_type; [DNAFieldAttribute(1, "char", 8, "rest_source", "char", false, 137)] public char rest_source; - [DNAFieldAttribute(6, "char", 9, "_pad[6]", "System.Char[]", false, 138)] + [DNAArrayAttribute(6, "char", 9, "_pad[6]", "System.Char[]", 6, 138)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(64, "char", 10, "defgrp_name[64]", "System.Char[]", false, 144)] + [DNAArrayAttribute(64, "char", 10, "defgrp_name[64]", "System.Char[]", 64, 144)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(32, "CorrectiveSmoothDeltaCache", 11, "delta_cache", "CorrectiveSmoothDeltaCache", false, 208)] public CorrectiveSmoothDeltaCache delta_cache; diff --git a/BlendFile/DNA/CryptomatteEntry.cs b/BlendFile/DNA/CryptomatteEntry.cs index 6e9ef3c..9535e18 100644 --- a/BlendFile/DNA/CryptomatteEntry.cs +++ b/BlendFile/DNA/CryptomatteEntry.cs @@ -21,9 +21,9 @@ namespace BlendFile.DNA { public CryptomatteEntry prev; [DNAFieldAttribute(4, "float", 2, "encoded_hash", "float", false, 16)] public float encoded_hash; - [DNAFieldAttribute(64, "char", 3, "name[64]", "System.Char[]", false, 20)] + [DNAArrayAttribute(64, "char", 3, "name[64]", "System.Char[]", 64, 20)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 84)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 84)] public char[] _pad = new System.Char[4]; public CryptomatteEntry() { this.next = default; diff --git a/BlendFile/DNA/CryptomatteLayer.cs b/BlendFile/DNA/CryptomatteLayer.cs index cf93ae6..4f0b8f4 100644 --- a/BlendFile/DNA/CryptomatteLayer.cs +++ b/BlendFile/DNA/CryptomatteLayer.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public CryptomatteEntry next; [DNAFieldAttribute(8, "CryptomatteEntry", 1, "*prev", "CryptomatteEntry", true, 8)] public CryptomatteEntry prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; public CryptomatteLayer() { this.next = default; diff --git a/BlendFile/DNA/Curve.cs b/BlendFile/DNA/Curve.cs index e3f4cc7..17004d1 100644 --- a/BlendFile/DNA/Curve.cs +++ b/BlendFile/DNA/Curve.cs @@ -37,15 +37,15 @@ namespace BlendFile.DNA { public Material mat; [DNAFieldAttribute(8, "CurveProfile", 10, "*bevel_profile", "CurveProfile", true, 288)] public CurveProfile bevel_profile; - [DNAFieldAttribute(12, "float", 11, "loc[3]", "System.Single[]", false, 296)] + [DNAArrayAttribute(12, "float", 11, "loc[3]", "System.Single[]", 3, 296)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 12, "size[3]", "System.Single[]", false, 308)] + [DNAArrayAttribute(12, "float", 12, "size[3]", "System.Single[]", 3, 308)] public float[] size = new System.Single[3]; [DNAFieldAttribute(2, "short", 13, "type", "short", false, 320)] public short type; [DNAFieldAttribute(1, "char", 14, "texflag", "char", false, 322)] public char texflag; - [DNAFieldAttribute(7, "char", 15, "_pad0[7]", "System.Char[]", false, 323)] + [DNAArrayAttribute(7, "char", 15, "_pad0[7]", "System.Char[]", 7, 323)] public char[] _pad0 = new System.Char[7]; [DNAFieldAttribute(2, "short", 16, "twist_mode", "short", false, 330)] public short twist_mode; @@ -127,7 +127,7 @@ namespace BlendFile.DNA { public char str; [DNAFieldAttribute(8, "EditFont", 55, "*editfont", "EditFont", true, 456)] public EditFont editfont; - [DNAFieldAttribute(64, "char", 56, "family[64]", "System.Char[]", false, 464)] + [DNAArrayAttribute(64, "char", 56, "family[64]", "System.Char[]", 64, 464)] public char[] family = new System.Char[64]; [DNAFieldAttribute(8, "VFont", 57, "*vfont", "VFont", true, 528)] public VFont vfont; @@ -157,7 +157,7 @@ namespace BlendFile.DNA { public char bevfac1_mapping; [DNAFieldAttribute(1, "char", 70, "bevfac2_mapping", "char", false, 605)] public char bevfac2_mapping; - [DNAFieldAttribute(6, "char", 71, "_pad2[6]", "System.Char[]", false, 606)] + [DNAArrayAttribute(6, "char", 71, "_pad2[6]", "System.Char[]", 6, 606)] public char[] _pad2 = new System.Char[6]; [DNAFieldAttribute(4, "float", 72, "fsize_realtime", "float", false, 612)] public float fsize_realtime; @@ -165,7 +165,7 @@ namespace BlendFile.DNA { public Curves curve_eval; [DNAFieldAttribute(1, "char", 74, "edit_data_from_original", "char", false, 624)] public char edit_data_from_original; - [DNAFieldAttribute(7, "char", 75, "_pad3[7]", "System.Char[]", false, 625)] + [DNAArrayAttribute(7, "char", 75, "_pad3[7]", "System.Char[]", 7, 625)] public char[] _pad3 = new System.Char[7]; [DNAFieldAttribute(8, "void", 76, "*batch_cache", "void", true, 632)] public object batch_cache; diff --git a/BlendFile/DNA/CurveMap.cs b/BlendFile/DNA/CurveMap.cs index a4e71c4..707612a 100644 --- a/BlendFile/DNA/CurveMap.cs +++ b/BlendFile/DNA/CurveMap.cs @@ -25,9 +25,9 @@ namespace BlendFile.DNA { public float mintable; [DNAFieldAttribute(4, "float", 4, "maxtable", "float", false, 12)] public float maxtable; - [DNAFieldAttribute(8, "float", 5, "ext_in[2]", "System.Single[]", false, 16)] + [DNAArrayAttribute(8, "float", 5, "ext_in[2]", "System.Single[]", 2, 16)] public float[] ext_in = new System.Single[2]; - [DNAFieldAttribute(8, "float", 6, "ext_out[2]", "System.Single[]", false, 24)] + [DNAArrayAttribute(8, "float", 6, "ext_out[2]", "System.Single[]", 2, 24)] public float[] ext_out = new System.Single[2]; [DNAFieldAttribute(8, "CurveMapPoint", 7, "*curve", "CurveMapPoint", true, 32)] public CurveMapPoint curve; @@ -35,13 +35,13 @@ namespace BlendFile.DNA { public CurveMapPoint table; [DNAFieldAttribute(8, "CurveMapPoint", 9, "*premultable", "CurveMapPoint", true, 48)] public CurveMapPoint premultable; - [DNAFieldAttribute(8, "float", 10, "premul_ext_in[2]", "System.Single[]", false, 56)] + [DNAArrayAttribute(8, "float", 10, "premul_ext_in[2]", "System.Single[]", 2, 56)] public float[] premul_ext_in = new System.Single[2]; - [DNAFieldAttribute(8, "float", 11, "premul_ext_out[2]", "System.Single[]", false, 64)] + [DNAArrayAttribute(8, "float", 11, "premul_ext_out[2]", "System.Single[]", 2, 64)] public float[] premul_ext_out = new System.Single[2]; [DNAFieldAttribute(2, "short", 12, "default_handle_type", "short", false, 72)] public short default_handle_type; - [DNAFieldAttribute(6, "char", 13, "_pad[6]", "System.Char[]", false, 74)] + [DNAArrayAttribute(6, "char", 13, "_pad[6]", "System.Char[]", 6, 74)] public char[] _pad = new System.Char[6]; public CurveMap() { this.totpoint = default; diff --git a/BlendFile/DNA/CurveMapping.cs b/BlendFile/DNA/CurveMapping.cs index 6c6e125..20d3f87 100644 --- a/BlendFile/DNA/CurveMapping.cs +++ b/BlendFile/DNA/CurveMapping.cs @@ -27,19 +27,19 @@ namespace BlendFile.DNA { public rctf curr; [DNAFieldAttribute(16, "rctf", 5, "clipr", "rctf", false, 32)] public rctf clipr; - [DNAFieldAttribute(320, "CurveMap", 6, "cm[4]", "CurveMap[]", false, 48)] + [DNAArrayAttribute(320, "CurveMap", 6, "cm[4]", "CurveMap[]", 4, 48)] public CurveMap[] cm = new CurveMap[4]; - [DNAFieldAttribute(12, "float", 7, "black[3]", "System.Single[]", false, 368)] + [DNAArrayAttribute(12, "float", 7, "black[3]", "System.Single[]", 3, 368)] public float[] black = new System.Single[3]; - [DNAFieldAttribute(12, "float", 8, "white[3]", "System.Single[]", false, 380)] + [DNAArrayAttribute(12, "float", 8, "white[3]", "System.Single[]", 3, 380)] public float[] white = new System.Single[3]; - [DNAFieldAttribute(12, "float", 9, "bwmul[3]", "System.Single[]", false, 392)] + [DNAArrayAttribute(12, "float", 9, "bwmul[3]", "System.Single[]", 3, 392)] public float[] bwmul = new System.Single[3]; - [DNAFieldAttribute(12, "float", 10, "sample[3]", "System.Single[]", false, 404)] + [DNAArrayAttribute(12, "float", 10, "sample[3]", "System.Single[]", 3, 404)] public float[] sample = new System.Single[3]; [DNAFieldAttribute(2, "short", 11, "tone", "short", false, 416)] public short tone; - [DNAFieldAttribute(6, "char", 12, "_pad[6]", "System.Char[]", false, 418)] + [DNAArrayAttribute(6, "char", 12, "_pad[6]", "System.Char[]", 6, 418)] public char[] _pad = new System.Char[6]; public CurveMapping() { this.flag = default; diff --git a/BlendFile/DNA/CurveModifierData.cs b/BlendFile/DNA/CurveModifierData.cs index 850f6a0..4c1fb2d 100644 --- a/BlendFile/DNA/CurveModifierData.cs +++ b/BlendFile/DNA/CurveModifierData.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] public Object @object; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 128)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 128)] public char[] name = new System.Char[64]; [DNAFieldAttribute(2, "short", 3, "defaxis", "short", false, 192)] public short defaxis; [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 194)] public short flag; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 196)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 196)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 200)] public object _pad1; diff --git a/BlendFile/DNA/CurveProfilePoint.cs b/BlendFile/DNA/CurveProfilePoint.cs index f757591..57eb284 100644 --- a/BlendFile/DNA/CurveProfilePoint.cs +++ b/BlendFile/DNA/CurveProfilePoint.cs @@ -25,11 +25,11 @@ namespace BlendFile.DNA { public char h1; [DNAFieldAttribute(1, "char", 4, "h2", "char", false, 11)] public char h2; - [DNAFieldAttribute(8, "float", 5, "h1_loc[2]", "System.Single[]", false, 12)] + [DNAArrayAttribute(8, "float", 5, "h1_loc[2]", "System.Single[]", 2, 12)] public float[] h1_loc = new System.Single[2]; - [DNAFieldAttribute(8, "float", 6, "h2_loc[2]", "System.Single[]", false, 20)] + [DNAArrayAttribute(8, "float", 6, "h2_loc[2]", "System.Single[]", 2, 20)] public float[] h2_loc = new System.Single[2]; - [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 7, "_pad[4]", "System.Char[]", 4, 28)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "CurveProfile", 8, "*profile", "CurveProfile", true, 32)] public CurveProfile profile; diff --git a/BlendFile/DNA/Curves.cs b/BlendFile/DNA/Curves.cs index dc9e901..911fed3 100644 --- a/BlendFile/DNA/Curves.cs +++ b/BlendFile/DNA/Curves.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public char symmetry; [DNAFieldAttribute(1, "char", 8, "selection_domain", "char", false, 779)] public char selection_domain; - [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 780)] + [DNAArrayAttribute(4, "char", 9, "_pad[4]", "System.Char[]", 4, 780)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "Object", 10, "*surface", "Object", true, 784)] public Object surface; diff --git a/BlendFile/DNA/CustomData.cs b/BlendFile/DNA/CustomData.cs index 020b957..3e30417 100644 --- a/BlendFile/DNA/CustomData.cs +++ b/BlendFile/DNA/CustomData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class CustomData { [DNAFieldAttribute(8, "CustomDataLayer", 0, "*layers", "CustomDataLayer", true, 0)] public CustomDataLayer layers; - [DNAFieldAttribute(212, "int", 1, "typemap[53]", "System.Int32[]", false, 8)] + [DNAArrayAttribute(212, "int", 1, "typemap[53]", "System.Int32[]", 53, 8)] public int[] typemap = new System.Int32[53]; [DNAFieldAttribute(4, "int", 2, "totlayer", "int", false, 220)] public int totlayer; diff --git a/BlendFile/DNA/CustomDataExternal.cs b/BlendFile/DNA/CustomDataExternal.cs index 1fa8cfc..d711539 100644 --- a/BlendFile/DNA/CustomDataExternal.cs +++ b/BlendFile/DNA/CustomDataExternal.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(223, "CustomDataExternal", 1024)] public class CustomDataExternal { - [DNAFieldAttribute(1024, "char", 0, "filename[1024]", "System.Char[]", false, 0)] + [DNAArrayAttribute(1024, "char", 0, "filename[1024]", "System.Char[]", 1024, 0)] public char[] filename = new System.Char[1024]; public CustomDataExternal() { this.filename = default; diff --git a/BlendFile/DNA/CustomDataLayer.cs b/BlendFile/DNA/CustomDataLayer.cs index 367977f..9dcb9a3 100644 --- a/BlendFile/DNA/CustomDataLayer.cs +++ b/BlendFile/DNA/CustomDataLayer.cs @@ -31,9 +31,9 @@ namespace BlendFile.DNA { public int active_mask; [DNAFieldAttribute(4, "int", 7, "uid", "int", false, 28)] public int uid; - [DNAFieldAttribute(68, "char", 8, "name[68]", "System.Char[]", false, 32)] + [DNAArrayAttribute(68, "char", 8, "name[68]", "System.Char[]", 68, 32)] public char[] name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 9, "_pad1[4]", "System.Char[]", false, 100)] + [DNAArrayAttribute(4, "char", 9, "_pad1[4]", "System.Char[]", 4, 100)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "void", 10, "*data", "void", true, 104)] public object data; diff --git a/BlendFile/DNA/DashGpencilModifierData.cs b/BlendFile/DNA/DashGpencilModifierData.cs index 5320fdc..591eb5a 100644 --- a/BlendFile/DNA/DashGpencilModifierData.cs +++ b/BlendFile/DNA/DashGpencilModifierData.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "pass_index", "int", false, 176)] public int pass_index; diff --git a/BlendFile/DNA/DashGpencilModifierSegment.cs b/BlendFile/DNA/DashGpencilModifierSegment.cs index ac9a0c2..7436cb4 100644 --- a/BlendFile/DNA/DashGpencilModifierSegment.cs +++ b/BlendFile/DNA/DashGpencilModifierSegment.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(289, "DashGpencilModifierSegment", 96)] public class DashGpencilModifierSegment { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "DashGpencilModifierData", 1, "*dmd", "DashGpencilModifierData", true, 64)] public DashGpencilModifierData dmd; diff --git a/BlendFile/DNA/DataTransferModifierData.cs b/BlendFile/DNA/DataTransferModifierData.cs index 0c525f8..a50adaf 100644 --- a/BlendFile/DNA/DataTransferModifierData.cs +++ b/BlendFile/DNA/DataTransferModifierData.cs @@ -35,17 +35,17 @@ namespace BlendFile.DNA { public float map_ray_radius; [DNAFieldAttribute(4, "float", 9, "islands_precision", "float", false, 156)] public float islands_precision; - [DNAFieldAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", false, 160)] + [DNAArrayAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", 4, 160)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(20, "int", 11, "layers_select_src[5]", "System.Int32[]", false, 164)] + [DNAArrayAttribute(20, "int", 11, "layers_select_src[5]", "System.Int32[]", 5, 164)] public int[] layers_select_src = new System.Int32[5]; - [DNAFieldAttribute(20, "int", 12, "layers_select_dst[5]", "System.Int32[]", false, 184)] + [DNAArrayAttribute(20, "int", 12, "layers_select_dst[5]", "System.Int32[]", 5, 184)] public int[] layers_select_dst = new System.Int32[5]; [DNAFieldAttribute(4, "int", 13, "mix_mode", "int", false, 204)] public int mix_mode; [DNAFieldAttribute(4, "float", 14, "mix_factor", "float", false, 208)] public float mix_factor; - [DNAFieldAttribute(64, "char", 15, "defgrp_name[64]", "System.Char[]", false, 212)] + [DNAArrayAttribute(64, "char", 15, "defgrp_name[64]", "System.Char[]", 64, 212)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "int", 16, "flags", "int", false, 276)] public int flags; diff --git a/BlendFile/DNA/DecimateModifierData.cs b/BlendFile/DNA/DecimateModifierData.cs index a99dfac..e71f738 100644 --- a/BlendFile/DNA/DecimateModifierData.cs +++ b/BlendFile/DNA/DecimateModifierData.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public char symmetry_axis; [DNAFieldAttribute(4, "float", 5, "angle", "float", false, 128)] public float angle; - [DNAFieldAttribute(64, "char", 6, "defgrp_name[64]", "System.Char[]", false, 132)] + [DNAArrayAttribute(64, "char", 6, "defgrp_name[64]", "System.Char[]", 64, 132)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "float", 7, "defgrp_factor", "float", false, 196)] public float defgrp_factor; diff --git a/BlendFile/DNA/DisplaceModifierData.cs b/BlendFile/DNA/DisplaceModifierData.cs index 9a4372f..46a4453 100644 --- a/BlendFile/DNA/DisplaceModifierData.cs +++ b/BlendFile/DNA/DisplaceModifierData.cs @@ -21,11 +21,11 @@ namespace BlendFile.DNA { public Tex texture; [DNAFieldAttribute(8, "Object", 2, "*map_object", "Object", true, 128)] public Object map_object; - [DNAFieldAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", false, 136)] + [DNAArrayAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", 64, 136)] public char[] map_bone = new System.Char[64]; - [DNAFieldAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", false, 200)] + [DNAArrayAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", 68, 200)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", 4, 268)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "int", 6, "uvlayer_tmp", "int", false, 272)] public int uvlayer_tmp; @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public float strength; [DNAFieldAttribute(4, "int", 9, "direction", "int", false, 284)] public int direction; - [DNAFieldAttribute(64, "char", 10, "defgrp_name[64]", "System.Char[]", false, 288)] + [DNAArrayAttribute(64, "char", 10, "defgrp_name[64]", "System.Char[]", 64, 288)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "float", 11, "midlevel", "float", false, 352)] public float midlevel; @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public int space; [DNAFieldAttribute(2, "short", 13, "flag", "short", false, 360)] public short flag; - [DNAFieldAttribute(6, "char", 14, "_pad2[6]", "System.Char[]", false, 362)] + [DNAArrayAttribute(6, "char", 14, "_pad2[6]", "System.Char[]", 6, 362)] public char[] _pad2 = new System.Char[6]; public DisplaceModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/DisplaySafeAreas.cs b/BlendFile/DNA/DisplaySafeAreas.cs index 5d0faab..bd2d711 100644 --- a/BlendFile/DNA/DisplaySafeAreas.cs +++ b/BlendFile/DNA/DisplaySafeAreas.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(831, "DisplaySafeAreas", 32)] public class DisplaySafeAreas { - [DNAFieldAttribute(8, "float", 0, "title[2]", "System.Single[]", false, 0)] + [DNAArrayAttribute(8, "float", 0, "title[2]", "System.Single[]", 2, 0)] public float[] title = new System.Single[2]; - [DNAFieldAttribute(8, "float", 1, "action[2]", "System.Single[]", false, 8)] + [DNAArrayAttribute(8, "float", 1, "action[2]", "System.Single[]", 2, 8)] public float[] action = new System.Single[2]; - [DNAFieldAttribute(8, "float", 2, "title_center[2]", "System.Single[]", false, 16)] + [DNAArrayAttribute(8, "float", 2, "title_center[2]", "System.Single[]", 2, 16)] public float[] title_center = new System.Single[2]; - [DNAFieldAttribute(8, "float", 3, "action_center[2]", "System.Single[]", false, 24)] + [DNAArrayAttribute(8, "float", 3, "action_center[2]", "System.Single[]", 2, 24)] public float[] action_center = new System.Single[2]; public DisplaySafeAreas() { this.title = default; diff --git a/BlendFile/DNA/DriverTarget.cs b/BlendFile/DNA/DriverTarget.cs index 9a1bcf0..3bad741 100644 --- a/BlendFile/DNA/DriverTarget.cs +++ b/BlendFile/DNA/DriverTarget.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public ID id; [DNAFieldAttribute(8, "char", 1, "*rna_path", "char", true, 8)] public char rna_path; - [DNAFieldAttribute(64, "char", 2, "pchan_name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "pchan_name[64]", "System.Char[]", 64, 16)] public char[] pchan_name = new System.Char[64]; [DNAFieldAttribute(2, "short", 3, "transChan", "short", false, 80)] public short transChan; [DNAFieldAttribute(1, "char", 4, "rotation_mode", "char", false, 82)] public char rotation_mode; - [DNAFieldAttribute(5, "char", 5, "_pad[5]", "System.Char[]", false, 83)] + [DNAArrayAttribute(5, "char", 5, "_pad[5]", "System.Char[]", 5, 83)] public char[] _pad = new System.Char[5]; [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 88)] public short flag; diff --git a/BlendFile/DNA/DriverVar.cs b/BlendFile/DNA/DriverVar.cs index 49decd4..da1c1b2 100644 --- a/BlendFile/DNA/DriverVar.cs +++ b/BlendFile/DNA/DriverVar.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public DriverVar next; [DNAFieldAttribute(8, "DriverVar", 1, "*prev", "DriverVar", true, 8)] public DriverVar prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(832, "DriverTarget", 3, "targets[8]", "DriverTarget[]", false, 80)] + [DNAArrayAttribute(832, "DriverTarget", 3, "targets[8]", "DriverTarget[]", 8, 80)] public DriverTarget[] targets = new DriverTarget[8]; [DNAFieldAttribute(1, "char", 4, "num_targets", "char", false, 912)] public char num_targets; diff --git a/BlendFile/DNA/DualQuat.cs b/BlendFile/DNA/DualQuat.cs index c089b6b..c5149ed 100644 --- a/BlendFile/DNA/DualQuat.cs +++ b/BlendFile/DNA/DualQuat.cs @@ -15,11 +15,11 @@ namespace BlendFile.DNA { [DNAClassAttribute(51, "DualQuat", 100)] public class DualQuat { - [DNAFieldAttribute(16, "float", 0, "quat[4]", "System.Single[]", false, 0)] + [DNAArrayAttribute(16, "float", 0, "quat[4]", "System.Single[]", 4, 0)] public float[] quat = new System.Single[4]; - [DNAFieldAttribute(16, "float", 1, "trans[4]", "System.Single[]", false, 16)] + [DNAArrayAttribute(16, "float", 1, "trans[4]", "System.Single[]", 4, 16)] public float[] trans = new System.Single[4]; - [DNAFieldAttribute(64, "float", 2, "scale[4][4]", "System.Single[,]", false, 32)] + [DNAArrayAttribute(64, "float", 2, "scale[4][4]", "System.Single[,]", 8, 32)] public float[,] scale = new System.Single[4,4]; [DNAFieldAttribute(4, "float", 3, "scale_weight", "float", false, 96)] public float scale_weight; diff --git a/BlendFile/DNA/DynamicPaintBrushSettings.cs b/BlendFile/DNA/DynamicPaintBrushSettings.cs index ed18447..bd810c2 100644 --- a/BlendFile/DNA/DynamicPaintBrushSettings.cs +++ b/BlendFile/DNA/DynamicPaintBrushSettings.cs @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public short wave_type; [DNAFieldAttribute(2, "short", 16, "ray_dir", "short", false, 76)] public short ray_dir; - [DNAFieldAttribute(2, "char", 17, "_pad[2]", "System.Char[]", false, 78)] + [DNAArrayAttribute(2, "char", 17, "_pad[2]", "System.Char[]", 2, 78)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 18, "wave_factor", "float", false, 80)] public float wave_factor; diff --git a/BlendFile/DNA/DynamicPaintCanvasSettings.cs b/BlendFile/DNA/DynamicPaintCanvasSettings.cs index 831e42b..93cfabf 100644 --- a/BlendFile/DNA/DynamicPaintCanvasSettings.cs +++ b/BlendFile/DNA/DynamicPaintCanvasSettings.cs @@ -23,9 +23,9 @@ namespace BlendFile.DNA { public short active_sur; [DNAFieldAttribute(2, "short", 3, "flags", "short", false, 26)] public short flags; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 28)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(64, "char", 5, "error[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 5, "error[64]", "System.Char[]", 64, 32)] public char[] error = new System.Char[64]; public DynamicPaintCanvasSettings() { this.pmd = default; diff --git a/BlendFile/DNA/DynamicPaintModifierData.cs b/BlendFile/DNA/DynamicPaintModifierData.cs index fea7dbd..05930b2 100644 --- a/BlendFile/DNA/DynamicPaintModifierData.cs +++ b/BlendFile/DNA/DynamicPaintModifierData.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public DynamicPaintBrushSettings brush; [DNAFieldAttribute(4, "int", 3, "type", "int", false, 136)] public int type; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 140)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 140)] public char[] _pad = new System.Char[4]; public DynamicPaintModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/DynamicPaintSurface.cs b/BlendFile/DNA/DynamicPaintSurface.cs index 04fb358..065148c 100644 --- a/BlendFile/DNA/DynamicPaintSurface.cs +++ b/BlendFile/DNA/DynamicPaintSurface.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public ListBase ptcaches; [DNAFieldAttribute(4, "int", 8, "current_frame", "int", false, 72)] public int current_frame; - [DNAFieldAttribute(64, "char", 9, "name[64]", "System.Char[]", false, 76)] + [DNAArrayAttribute(64, "char", 9, "name[64]", "System.Char[]", 64, 76)] public char[] name = new System.Char[64]; [DNAFieldAttribute(2, "short", 10, "format", "short", false, 140)] public short format; @@ -59,11 +59,11 @@ namespace BlendFile.DNA { public int start_frame; [DNAFieldAttribute(4, "int", 21, "end_frame", "int", false, 172)] public int end_frame; - [DNAFieldAttribute(16, "float", 22, "init_color[4]", "System.Single[]", false, 176)] + [DNAArrayAttribute(16, "float", 22, "init_color[4]", "System.Single[]", 4, 176)] public float[] init_color = new System.Single[4]; [DNAFieldAttribute(8, "Tex", 23, "*init_texture", "Tex", true, 192)] public Tex init_texture; - [DNAFieldAttribute(68, "char", 24, "init_layername[68]", "System.Char[]", false, 200)] + [DNAArrayAttribute(68, "char", 24, "init_layername[68]", "System.Char[]", 68, 200)] public char[] init_layername = new System.Char[68]; [DNAFieldAttribute(4, "int", 25, "dry_speed", "int", false, 268)] public int dry_speed; @@ -99,15 +99,15 @@ namespace BlendFile.DNA { public float wave_spring; [DNAFieldAttribute(4, "float", 41, "wave_smoothness", "float", false, 332)] public float wave_smoothness; - [DNAFieldAttribute(4, "char", 42, "_pad2[4]", "System.Char[]", false, 336)] + [DNAArrayAttribute(4, "char", 42, "_pad2[4]", "System.Char[]", 4, 336)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(68, "char", 43, "uvlayer_name[68]", "System.Char[]", false, 340)] + [DNAArrayAttribute(68, "char", 43, "uvlayer_name[68]", "System.Char[]", 68, 340)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(1024, "char", 44, "image_output_path[1024]", "System.Char[]", false, 408)] + [DNAArrayAttribute(1024, "char", 44, "image_output_path[1024]", "System.Char[]", 1024, 408)] public char[] image_output_path = new System.Char[1024]; - [DNAFieldAttribute(68, "char", 45, "output_name[68]", "System.Char[]", false, 1432)] + [DNAArrayAttribute(68, "char", 45, "output_name[68]", "System.Char[]", 68, 1432)] public char[] output_name = new System.Char[68]; - [DNAFieldAttribute(68, "char", 46, "output_name2[68]", "System.Char[]", false, 1500)] + [DNAArrayAttribute(68, "char", 46, "output_name2[68]", "System.Char[]", 68, 1500)] public char[] output_name2 = new System.Char[68]; public DynamicPaintSurface() { this.next = default; diff --git a/BlendFile/DNA/Editing.cs b/BlendFile/DNA/Editing.cs index 770eee7..49652cc 100644 --- a/BlendFile/DNA/Editing.cs +++ b/BlendFile/DNA/Editing.cs @@ -29,11 +29,11 @@ namespace BlendFile.DNA { public ListBase channels; [DNAFieldAttribute(8, "Sequence", 6, "*act_seq", "Sequence", true, 72)] public Sequence act_seq; - [DNAFieldAttribute(1024, "char", 7, "act_imagedir[1024]", "System.Char[]", false, 80)] + [DNAArrayAttribute(1024, "char", 7, "act_imagedir[1024]", "System.Char[]", 1024, 80)] public char[] act_imagedir = new System.Char[1024]; - [DNAFieldAttribute(1024, "char", 8, "act_sounddir[1024]", "System.Char[]", false, 1104)] + [DNAArrayAttribute(1024, "char", 8, "act_sounddir[1024]", "System.Char[]", 1024, 1104)] public char[] act_sounddir = new System.Char[1024]; - [DNAFieldAttribute(1024, "char", 9, "proxy_dir[1024]", "System.Char[]", false, 2128)] + [DNAArrayAttribute(1024, "char", 9, "proxy_dir[1024]", "System.Char[]", 1024, 2128)] public char[] proxy_dir = new System.Char[1024]; [DNAFieldAttribute(4, "int", 10, "proxy_storage", "int", false, 3152)] public int proxy_storage; diff --git a/BlendFile/DNA/Effect.cs b/BlendFile/DNA/Effect.cs index 94660b9..875b35b 100644 --- a/BlendFile/DNA/Effect.cs +++ b/BlendFile/DNA/Effect.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 4, "buttype", "short", false, 20)] public short buttype; - [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 22)] + [DNAArrayAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", 2, 22)] public char[] _pad0 = new System.Char[2]; public Effect() { this.next = default; diff --git a/BlendFile/DNA/EffectorWeights.cs b/BlendFile/DNA/EffectorWeights.cs index 43a5bad..9d5d904 100644 --- a/BlendFile/DNA/EffectorWeights.cs +++ b/BlendFile/DNA/EffectorWeights.cs @@ -17,13 +17,13 @@ namespace BlendFile.DNA { public class EffectorWeights { [DNAFieldAttribute(8, "Collection", 0, "*group", "Collection", true, 0)] public Collection group; - [DNAFieldAttribute(56, "float", 1, "weight[14]", "System.Single[]", false, 8)] + [DNAArrayAttribute(56, "float", 1, "weight[14]", "System.Single[]", 14, 8)] public float[] weight = new System.Single[14]; [DNAFieldAttribute(4, "float", 2, "global_gravity", "float", false, 64)] public float global_gravity; [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 68)] public short flag; - [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 70)] + [DNAArrayAttribute(2, "char", 4, "_pad[2]", "System.Char[]", 2, 70)] public char[] _pad = new System.Char[2]; public EffectorWeights() { this.group = default; diff --git a/BlendFile/DNA/EnvelopeGpencilModifierData.cs b/BlendFile/DNA/EnvelopeGpencilModifierData.cs index a313a12..4f66382 100644 --- a/BlendFile/DNA/EnvelopeGpencilModifierData.cs +++ b/BlendFile/DNA/EnvelopeGpencilModifierData.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "vgname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "vgname[64]", "System.Char[]", 64, 176)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public int layer_pass; [DNAFieldAttribute(4, "int", 12, "spread", "int", false, 272)] public int spread; - [DNAFieldAttribute(4, "char", 13, "_pad[4]", "System.Char[]", false, 276)] + [DNAArrayAttribute(4, "char", 13, "_pad[4]", "System.Char[]", 4, 276)] public char[] _pad = new System.Char[4]; public EnvelopeGpencilModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/ExplodeModifierData.cs b/BlendFile/DNA/ExplodeModifierData.cs index e0732cb..e9c11e6 100644 --- a/BlendFile/DNA/ExplodeModifierData.cs +++ b/BlendFile/DNA/ExplodeModifierData.cs @@ -25,9 +25,9 @@ namespace BlendFile.DNA { public short vgroup; [DNAFieldAttribute(4, "float", 4, "protect", "float", false, 132)] public float protect; - [DNAFieldAttribute(68, "char", 5, "uvname[68]", "System.Char[]", false, 136)] + [DNAArrayAttribute(68, "char", 5, "uvname[68]", "System.Char[]", 68, 136)] public char[] uvname = new System.Char[68]; - [DNAFieldAttribute(4, "char", 6, "_pad1[4]", "System.Char[]", false, 204)] + [DNAArrayAttribute(4, "char", 6, "_pad1[4]", "System.Char[]", 4, 204)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "void", 7, "*_pad2", "void", true, 208)] public object _pad2; diff --git a/BlendFile/DNA/FCurve.cs b/BlendFile/DNA/FCurve.cs index a523970..014944a 100644 --- a/BlendFile/DNA/FCurve.cs +++ b/BlendFile/DNA/FCurve.cs @@ -41,13 +41,13 @@ namespace BlendFile.DNA { public short extend; [DNAFieldAttribute(1, "char", 12, "auto_smoothing", "char", false, 80)] public char auto_smoothing; - [DNAFieldAttribute(3, "char", 13, "_pad[3]", "System.Char[]", false, 81)] + [DNAArrayAttribute(3, "char", 13, "_pad[3]", "System.Char[]", 3, 81)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(8, "char", 15, "*rna_path", "char", true, 84)] public char rna_path; [DNAFieldAttribute(4, "int", 16, "color_mode", "int", false, 92)] public int color_mode; - [DNAFieldAttribute(12, "float", 17, "color[3]", "System.Single[]", false, 96)] + [DNAArrayAttribute(12, "float", 17, "color[3]", "System.Single[]", 3, 96)] public float[] color = new System.Single[3]; [DNAFieldAttribute(4, "float", 18, "prev_norm_factor", "float", false, 108)] public float prev_norm_factor; diff --git a/BlendFile/DNA/FMod_Limits.cs b/BlendFile/DNA/FMod_Limits.cs index cb0cb59..226f614 100644 --- a/BlendFile/DNA/FMod_Limits.cs +++ b/BlendFile/DNA/FMod_Limits.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public rctf rect; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public FMod_Limits() { this.rect = default; diff --git a/BlendFile/DNA/FModifier.cs b/BlendFile/DNA/FModifier.cs index b94cae2..21d5f16 100644 --- a/BlendFile/DNA/FModifier.cs +++ b/BlendFile/DNA/FModifier.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public FCurve curve; [DNAFieldAttribute(8, "void", 3, "*data", "void", true, 24)] public object data; - [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 4, "name[64]", "System.Char[]", 64, 32)] public char[] name = new System.Char[64]; [DNAFieldAttribute(2, "short", 5, "type", "short", false, 96)] public short type; @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 7, "ui_expand_flag", "short", false, 100)] public short ui_expand_flag; - [DNAFieldAttribute(6, "char", 8, "_pad[6]", "System.Char[]", false, 102)] + [DNAArrayAttribute(6, "char", 8, "_pad[6]", "System.Char[]", 6, 102)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(4, "float", 9, "influence", "float", false, 108)] public float influence; diff --git a/BlendFile/DNA/FPoint.cs b/BlendFile/DNA/FPoint.cs index e719262..a1400d0 100644 --- a/BlendFile/DNA/FPoint.cs +++ b/BlendFile/DNA/FPoint.cs @@ -15,11 +15,11 @@ namespace BlendFile.DNA { [DNAClassAttribute(94, "FPoint", 16)] public class FPoint { - [DNAFieldAttribute(8, "float", 0, "vec[2]", "System.Single[]", false, 0)] + [DNAArrayAttribute(8, "float", 0, "vec[2]", "System.Single[]", 2, 0)] public float[] vec = new System.Single[2]; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; public FPoint() { this.vec = default; diff --git a/BlendFile/DNA/FileAssetSelectParams.cs b/BlendFile/DNA/FileAssetSelectParams.cs index 599f046..7d3338c 100644 --- a/BlendFile/DNA/FileAssetSelectParams.cs +++ b/BlendFile/DNA/FileAssetSelectParams.cs @@ -21,13 +21,13 @@ namespace BlendFile.DNA { public AssetLibraryReference asset_library_ref; [DNAFieldAttribute(2, "short", 2, "asset_catalog_visibility", "short", false, 2096)] public short asset_catalog_visibility; - [DNAFieldAttribute(6, "char", 3, "_pad[6]", "System.Char[]", false, 2098)] + [DNAArrayAttribute(6, "char", 3, "_pad[6]", "System.Char[]", 6, 2098)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(16, "bUUID", 4, "catalog_id", "bUUID", false, 2104)] public bUUID catalog_id; [DNAFieldAttribute(2, "short", 5, "import_type", "short", false, 2120)] public short import_type; - [DNAFieldAttribute(6, "char", 6, "_pad2[6]", "System.Char[]", false, 2122)] + [DNAArrayAttribute(6, "char", 6, "_pad2[6]", "System.Char[]", 6, 2122)] public char[] _pad2 = new System.Char[6]; public FileAssetSelectParams() { this.base_params = default; diff --git a/BlendFile/DNA/FileFolderHistory.cs b/BlendFile/DNA/FileFolderHistory.cs index e95a3f2..5bae4ba 100644 --- a/BlendFile/DNA/FileFolderHistory.cs +++ b/BlendFile/DNA/FileFolderHistory.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public FileFolderLists prev; [DNAFieldAttribute(1, "char", 2, "browse_mode", "char", false, 16)] public char browse_mode; - [DNAFieldAttribute(7, "char", 3, "_pad[7]", "System.Char[]", false, 17)] + [DNAArrayAttribute(7, "char", 3, "_pad[7]", "System.Char[]", 7, 17)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(16, "ListBase", 4, "folders_prev", "ListBase", false, 24)] public ListBase folders_prev; diff --git a/BlendFile/DNA/FileGlobal.cs b/BlendFile/DNA/FileGlobal.cs index 3c7bfbd..9c71ddc 100644 --- a/BlendFile/DNA/FileGlobal.cs +++ b/BlendFile/DNA/FileGlobal.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(239, "FileGlobal", 1104)] public class FileGlobal { - [DNAFieldAttribute(4, "char", 0, "subvstr[4]", "System.Char[]", false, 0)] + [DNAArrayAttribute(4, "char", 0, "subvstr[4]", "System.Char[]", 4, 0)] public char[] subvstr = new System.Char[4]; [DNAFieldAttribute(2, "short", 1, "subversion", "short", false, 4)] public short subversion; @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public short minversion; [DNAFieldAttribute(2, "short", 3, "minsubversion", "short", false, 8)] public short minsubversion; - [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 10)] + [DNAArrayAttribute(6, "char", 4, "_pad[6]", "System.Char[]", 6, 10)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(8, "bScreen", 5, "*curscreen", "bScreen", true, 16)] public bScreen curscreen; @@ -39,9 +39,9 @@ namespace BlendFile.DNA { public int globalf; [DNAFieldAttribute(8, "uint64_t", 11, "build_commit_timestamp", "uint64_t", false, 56)] public ulong build_commit_timestamp; - [DNAFieldAttribute(16, "char", 12, "build_hash[16]", "System.Char[]", false, 64)] + [DNAArrayAttribute(16, "char", 12, "build_hash[16]", "System.Char[]", 16, 64)] public char[] build_hash = new System.Char[16]; - [DNAFieldAttribute(1024, "char", 13, "filename[1024]", "System.Char[]", false, 80)] + [DNAArrayAttribute(1024, "char", 13, "filename[1024]", "System.Char[]", 1024, 80)] public char[] filename = new System.Char[1024]; public FileGlobal() { this.subvstr = default; diff --git a/BlendFile/DNA/FileSelectParams.cs b/BlendFile/DNA/FileSelectParams.cs index fbe6a6c..c2d7117 100644 --- a/BlendFile/DNA/FileSelectParams.cs +++ b/BlendFile/DNA/FileSelectParams.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(940, "FileSelectParams", 2088)] public class FileSelectParams { - [DNAFieldAttribute(96, "char", 0, "title[96]", "System.Char[]", false, 0)] + [DNAArrayAttribute(96, "char", 0, "title[96]", "System.Char[]", 96, 0)] public char[] title = new System.Char[96]; - [DNAFieldAttribute(1090, "char", 1, "dir[1090]", "System.Char[]", false, 96)] + [DNAArrayAttribute(1090, "char", 1, "dir[1090]", "System.Char[]", 1090, 96)] public char[] dir = new System.Char[1090]; - [DNAFieldAttribute(256, "char", 2, "file[256]", "System.Char[]", false, 1186)] + [DNAArrayAttribute(256, "char", 2, "file[256]", "System.Char[]", 256, 1186)] public char[] file = new System.Char[256]; - [DNAFieldAttribute(256, "char", 3, "renamefile[256]", "System.Char[]", false, 1442)] + [DNAArrayAttribute(256, "char", 3, "renamefile[256]", "System.Char[]", 256, 1442)] public char[] renamefile = new System.Char[256]; [DNAFieldAttribute(2, "short", 4, "rename_flag", "short", false, 1698)] public short rename_flag; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 1700)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 1700)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "ID", 6, "*rename_id", "ID", true, 1704)] public ID rename_id; [DNAFieldAttribute(8, "void", 7, "*_pad3", "void", true, 1712)] public object _pad3; - [DNAFieldAttribute(256, "char", 8, "filter_glob[256]", "System.Char[]", false, 1720)] + [DNAArrayAttribute(256, "char", 8, "filter_glob[256]", "System.Char[]", 256, 1720)] public char[] filter_glob = new System.Char[256]; - [DNAFieldAttribute(64, "char", 9, "filter_search[64]", "System.Char[]", false, 1976)] + [DNAArrayAttribute(64, "char", 9, "filter_search[64]", "System.Char[]", 64, 1976)] public char[] filter_search = new System.Char[64]; [DNAFieldAttribute(8, "uint64_t", 10, "filter_id", "uint64_t", false, 2040)] public ulong filter_id; @@ -47,7 +47,7 @@ namespace BlendFile.DNA { public int sel_last; [DNAFieldAttribute(2, "short", 15, "thumbnail_size", "short", false, 2064)] public short thumbnail_size; - [DNAFieldAttribute(2, "char", 16, "_pad1[2]", "System.Char[]", false, 2066)] + [DNAArrayAttribute(2, "char", 16, "_pad1[2]", "System.Char[]", 2, 2066)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(2, "short", 17, "type", "short", false, 2068)] public short type; @@ -59,13 +59,13 @@ namespace BlendFile.DNA { public short display; [DNAFieldAttribute(1, "char", 21, "details_flags", "char", false, 2076)] public char details_flags; - [DNAFieldAttribute(3, "char", 22, "_pad2[3]", "System.Char[]", false, 2077)] + [DNAArrayAttribute(3, "char", 22, "_pad2[3]", "System.Char[]", 3, 2077)] public char[] _pad2 = new System.Char[3]; [DNAFieldAttribute(4, "int", 23, "filter", "int", false, 2080)] public int filter; [DNAFieldAttribute(2, "short", 24, "recursion_level", "short", false, 2084)] public short recursion_level; - [DNAFieldAttribute(2, "char", 25, "_pad4[2]", "System.Char[]", false, 2086)] + [DNAArrayAttribute(2, "char", 25, "_pad4[2]", "System.Char[]", 2, 2086)] public char[] _pad4 = new System.Char[2]; public FileSelectParams() { this.title = default; diff --git a/BlendFile/DNA/FluidDomainSettings.cs b/BlendFile/DNA/FluidDomainSettings.cs index 09c67f4..67d3985 100644 --- a/BlendFile/DNA/FluidDomainSettings.cs +++ b/BlendFile/DNA/FluidDomainSettings.cs @@ -13,7 +13,7 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(242, "FluidDomainSettings", 2288)] + [DNAClassAttribute(242, "FluidDomainSettings", 5056)] public class FluidDomainSettings { [DNAFieldAttribute(8, "FluidModifierData", 0, "*fmd", "FluidModifierData", true, 0)] public FluidModifierData fmd; @@ -59,39 +59,39 @@ namespace BlendFile.DNA { public Object guiding_parent; [DNAFieldAttribute(8, "EffectorWeights", 21, "*effector_weights", "EffectorWeights", true, 168)] public EffectorWeights effector_weights; - [DNAFieldAttribute(12, "float", 22, "p0[3]", "System.Single[]", false, 176)] + [DNAArrayAttribute(12, "float", 22, "p0[3]", "System.Single[]", 3, 176)] public float[] p0 = new System.Single[3]; - [DNAFieldAttribute(12, "float", 23, "p1[3]", "System.Single[]", false, 188)] + [DNAArrayAttribute(12, "float", 23, "p1[3]", "System.Single[]", 3, 188)] public float[] p1 = new System.Single[3]; - [DNAFieldAttribute(12, "float", 24, "dp0[3]", "System.Single[]", false, 200)] + [DNAArrayAttribute(12, "float", 24, "dp0[3]", "System.Single[]", 3, 200)] public float[] dp0 = new System.Single[3]; - [DNAFieldAttribute(12, "float", 25, "cell_size[3]", "System.Single[]", false, 212)] + [DNAArrayAttribute(12, "float", 25, "cell_size[3]", "System.Single[]", 3, 212)] public float[] cell_size = new System.Single[3]; - [DNAFieldAttribute(12, "float", 26, "global_size[3]", "System.Single[]", false, 224)] + [DNAArrayAttribute(12, "float", 26, "global_size[3]", "System.Single[]", 3, 224)] public float[] global_size = new System.Single[3]; - [DNAFieldAttribute(12, "float", 27, "prev_loc[3]", "System.Single[]", false, 236)] + [DNAArrayAttribute(12, "float", 27, "prev_loc[3]", "System.Single[]", 3, 236)] public float[] prev_loc = new System.Single[3]; - [DNAFieldAttribute(12, "int", 28, "shift[3]", "System.Int32[]", false, 248)] + [DNAArrayAttribute(12, "int", 28, "shift[3]", "System.Int32[]", 3, 248)] public int[] shift = new System.Int32[3]; - [DNAFieldAttribute(12, "float", 29, "shift_f[3]", "System.Single[]", false, 260)] + [DNAArrayAttribute(12, "float", 29, "shift_f[3]", "System.Single[]", 3, 260)] public float[] shift_f = new System.Single[3]; - [DNAFieldAttribute(12, "float", 30, "obj_shift_f[3]", "System.Single[]", false, 272)] + [DNAArrayAttribute(12, "float", 30, "obj_shift_f[3]", "System.Single[]", 3, 272)] public float[] obj_shift_f = new System.Single[3]; - [DNAFieldAttribute(64, "float", 31, "imat[4][4]", "System.Single[,]", false, 284)] + [DNAArrayAttribute(64, "float", 31, "imat[4][4]", "System.Single[,]", 8, 284)] public float[,] imat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 32, "obmat[4][4]", "System.Single[,]", false, 348)] + [DNAArrayAttribute(64, "float", 32, "obmat[4][4]", "System.Single[,]", 8, 348)] public float[,] obmat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 33, "fluidmat[4][4]", "System.Single[,]", false, 412)] + [DNAArrayAttribute(64, "float", 33, "fluidmat[4][4]", "System.Single[,]", 8, 412)] public float[,] fluidmat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 34, "fluidmat_wt[4][4]", "System.Single[,]", false, 476)] + [DNAArrayAttribute(64, "float", 34, "fluidmat_wt[4][4]", "System.Single[,]", 8, 476)] public float[,] fluidmat_wt = new System.Single[4,4]; - [DNAFieldAttribute(12, "int", 35, "base_res[3]", "System.Int32[]", false, 540)] + [DNAArrayAttribute(12, "int", 35, "base_res[3]", "System.Int32[]", 3, 540)] public int[] base_res = new System.Int32[3]; - [DNAFieldAttribute(12, "int", 36, "res_min[3]", "System.Int32[]", false, 552)] + [DNAArrayAttribute(12, "int", 36, "res_min[3]", "System.Int32[]", 3, 552)] public int[] res_min = new System.Int32[3]; - [DNAFieldAttribute(12, "int", 37, "res_max[3]", "System.Int32[]", false, 564)] + [DNAArrayAttribute(12, "int", 37, "res_max[3]", "System.Int32[]", 3, 564)] public int[] res_max = new System.Int32[3]; - [DNAFieldAttribute(12, "int", 38, "res[3]", "System.Int32[]", false, 576)] + [DNAArrayAttribute(12, "int", 38, "res[3]", "System.Int32[]", 3, 576)] public int[] res = new System.Int32[3]; [DNAFieldAttribute(4, "int", 39, "total_cells", "int", false, 588)] public int total_cells; @@ -101,7 +101,7 @@ namespace BlendFile.DNA { public float scale; [DNAFieldAttribute(4, "int", 42, "boundary_width", "int", false, 600)] public int boundary_width; - [DNAFieldAttribute(12, "float", 43, "gravity_final[3]", "System.Single[]", false, 604)] + [DNAArrayAttribute(12, "float", 43, "gravity_final[3]", "System.Single[]", 3, 604)] public float[] gravity_final = new System.Single[3]; [DNAFieldAttribute(4, "int", 44, "adapt_margin", "int", false, 616)] public int adapt_margin; @@ -117,13 +117,13 @@ namespace BlendFile.DNA { public int border_collisions; [DNAFieldAttribute(4, "int", 50, "flags", "int", false, 640)] public int flags; - [DNAFieldAttribute(12, "float", 51, "gravity[3]", "System.Single[]", false, 644)] + [DNAArrayAttribute(12, "float", 51, "gravity[3]", "System.Single[]", 3, 644)] public float[] gravity = new System.Single[3]; [DNAFieldAttribute(4, "int", 52, "active_fields", "int", false, 656)] public int active_fields; [DNAFieldAttribute(2, "short", 53, "type", "short", false, 660)] public short type; - [DNAFieldAttribute(6, "char", 54, "_pad2[6]", "System.Char[]", false, 662)] + [DNAArrayAttribute(6, "char", 54, "_pad2[6]", "System.Char[]", 6, 662)] public char[] _pad2 = new System.Char[6]; [DNAFieldAttribute(4, "float", 55, "alpha", "float", false, 668)] public float alpha; @@ -133,7 +133,7 @@ namespace BlendFile.DNA { public int diss_speed; [DNAFieldAttribute(4, "float", 58, "vorticity", "float", false, 680)] public float vorticity; - [DNAFieldAttribute(12, "float", 59, "active_color[3]", "System.Single[]", false, 684)] + [DNAArrayAttribute(12, "float", 59, "active_color[3]", "System.Single[]", 3, 684)] public float[] active_color = new System.Single[3]; [DNAFieldAttribute(4, "int", 60, "highres_sampling", "int", false, 696)] public int highres_sampling; @@ -147,7 +147,7 @@ namespace BlendFile.DNA { public float flame_ignition; [DNAFieldAttribute(4, "float", 65, "flame_max_temp", "float", false, 716)] public float flame_max_temp; - [DNAFieldAttribute(12, "float", 66, "flame_smoke_color[3]", "System.Single[]", false, 720)] + [DNAArrayAttribute(12, "float", 66, "flame_smoke_color[3]", "System.Single[]", 3, 720)] public float[] flame_smoke_color = new System.Single[3]; [DNAFieldAttribute(4, "float", 67, "noise_strength", "float", false, 732)] public float noise_strength; @@ -155,11 +155,11 @@ namespace BlendFile.DNA { public float noise_pos_scale; [DNAFieldAttribute(4, "float", 69, "noise_time_anim", "float", false, 740)] public float noise_time_anim; - [DNAFieldAttribute(12, "int", 70, "res_noise[3]", "System.Int32[]", false, 744)] + [DNAArrayAttribute(12, "int", 70, "res_noise[3]", "System.Int32[]", 3, 744)] public int[] res_noise = new System.Int32[3]; [DNAFieldAttribute(4, "int", 71, "noise_scale", "int", false, 756)] public int noise_scale; - [DNAFieldAttribute(4, "char", 72, "_pad3[4]", "System.Char[]", false, 760)] + [DNAArrayAttribute(4, "char", 72, "_pad3[4]", "System.Char[]", 4, 760)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(4, "float", 73, "particle_randomness", "float", false, 764)] public float particle_randomness; @@ -183,11 +183,11 @@ namespace BlendFile.DNA { public int sys_particle_maximum; [DNAFieldAttribute(2, "short", 83, "simulation_method", "short", false, 804)] public short simulation_method; - [DNAFieldAttribute(6, "char", 84, "_pad4[6]", "System.Char[]", false, 806)] + [DNAArrayAttribute(6, "char", 84, "_pad4[6]", "System.Char[]", 6, 806)] public char[] _pad4 = new System.Char[6]; [DNAFieldAttribute(4, "float", 85, "viscosity_value", "float", false, 812)] public float viscosity_value; - [DNAFieldAttribute(4, "char", 86, "_pad5[4]", "System.Char[]", false, 816)] + [DNAArrayAttribute(4, "char", 86, "_pad5[4]", "System.Char[]", 4, 816)] public char[] _pad5 = new System.Char[4]; [DNAFieldAttribute(4, "float", 87, "surface_tension", "float", false, 820)] public float surface_tension; @@ -209,7 +209,7 @@ namespace BlendFile.DNA { public int mesh_scale; [DNAFieldAttribute(2, "short", 96, "mesh_generator", "short", false, 856)] public short mesh_generator; - [DNAFieldAttribute(2, "char", 97, "_pad6[2]", "System.Char[]", false, 858)] + [DNAArrayAttribute(2, "char", 97, "_pad6[2]", "System.Char[]", 2, 858)] public char[] _pad6 = new System.Char[2]; [DNAFieldAttribute(4, "int", 98, "particle_type", "int", false, 860)] public int particle_type; @@ -247,7 +247,7 @@ namespace BlendFile.DNA { public char sndparticle_boundary; [DNAFieldAttribute(1, "char", 115, "sndparticle_combined_export", "char", false, 925)] public char sndparticle_combined_export; - [DNAFieldAttribute(6, "char", 116, "_pad7[6]", "System.Char[]", false, 926)] + [DNAArrayAttribute(6, "char", 116, "_pad7[6]", "System.Char[]", 6, 926)] public char[] _pad7 = new System.Char[6]; [DNAFieldAttribute(4, "float", 117, "guiding_alpha", "float", false, 932)] public float guiding_alpha; @@ -255,11 +255,11 @@ namespace BlendFile.DNA { public int guiding_beta; [DNAFieldAttribute(4, "float", 119, "guiding_vel_factor", "float", false, 940)] public float guiding_vel_factor; - [DNAFieldAttribute(12, "int", 120, "guide_res[3]", "System.Int32[]", false, 944)] + [DNAArrayAttribute(12, "int", 120, "guide_res[3]", "System.Int32[]", 3, 944)] public int[] guide_res = new System.Int32[3]; [DNAFieldAttribute(2, "short", 121, "guiding_source", "short", false, 956)] public short guiding_source; - [DNAFieldAttribute(2, "char", 122, "_pad8[2]", "System.Char[]", false, 958)] + [DNAArrayAttribute(2, "char", 122, "_pad8[2]", "System.Char[]", 2, 958)] public char[] _pad8 = new System.Char[2]; [DNAFieldAttribute(4, "int", 123, "cache_frame_start", "int", false, 960)] public int cache_frame_start; @@ -287,15 +287,15 @@ namespace BlendFile.DNA { public char cache_particle_format; [DNAFieldAttribute(1, "char", 135, "cache_noise_format", "char", false, 999)] public char cache_noise_format; - [DNAFieldAttribute(1024, "char", 136, "cache_directory[1024]", "System.Char[]", false, 1000)] + [DNAArrayAttribute(1024, "char", 136, "cache_directory[1024]", "System.Char[]", 1024, 1000)] public char[] cache_directory = new System.Char[1024]; - [DNAFieldAttribute(64, "char", 137, "error[64]", "System.Char[]", false, 2024)] + [DNAArrayAttribute(64, "char", 137, "error[64]", "System.Char[]", 64, 2024)] public char[] error = new System.Char[64]; [DNAFieldAttribute(2, "short", 138, "cache_type", "short", false, 2088)] public short cache_type; - [DNAFieldAttribute(4, "char", 139, "cache_id[4]", "System.Char[]", false, 2090)] + [DNAArrayAttribute(4, "char", 139, "cache_id[4]", "System.Char[]", 4, 2090)] public char[] cache_id = new System.Char[4]; - [DNAFieldAttribute(2, "char", 140, "_pad9[2]", "System.Char[]", false, 2094)] + [DNAArrayAttribute(2, "char", 140, "_pad9[2]", "System.Char[]", 2, 2094)] public char[] _pad9 = new System.Char[2]; [DNAFieldAttribute(4, "float", 141, "dt", "float", false, 2096)] public float dt; @@ -329,7 +329,7 @@ namespace BlendFile.DNA { public float gridlines_lower_bound; [DNAFieldAttribute(4, "float", 156, "gridlines_upper_bound", "float", false, 2160)] public float gridlines_upper_bound; - [DNAFieldAttribute(16, "float", 157, "gridlines_range_color[4]", "System.Single[]", false, 2164)] + [DNAArrayAttribute(16, "float", 157, "gridlines_range_color[4]", "System.Single[]", 4, 2164)] public float[] gridlines_range_color = new System.Single[4]; [DNAFieldAttribute(1, "char", 158, "axis_slice_method", "char", false, 2180)] public char axis_slice_method; @@ -357,7 +357,7 @@ namespace BlendFile.DNA { public char gridlines_color_field; [DNAFieldAttribute(1, "char", 170, "gridlines_cell_filter", "char", false, 2192)] public char gridlines_cell_filter; - [DNAFieldAttribute(3, "char", 171, "_pad10[3]", "System.Char[]", false, 2193)] + [DNAArrayAttribute(3, "char", 171, "_pad10[3]", "System.Char[]", 3, 2193)] public char[] _pad10 = new System.Char[3]; [DNAFieldAttribute(4, "float", 172, "velocity_scale", "float", false, 2196)] public float velocity_scale; @@ -367,23 +367,23 @@ namespace BlendFile.DNA { public float clipping; [DNAFieldAttribute(1, "char", 175, "openvdb_data_depth", "char", false, 2208)] public char openvdb_data_depth; - [DNAFieldAttribute(7, "char", 176, "_pad11[7]", "System.Char[]", false, 2209)] + [DNAArrayAttribute(7, "char", 176, "_pad11[7]", "System.Char[]", 7, 2209)] public char[] _pad11 = new System.Char[7]; [DNAFieldAttribute(4, "int", 177, "viewsettings", "int", false, 2216)] public int viewsettings; - [DNAFieldAttribute(4, "char", 178, "_pad12[4]", "System.Char[]", false, 2220)] + [DNAArrayAttribute(4, "char", 178, "_pad12[4]", "System.Char[]", 4, 2220)] public char[] _pad12 = new System.Char[4]; - [DNAFieldAttribute(16, "PointCache", 179, "*point_cache[2]", "PointCache[]", true, 2224)] + [DNAArrayAttribute(2784, "PointCache", 179, "*point_cache[2]", "PointCache[]", 2, 2224)] public PointCache[] point_cache = new PointCache[2]; - [DNAFieldAttribute(32, "ListBase", 180, "ptcaches[2]", "ListBase[]", false, 2240)] + [DNAArrayAttribute(32, "ListBase", 180, "ptcaches[2]", "ListBase[]", 2, 5008)] public ListBase[] ptcaches = new ListBase[2]; - [DNAFieldAttribute(4, "int", 181, "cache_comp", "int", false, 2272)] + [DNAFieldAttribute(4, "int", 181, "cache_comp", "int", false, 5040)] public int cache_comp; - [DNAFieldAttribute(4, "int", 182, "cache_high_comp", "int", false, 2276)] + [DNAFieldAttribute(4, "int", 182, "cache_high_comp", "int", false, 5044)] public int cache_high_comp; - [DNAFieldAttribute(1, "char", 183, "cache_file_format", "char", false, 2280)] + [DNAFieldAttribute(1, "char", 183, "cache_file_format", "char", false, 5048)] public char cache_file_format; - [DNAFieldAttribute(7, "char", 184, "_pad13[7]", "System.Char[]", false, 2281)] + [DNAArrayAttribute(7, "char", 184, "_pad13[7]", "System.Char[]", 7, 5049)] public char[] _pad13 = new System.Char[7]; public FluidDomainSettings() { this.fmd = default; diff --git a/BlendFile/DNA/FluidEffectorSettings.cs b/BlendFile/DNA/FluidEffectorSettings.cs index 84aad69..80ae35a 100644 --- a/BlendFile/DNA/FluidEffectorSettings.cs +++ b/BlendFile/DNA/FluidEffectorSettings.cs @@ -31,13 +31,13 @@ namespace BlendFile.DNA { public int subframes; [DNAFieldAttribute(2, "short", 7, "type", "short", false, 40)] public short type; - [DNAFieldAttribute(6, "char", 8, "_pad1[6]", "System.Char[]", false, 42)] + [DNAArrayAttribute(6, "char", 8, "_pad1[6]", "System.Char[]", 6, 42)] public char[] _pad1 = new System.Char[6]; [DNAFieldAttribute(4, "float", 9, "vel_multi", "float", false, 48)] public float vel_multi; [DNAFieldAttribute(2, "short", 10, "guiding_mode", "short", false, 52)] public short guiding_mode; - [DNAFieldAttribute(2, "char", 11, "_pad2[2]", "System.Char[]", false, 54)] + [DNAArrayAttribute(2, "char", 11, "_pad2[2]", "System.Char[]", 2, 54)] public char[] _pad2 = new System.Char[2]; public FluidEffectorSettings() { this.fmd = default; diff --git a/BlendFile/DNA/FluidFlowSettings.cs b/BlendFile/DNA/FluidFlowSettings.cs index 4083016..917234f 100644 --- a/BlendFile/DNA/FluidFlowSettings.cs +++ b/BlendFile/DNA/FluidFlowSettings.cs @@ -33,13 +33,13 @@ namespace BlendFile.DNA { public float vel_normal; [DNAFieldAttribute(4, "float", 8, "vel_random", "float", false, 52)] public float vel_random; - [DNAFieldAttribute(12, "float", 9, "vel_coord[3]", "System.Single[]", false, 56)] + [DNAArrayAttribute(12, "float", 9, "vel_coord[3]", "System.Single[]", 3, 56)] public float[] vel_coord = new System.Single[3]; - [DNAFieldAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", false, 68)] + [DNAArrayAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", 4, 68)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "float", 11, "density", "float", false, 72)] public float density; - [DNAFieldAttribute(12, "float", 12, "color[3]", "System.Single[]", false, 76)] + [DNAArrayAttribute(12, "float", 12, "color[3]", "System.Single[]", 3, 76)] public float[] color = new System.Single[3]; [DNAFieldAttribute(4, "float", 13, "fuel_amount", "float", false, 88)] public float fuel_amount; @@ -57,11 +57,11 @@ namespace BlendFile.DNA { public float texture_size; [DNAFieldAttribute(4, "float", 20, "texture_offset", "float", false, 116)] public float texture_offset; - [DNAFieldAttribute(4, "char", 21, "_pad2[4]", "System.Char[]", false, 120)] + [DNAArrayAttribute(4, "char", 21, "_pad2[4]", "System.Char[]", 4, 120)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(68, "char", 22, "uvlayer_name[68]", "System.Char[]", false, 124)] + [DNAArrayAttribute(68, "char", 22, "uvlayer_name[68]", "System.Char[]", 68, 124)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 23, "_pad3[4]", "System.Char[]", false, 192)] + [DNAArrayAttribute(4, "char", 23, "_pad3[4]", "System.Char[]", 4, 192)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(2, "short", 24, "vgroup_density", "short", false, 196)] public short vgroup_density; @@ -73,7 +73,7 @@ namespace BlendFile.DNA { public short source; [DNAFieldAttribute(2, "short", 28, "texture_type", "short", false, 204)] public short texture_type; - [DNAFieldAttribute(6, "short", 29, "_pad4[3]", "System.Int16[]", false, 206)] + [DNAArrayAttribute(6, "short", 29, "_pad4[3]", "System.Int16[]", 3, 206)] public short[] _pad4 = new System.Int16[3]; [DNAFieldAttribute(4, "int", 30, "flags", "int", false, 212)] public int flags; diff --git a/BlendFile/DNA/FluidVertexVelocity.cs b/BlendFile/DNA/FluidVertexVelocity.cs index 325fb9b..4c8caae 100644 --- a/BlendFile/DNA/FluidVertexVelocity.cs +++ b/BlendFile/DNA/FluidVertexVelocity.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(756, "FluidVertexVelocity", 12)] public class FluidVertexVelocity { - [DNAFieldAttribute(12, "float", 0, "vel[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "vel[3]", "System.Single[]", 3, 0)] public float[] vel = new System.Single[3]; public FluidVertexVelocity() { this.vel = default; diff --git a/BlendFile/DNA/FluidsimSettings.cs b/BlendFile/DNA/FluidsimSettings.cs index 4697ec4..60789ff 100644 --- a/BlendFile/DNA/FluidsimSettings.cs +++ b/BlendFile/DNA/FluidsimSettings.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public FluidsimModifierData fmd; [DNAFieldAttribute(4, "int", 1, "threads", "int", false, 8)] public int threads; - [DNAFieldAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", 4, 12)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(2, "short", 3, "type", "short", false, 16)] public short type; @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public short viscosityMode; [DNAFieldAttribute(2, "short", 12, "viscosityExponent", "short", false, 38)] public short viscosityExponent; - [DNAFieldAttribute(12, "float", 13, "grav[3]", "System.Single[]", false, 40)] + [DNAArrayAttribute(12, "float", 13, "grav[3]", "System.Single[]", 3, 40)] public float[] grav = new System.Single[3]; [DNAFieldAttribute(4, "float", 14, "animStart", "float", false, 52)] public float animStart; @@ -53,7 +53,7 @@ namespace BlendFile.DNA { public int bakeEnd; [DNAFieldAttribute(4, "int", 18, "frameOffset", "int", false, 68)] public int frameOffset; - [DNAFieldAttribute(4, "char", 19, "_pad2[4]", "System.Char[]", false, 72)] + [DNAArrayAttribute(4, "char", 19, "_pad2[4]", "System.Char[]", 4, 72)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(4, "float", 20, "gstar", "float", false, 76)] public float gstar; @@ -65,11 +65,11 @@ namespace BlendFile.DNA { public float iniVely; [DNAFieldAttribute(4, "float", 24, "iniVelz", "float", false, 92)] public float iniVelz; - [DNAFieldAttribute(1024, "char", 25, "surfdataPath[1024]", "System.Char[]", false, 96)] + [DNAArrayAttribute(1024, "char", 25, "surfdataPath[1024]", "System.Char[]", 1024, 96)] public char[] surfdataPath = new System.Char[1024]; - [DNAFieldAttribute(12, "float", 26, "bbStart[3]", "System.Single[]", false, 1120)] + [DNAArrayAttribute(12, "float", 26, "bbStart[3]", "System.Single[]", 3, 1120)] public float[] bbStart = new System.Single[3]; - [DNAFieldAttribute(12, "float", 27, "bbSize[3]", "System.Single[]", false, 1132)] + [DNAArrayAttribute(12, "float", 27, "bbSize[3]", "System.Single[]", 3, 1132)] public float[] bbSize = new System.Single[3]; [DNAFieldAttribute(8, "Ipo", 28, "*ipo", "Ipo", true, 1144)] public Ipo ipo; diff --git a/BlendFile/DNA/FreestyleLineSet.cs b/BlendFile/DNA/FreestyleLineSet.cs index 5af243b..6687629 100644 --- a/BlendFile/DNA/FreestyleLineSet.cs +++ b/BlendFile/DNA/FreestyleLineSet.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public FreestyleLineSet next; [DNAFieldAttribute(8, "FreestyleLineSet", 1, "*prev", "FreestyleLineSet", true, 8)] public FreestyleLineSet prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 80)] public int flags; @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int selection; [DNAFieldAttribute(2, "short", 5, "qi", "short", false, 88)] public short qi; - [DNAFieldAttribute(2, "char", 6, "_pad1[2]", "System.Char[]", false, 90)] + [DNAArrayAttribute(2, "char", 6, "_pad1[2]", "System.Char[]", 2, 90)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(4, "int", 7, "qi_start", "int", false, 92)] public int qi_start; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public int edge_types; [DNAFieldAttribute(4, "int", 10, "exclude_edge_types", "int", false, 104)] public int exclude_edge_types; - [DNAFieldAttribute(4, "char", 11, "_pad2[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 11, "_pad2[4]", "System.Char[]", 4, 108)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "Collection", 12, "*group", "Collection", true, 112)] public Collection group; diff --git a/BlendFile/DNA/FreestyleLineStyle.cs b/BlendFile/DNA/FreestyleLineStyle.cs index aca738f..1e5e269 100644 --- a/BlendFile/DNA/FreestyleLineStyle.cs +++ b/BlendFile/DNA/FreestyleLineStyle.cs @@ -13,7 +13,7 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(250, "FreestyleLineStyle", 552)] + [DNAClassAttribute(250, "FreestyleLineStyle", 4296)] public class FreestyleLineStyle { [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; @@ -77,7 +77,7 @@ namespace BlendFile.DNA { public short pr_texture; [DNAFieldAttribute(2, "short", 30, "use_nodes", "short", false, 312)] public short use_nodes; - [DNAFieldAttribute(6, "char", 31, "_pad[6]", "System.Char[]", false, 314)] + [DNAArrayAttribute(6, "char", 31, "_pad[6]", "System.Char[]", 6, 314)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(2, "short", 32, "dash1", "short", false, 320)] public short dash1; @@ -93,17 +93,17 @@ namespace BlendFile.DNA { public short gap3; [DNAFieldAttribute(4, "int", 38, "panel", "int", false, 332)] public int panel; - [DNAFieldAttribute(144, "MTex", 39, "*mtex[18]", "MTex[]", true, 336)] + [DNAArrayAttribute(3888, "MTex", 39, "*mtex[18]", "MTex[]", 18, 336)] public MTex[] mtex = new MTex[18]; - [DNAFieldAttribute(8, "bNodeTree", 40, "*nodetree", "bNodeTree", true, 480)] + [DNAFieldAttribute(8, "bNodeTree", 40, "*nodetree", "bNodeTree", true, 4224)] public bNodeTree nodetree; - [DNAFieldAttribute(16, "ListBase", 41, "color_modifiers", "ListBase", false, 488)] + [DNAFieldAttribute(16, "ListBase", 41, "color_modifiers", "ListBase", false, 4232)] public ListBase color_modifiers; - [DNAFieldAttribute(16, "ListBase", 42, "alpha_modifiers", "ListBase", false, 504)] + [DNAFieldAttribute(16, "ListBase", 42, "alpha_modifiers", "ListBase", false, 4248)] public ListBase alpha_modifiers; - [DNAFieldAttribute(16, "ListBase", 43, "thickness_modifiers", "ListBase", false, 520)] + [DNAFieldAttribute(16, "ListBase", 43, "thickness_modifiers", "ListBase", false, 4264)] public ListBase thickness_modifiers; - [DNAFieldAttribute(16, "ListBase", 44, "geometry_modifiers", "ListBase", false, 536)] + [DNAFieldAttribute(16, "ListBase", 44, "geometry_modifiers", "ListBase", false, 4280)] public ListBase geometry_modifiers; public FreestyleLineStyle() { this.id = default; diff --git a/BlendFile/DNA/FreestyleModuleConfig.cs b/BlendFile/DNA/FreestyleModuleConfig.cs index 8951080..0184d7e 100644 --- a/BlendFile/DNA/FreestyleModuleConfig.cs +++ b/BlendFile/DNA/FreestyleModuleConfig.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public Text script; [DNAFieldAttribute(2, "short", 3, "is_displayed", "short", false, 24)] public short is_displayed; - [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 26)] + [DNAArrayAttribute(6, "char", 4, "_pad[6]", "System.Char[]", 6, 26)] public char[] _pad = new System.Char[6]; public FreestyleModuleConfig() { this.next = default; diff --git a/BlendFile/DNA/GP_Sculpt_Guide.cs b/BlendFile/DNA/GP_Sculpt_Guide.cs index 21576aa..63436e8 100644 --- a/BlendFile/DNA/GP_Sculpt_Guide.cs +++ b/BlendFile/DNA/GP_Sculpt_Guide.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public char reference_point; [DNAFieldAttribute(1, "char", 3, "type", "char", false, 3)] public char type; - [DNAFieldAttribute(4, "char", 4, "_pad2[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 4, "_pad2[4]", "System.Char[]", 4, 4)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(4, "float", 5, "angle", "float", false, 8)] public float angle; @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public float angle_snap; [DNAFieldAttribute(4, "float", 7, "spacing", "float", false, 16)] public float spacing; - [DNAFieldAttribute(12, "float", 8, "location[3]", "System.Single[]", false, 20)] + [DNAArrayAttribute(12, "float", 8, "location[3]", "System.Single[]", 3, 20)] public float[] location = new System.Single[3]; [DNAFieldAttribute(8, "Object", 9, "*reference_object", "Object", true, 32)] public Object reference_object; diff --git a/BlendFile/DNA/GP_Sculpt_Settings.cs b/BlendFile/DNA/GP_Sculpt_Settings.cs index cbc80e4..1a8693f 100644 --- a/BlendFile/DNA/GP_Sculpt_Settings.cs +++ b/BlendFile/DNA/GP_Sculpt_Settings.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int lock_axis; [DNAFieldAttribute(4, "float", 3, "isect_threshold", "float", false, 16)] public float isect_threshold; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "CurveMapping", 5, "*cur_falloff", "CurveMapping", true, 24)] public CurveMapping cur_falloff; diff --git a/BlendFile/DNA/GlowShaderFxData.cs b/BlendFile/DNA/GlowShaderFxData.cs index 34f5b28..4f74e8a 100644 --- a/BlendFile/DNA/GlowShaderFxData.cs +++ b/BlendFile/DNA/GlowShaderFxData.cs @@ -17,9 +17,9 @@ namespace BlendFile.DNA { public class GlowShaderFxData { [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(16, "float", 1, "glow_color[4]", "System.Single[]", false, 104)] + [DNAArrayAttribute(16, "float", 1, "glow_color[4]", "System.Single[]", 4, 104)] public float[] glow_color = new System.Single[4]; - [DNAFieldAttribute(12, "float", 2, "select_color[3]", "System.Single[]", false, 120)] + [DNAArrayAttribute(12, "float", 2, "select_color[3]", "System.Single[]", 3, 120)] public float[] select_color = new System.Single[3]; [DNAFieldAttribute(4, "float", 3, "threshold", "float", false, 132)] public float threshold; @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "int", 5, "mode", "int", false, 140)] public int mode; - [DNAFieldAttribute(8, "float", 6, "blur[2]", "System.Single[]", false, 144)] + [DNAArrayAttribute(8, "float", 6, "blur[2]", "System.Single[]", 2, 144)] public float[] blur = new System.Single[2]; [DNAFieldAttribute(4, "int", 7, "samples", "int", false, 152)] public int samples; @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public float rotation; [DNAFieldAttribute(4, "int", 9, "blend_mode", "int", false, 160)] public int blend_mode; - [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 164)] + [DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, 164)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(40, "ShaderFxData_Runtime", 11, "runtime", "ShaderFxData_Runtime", false, 168)] public ShaderFxData_Runtime runtime; diff --git a/BlendFile/DNA/GpSculptPaint.cs b/BlendFile/DNA/GpSculptPaint.cs index 9c0705f..1afb833 100644 --- a/BlendFile/DNA/GpSculptPaint.cs +++ b/BlendFile/DNA/GpSculptPaint.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public Paint paint; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 124)] public char[] _pad = new System.Char[4]; public GpSculptPaint() { this.paint = default; diff --git a/BlendFile/DNA/GpVertexPaint.cs b/BlendFile/DNA/GpVertexPaint.cs index 096ff2a..d5527ef 100644 --- a/BlendFile/DNA/GpVertexPaint.cs +++ b/BlendFile/DNA/GpVertexPaint.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public Paint paint; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 124)] public char[] _pad = new System.Char[4]; public GpVertexPaint() { this.paint = default; diff --git a/BlendFile/DNA/GpWeightPaint.cs b/BlendFile/DNA/GpWeightPaint.cs index f610736..4dabc62 100644 --- a/BlendFile/DNA/GpWeightPaint.cs +++ b/BlendFile/DNA/GpWeightPaint.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public Paint paint; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 124)] public char[] _pad = new System.Char[4]; public GpWeightPaint() { this.paint = default; diff --git a/BlendFile/DNA/GpencilModifierData.cs b/BlendFile/DNA/GpencilModifierData.cs index 5bac177..db6d7da 100644 --- a/BlendFile/DNA/GpencilModifierData.cs +++ b/BlendFile/DNA/GpencilModifierData.cs @@ -23,13 +23,13 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(4, "int", 3, "mode", "int", false, 20)] public int mode; - [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 24)] + [DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, 24)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 28)] public short flag; [DNAFieldAttribute(2, "short", 6, "ui_expand_flag", "short", false, 30)] public short ui_expand_flag; - [DNAFieldAttribute(64, "char", 7, "name[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 7, "name[64]", "System.Char[]", 64, 32)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "char", 8, "*error", "char", true, 96)] public char error; diff --git a/BlendFile/DNA/GreasePencil.cs b/BlendFile/DNA/GreasePencil.cs index 9c88b81..4fa40cd 100644 --- a/BlendFile/DNA/GreasePencil.cs +++ b/BlendFile/DNA/GreasePencil.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public AnimData adt; [DNAListAttribute(8, "GreasePencilDrawingBase", "**drawing_array", 2, "GreasePencilDrawingBase", "int", "drawing_array_size", 3, 216, 224)] public System.Collections.Generic.List drawing_array; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 228)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 228)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "GreasePencilLayerTreeGroup", 5, "*root_group_ptr", "GreasePencilLayerTreeGroup", true, 232)] public GreasePencilLayerTreeGroup root_group_ptr; @@ -29,13 +29,13 @@ namespace BlendFile.DNA { public CustomData layers_data; [DNAFieldAttribute(4, "int", 7, "attributes_active_index", "int", false, 488)] public int attributes_active_index; - [DNAFieldAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", false, 492)] + [DNAArrayAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", 4, 492)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "GreasePencilLayerTreeNode", 9, "*active_node", "GreasePencilLayerTreeNode", true, 496)] public GreasePencilLayerTreeNode active_node; [DNAListAttribute(8, "Material", "**material_array", 10, "Material", "short", "material_array_size", 11, 504, 512)] public System.Collections.Generic.List material_array; - [DNAFieldAttribute(2, "char", 12, "_pad3[2]", "System.Char[]", false, 514)] + [DNAArrayAttribute(2, "char", 12, "_pad3[2]", "System.Char[]", 2, 514)] public char[] _pad3 = new System.Char[2]; [DNAFieldAttribute(4, "int", 13, "flag", "int", false, 516)] public int flag; @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public ListBase vertex_group_names; [DNAFieldAttribute(4, "int", 15, "vertex_group_active_index", "int", false, 536)] public int vertex_group_active_index; - [DNAFieldAttribute(4, "char", 16, "_pad4[4]", "System.Char[]", false, 540)] + [DNAArrayAttribute(4, "char", 16, "_pad4[4]", "System.Char[]", 4, 540)] public char[] _pad4 = new System.Char[4]; [DNAFieldAttribute(40, "GreasePencilOnionSkinningSettings", 17, "onion_skinning_settings", "GreasePencilOnionSkinningSettings", false, 544)] public GreasePencilOnionSkinningSettings onion_skinning_settings; diff --git a/BlendFile/DNA/GreasePencilArmatureModifierData.cs b/BlendFile/DNA/GreasePencilArmatureModifierData.cs index 8e22417..9ee078f 100644 --- a/BlendFile/DNA/GreasePencilArmatureModifierData.cs +++ b/BlendFile/DNA/GreasePencilArmatureModifierData.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public Object @object; [DNAFieldAttribute(2, "short", 3, "deformflag", "short", false, 296)] public short deformflag; - [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 298)] + [DNAArrayAttribute(6, "char", 4, "_pad[6]", "System.Char[]", 6, 298)] public char[] _pad = new System.Char[6]; public GreasePencilArmatureModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/GreasePencilArrayModifierData.cs b/BlendFile/DNA/GreasePencilArrayModifierData.cs index 121b810..d5042a2 100644 --- a/BlendFile/DNA/GreasePencilArrayModifierData.cs +++ b/BlendFile/DNA/GreasePencilArrayModifierData.cs @@ -25,17 +25,17 @@ namespace BlendFile.DNA { public int count; [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 300)] public int flag; - [DNAFieldAttribute(12, "float", 5, "offset[3]", "System.Single[]", false, 304)] + [DNAArrayAttribute(12, "float", 5, "offset[3]", "System.Single[]", 3, 304)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(12, "float", 6, "shift[3]", "System.Single[]", false, 316)] + [DNAArrayAttribute(12, "float", 6, "shift[3]", "System.Single[]", 3, 316)] public float[] shift = new System.Single[3]; - [DNAFieldAttribute(12, "float", 7, "rnd_offset[3]", "System.Single[]", false, 328)] + [DNAArrayAttribute(12, "float", 7, "rnd_offset[3]", "System.Single[]", 3, 328)] public float[] rnd_offset = new System.Single[3]; - [DNAFieldAttribute(12, "float", 8, "rnd_rot[3]", "System.Single[]", false, 340)] + [DNAArrayAttribute(12, "float", 8, "rnd_rot[3]", "System.Single[]", 3, 340)] public float[] rnd_rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 9, "rnd_scale[3]", "System.Single[]", false, 352)] + [DNAArrayAttribute(12, "float", 9, "rnd_scale[3]", "System.Single[]", 3, 352)] public float[] rnd_scale = new System.Single[3]; - [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 364)] + [DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, 364)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 11, "seed", "int", false, 368)] public int seed; diff --git a/BlendFile/DNA/GreasePencilBuildModifierData.cs b/BlendFile/DNA/GreasePencilBuildModifierData.cs index efdc7c6..2dd9722 100644 --- a/BlendFile/DNA/GreasePencilBuildModifierData.cs +++ b/BlendFile/DNA/GreasePencilBuildModifierData.cs @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public float speed_maxgap; [DNAFieldAttribute(2, "short", 12, "time_mode", "short", false, 320)] public short time_mode; - [DNAFieldAttribute(6, "char", 13, "_pad[6]", "System.Char[]", false, 322)] + [DNAArrayAttribute(6, "char", 13, "_pad[6]", "System.Char[]", 6, 322)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(8, "Object", 14, "*object", "Object", true, 328)] public Object @object; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public float percentage_fac; [DNAFieldAttribute(4, "float", 16, "fade_fac", "float", false, 340)] public float fade_fac; - [DNAFieldAttribute(64, "char", 17, "target_vgname[64]", "System.Char[]", false, 344)] + [DNAArrayAttribute(64, "char", 17, "target_vgname[64]", "System.Char[]", 64, 344)] public char[] target_vgname = new System.Char[64]; [DNAFieldAttribute(4, "float", 18, "fade_opacity_strength", "float", false, 408)] public float fade_opacity_strength; diff --git a/BlendFile/DNA/GreasePencilColorModifierData.cs b/BlendFile/DNA/GreasePencilColorModifierData.cs index 8a36b48..4b54405 100644 --- a/BlendFile/DNA/GreasePencilColorModifierData.cs +++ b/BlendFile/DNA/GreasePencilColorModifierData.cs @@ -21,9 +21,9 @@ namespace BlendFile.DNA { public GreasePencilModifierInfluenceData influence; [DNAFieldAttribute(1, "char", 2, "color_mode", "char", false, 288)] public char color_mode; - [DNAFieldAttribute(3, "char", 3, "_pad1[3]", "System.Char[]", false, 289)] + [DNAArrayAttribute(3, "char", 3, "_pad1[3]", "System.Char[]", 3, 289)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(12, "float", 4, "hsv[3]", "System.Single[]", false, 292)] + [DNAArrayAttribute(12, "float", 4, "hsv[3]", "System.Single[]", 3, 292)] public float[] hsv = new System.Single[3]; [DNAFieldAttribute(8, "void", 5, "*_pad2", "void", true, 304)] public object _pad2; diff --git a/BlendFile/DNA/GreasePencilDashModifierData.cs b/BlendFile/DNA/GreasePencilDashModifierData.cs index 044e410..5c984c6 100644 --- a/BlendFile/DNA/GreasePencilDashModifierData.cs +++ b/BlendFile/DNA/GreasePencilDashModifierData.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int segment_active_index; [DNAFieldAttribute(4, "int", 5, "dash_offset", "int", false, 296)] public int dash_offset; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 300)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 300)] public char[] _pad = new System.Char[4]; public GreasePencilDashModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/GreasePencilDashModifierSegment.cs b/BlendFile/DNA/GreasePencilDashModifierSegment.cs index 4df99f6..29f577b 100644 --- a/BlendFile/DNA/GreasePencilDashModifierSegment.cs +++ b/BlendFile/DNA/GreasePencilDashModifierSegment.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(536, "GreasePencilDashModifierSegment", 88)] public class GreasePencilDashModifierSegment { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 1, "dash", "int", false, 64)] public int dash; diff --git a/BlendFile/DNA/GreasePencilDrawingBase.cs b/BlendFile/DNA/GreasePencilDrawingBase.cs index fadbc2d..d9c2a8b 100644 --- a/BlendFile/DNA/GreasePencilDrawingBase.cs +++ b/BlendFile/DNA/GreasePencilDrawingBase.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class GreasePencilDrawingBase { [DNAFieldAttribute(1, "int8_t", 0, "type", "int8_t", false, 0)] public sbyte type; - [DNAFieldAttribute(3, "char", 1, "_pad[3]", "System.Char[]", false, 1)] + [DNAArrayAttribute(3, "char", 1, "_pad[3]", "System.Char[]", 3, 1)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 4)] public int flag; diff --git a/BlendFile/DNA/GreasePencilFrame.cs b/BlendFile/DNA/GreasePencilFrame.cs index da3f884..08dc784 100644 --- a/BlendFile/DNA/GreasePencilFrame.cs +++ b/BlendFile/DNA/GreasePencilFrame.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(1, "int8_t", 2, "type", "int8_t", false, 8)] public sbyte type; - [DNAFieldAttribute(3, "char", 3, "_pad[3]", "System.Char[]", false, 9)] + [DNAArrayAttribute(3, "char", 3, "_pad[3]", "System.Char[]", 3, 9)] public char[] _pad = new System.Char[3]; public GreasePencilFrame() { this.drawing_index = default; diff --git a/BlendFile/DNA/GreasePencilHookModifierData.cs b/BlendFile/DNA/GreasePencilHookModifierData.cs index 281bed4..4bf40d3 100644 --- a/BlendFile/DNA/GreasePencilHookModifierData.cs +++ b/BlendFile/DNA/GreasePencilHookModifierData.cs @@ -21,19 +21,19 @@ namespace BlendFile.DNA { public GreasePencilModifierInfluenceData influence; [DNAFieldAttribute(8, "Object", 2, "*object", "Object", true, 288)] public Object @object; - [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 296)] + [DNAArrayAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", 64, 296)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 360)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 360)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 364)] public int flag; [DNAFieldAttribute(1, "char", 6, "falloff_type", "char", false, 368)] public char falloff_type; - [DNAFieldAttribute(3, "char", 7, "_pad1[3]", "System.Char[]", false, 369)] + [DNAArrayAttribute(3, "char", 7, "_pad1[3]", "System.Char[]", 3, 369)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(64, "float", 8, "parentinv[4][4]", "System.Single[,]", false, 372)] + [DNAArrayAttribute(64, "float", 8, "parentinv[4][4]", "System.Single[,]", 8, 372)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(12, "float", 9, "cent[3]", "System.Single[]", false, 436)] + [DNAArrayAttribute(12, "float", 9, "cent[3]", "System.Single[]", 3, 436)] public float[] cent = new System.Single[3]; [DNAFieldAttribute(4, "float", 10, "falloff", "float", false, 448)] public float falloff; diff --git a/BlendFile/DNA/GreasePencilLatticeModifierData.cs b/BlendFile/DNA/GreasePencilLatticeModifierData.cs index 7b2102f..cc3c97b 100644 --- a/BlendFile/DNA/GreasePencilLatticeModifierData.cs +++ b/BlendFile/DNA/GreasePencilLatticeModifierData.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public Object @object; [DNAFieldAttribute(4, "float", 3, "strength", "float", false, 296)] public float strength; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 300)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 300)] public char[] _pad = new System.Char[4]; public GreasePencilLatticeModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/GreasePencilLayer.cs b/BlendFile/DNA/GreasePencilLayer.cs index 7e642a9..3a73616 100644 --- a/BlendFile/DNA/GreasePencilLayer.cs +++ b/BlendFile/DNA/GreasePencilLayer.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public GreasePencilLayerFramesMapStorage frames_storage; [DNAFieldAttribute(1, "int8_t", 2, "blend_mode", "int8_t", false, 64)] public sbyte blend_mode; - [DNAFieldAttribute(3, "char", 3, "_pad[3]", "System.Char[]", false, 65)] + [DNAArrayAttribute(3, "char", 3, "_pad[3]", "System.Char[]", 3, 65)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "float", 4, "opacity", "float", false, 68)] public float opacity; @@ -29,21 +29,21 @@ namespace BlendFile.DNA { public ListBase masks; [DNAFieldAttribute(4, "int", 6, "active_mask_index", "int", false, 88)] public int active_mask_index; - [DNAFieldAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", false, 92)] + [DNAArrayAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", 4, 92)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "Object", 8, "*parent", "Object", true, 96)] public Object parent; [DNAFieldAttribute(8, "char", 9, "*parsubstr", "char", true, 104)] public char parsubstr; - [DNAFieldAttribute(64, "float", 10, "parentinv[4][4]", "System.Single[,]", false, 112)] + [DNAArrayAttribute(64, "float", 10, "parentinv[4][4]", "System.Single[,]", 8, 112)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(12, "float", 11, "translation[3]", "System.Single[]", false, 176)] + [DNAArrayAttribute(12, "float", 11, "translation[3]", "System.Single[]", 3, 176)] public float[] translation = new System.Single[3]; - [DNAFieldAttribute(12, "float", 12, "rotation[3]", "System.Single[]", false, 188)] + [DNAArrayAttribute(12, "float", 12, "rotation[3]", "System.Single[]", 3, 188)] public float[] rotation = new System.Single[3]; - [DNAFieldAttribute(12, "float", 13, "scale[3]", "System.Single[]", false, 200)] + [DNAArrayAttribute(12, "float", 13, "scale[3]", "System.Single[]", 3, 200)] public float[] scale = new System.Single[3]; - [DNAFieldAttribute(4, "char", 14, "_pad3[4]", "System.Char[]", false, 212)] + [DNAArrayAttribute(4, "char", 14, "_pad3[4]", "System.Char[]", 4, 212)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(8, "char", 15, "*viewlayername", "char", true, 216)] public char viewlayername; diff --git a/BlendFile/DNA/GreasePencilLayerMask.cs b/BlendFile/DNA/GreasePencilLayerMask.cs index 4d2b359..70ebc88 100644 --- a/BlendFile/DNA/GreasePencilLayerMask.cs +++ b/BlendFile/DNA/GreasePencilLayerMask.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public char layer_name; [DNAFieldAttribute(2, "ushort", 3, "flag", "ushort", false, 24)] public ushort flag; - [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 26)] + [DNAArrayAttribute(6, "char", 4, "_pad[6]", "System.Char[]", 6, 26)] public char[] _pad = new System.Char[6]; public GreasePencilLayerMask() { this.next = default; diff --git a/BlendFile/DNA/GreasePencilLayerTreeGroup.cs b/BlendFile/DNA/GreasePencilLayerTreeGroup.cs index 2713f40..baab065 100644 --- a/BlendFile/DNA/GreasePencilLayerTreeGroup.cs +++ b/BlendFile/DNA/GreasePencilLayerTreeGroup.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public ListBase children; [DNAFieldAttribute(1, "int8_t", 2, "color_tag", "int8_t", false, 56)] public sbyte color_tag; - [DNAFieldAttribute(7, "char", 3, "_pad[7]", "System.Char[]", false, 57)] + [DNAArrayAttribute(7, "char", 3, "_pad[7]", "System.Char[]", 7, 57)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(8, "GreasePencilLayerGroupRuntimeHandle", 4, "*runtime", "GreasePencilLayerGroupRuntimeHandle", true, 64)] public GreasePencilLayerGroupRuntimeHandle runtime; diff --git a/BlendFile/DNA/GreasePencilLayerTreeNode.cs b/BlendFile/DNA/GreasePencilLayerTreeNode.cs index 5d41a52..9e27d69 100644 --- a/BlendFile/DNA/GreasePencilLayerTreeNode.cs +++ b/BlendFile/DNA/GreasePencilLayerTreeNode.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char name; [DNAFieldAttribute(1, "int8_t", 4, "type", "int8_t", false, 32)] public sbyte type; - [DNAFieldAttribute(3, "uchar", 5, "color[3]", "System.Byte[]", false, 33)] + [DNAArrayAttribute(3, "uchar", 5, "color[3]", "System.Byte[]", 3, 33)] public byte[] color = new System.Byte[3]; [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 36)] public int flag; diff --git a/BlendFile/DNA/GreasePencilLengthModifierData.cs b/BlendFile/DNA/GreasePencilLengthModifierData.cs index 9b9be96..f46e403 100644 --- a/BlendFile/DNA/GreasePencilLengthModifierData.cs +++ b/BlendFile/DNA/GreasePencilLengthModifierData.cs @@ -39,7 +39,7 @@ namespace BlendFile.DNA { public int step; [DNAFieldAttribute(4, "int", 11, "mode", "int", false, 324)] public int mode; - [DNAFieldAttribute(4, "char", 12, "_pad[4]", "System.Char[]", false, 328)] + [DNAArrayAttribute(4, "char", 12, "_pad[4]", "System.Char[]", 4, 328)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "float", 13, "point_density", "float", false, 332)] public float point_density; diff --git a/BlendFile/DNA/GreasePencilLineartModifierData.cs b/BlendFile/DNA/GreasePencilLineartModifierData.cs index fde8e68..4c516b6 100644 --- a/BlendFile/DNA/GreasePencilLineartModifierData.cs +++ b/BlendFile/DNA/GreasePencilLineartModifierData.cs @@ -37,11 +37,11 @@ namespace BlendFile.DNA { public Collection source_collection; [DNAFieldAttribute(8, "Material", 10, "*target_material", "Material", true, 160)] public Material target_material; - [DNAFieldAttribute(64, "char", 11, "target_layer[64]", "System.Char[]", false, 168)] + [DNAArrayAttribute(64, "char", 11, "target_layer[64]", "System.Char[]", 64, 168)] public char[] target_layer = new System.Char[64]; - [DNAFieldAttribute(64, "char", 12, "source_vertex_group[64]", "System.Char[]", false, 232)] + [DNAArrayAttribute(64, "char", 12, "source_vertex_group[64]", "System.Char[]", 64, 232)] public char[] source_vertex_group = new System.Char[64]; - [DNAFieldAttribute(64, "char", 13, "vgname[64]", "System.Char[]", false, 296)] + [DNAArrayAttribute(64, "char", 13, "vgname[64]", "System.Char[]", 64, 296)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "float", 14, "overscan", "float", false, 360)] public float overscan; @@ -67,7 +67,7 @@ namespace BlendFile.DNA { public char shadow_selection; [DNAFieldAttribute(1, "char", 25, "silhouette_selection", "char", false, 390)] public char silhouette_selection; - [DNAFieldAttribute(1, "char", 26, "_pad[1]", "System.Char[]", false, 391)] + [DNAArrayAttribute(1, "char", 26, "_pad[1]", "System.Char[]", 1, 391)] public char[] _pad = new System.Char[1]; [DNAFieldAttribute(4, "float", 27, "crease_threshold", "float", false, 392)] public float crease_threshold; @@ -93,7 +93,7 @@ namespace BlendFile.DNA { public char shadow_selection_override; [DNAFieldAttribute(1, "char", 38, "shadow_use_silhouette_override", "char", false, 425)] public char shadow_use_silhouette_override; - [DNAFieldAttribute(6, "char", 39, "_pad2[6]", "System.Char[]", false, 426)] + [DNAArrayAttribute(6, "char", 39, "_pad2[6]", "System.Char[]", 6, 426)] public char[] _pad2 = new System.Char[6]; [DNAFieldAttribute(8, "LineartCache", 40, "*shared_cache", "LineartCache", true, 432)] public LineartCache shared_cache; diff --git a/BlendFile/DNA/GreasePencilMirrorModifierData.cs b/BlendFile/DNA/GreasePencilMirrorModifierData.cs index c2a7b9d..730ed86 100644 --- a/BlendFile/DNA/GreasePencilMirrorModifierData.cs +++ b/BlendFile/DNA/GreasePencilMirrorModifierData.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public Object @object; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 296)] public int flag; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 300)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 300)] public char[] _pad = new System.Char[4]; public GreasePencilMirrorModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/GreasePencilModifierInfluenceData.cs b/BlendFile/DNA/GreasePencilModifierInfluenceData.cs index a38465d..bd4e1fa 100644 --- a/BlendFile/DNA/GreasePencilModifierInfluenceData.cs +++ b/BlendFile/DNA/GreasePencilModifierInfluenceData.cs @@ -17,9 +17,9 @@ namespace BlendFile.DNA { public class GreasePencilModifierInfluenceData { [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(4, "char", 1, "_pad1[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad1[4]", "System.Char[]", 4, 4)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(64, "char", 2, "layer_name[64]", "System.Char[]", false, 8)] + [DNAArrayAttribute(64, "char", 2, "layer_name[64]", "System.Char[]", 64, 8)] public char[] layer_name = new System.Char[64]; [DNAFieldAttribute(8, "Material", 3, "*material", "Material", true, 72)] public Material material; @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int layer_pass; [DNAFieldAttribute(4, "int", 5, "material_pass", "int", false, 84)] public int material_pass; - [DNAFieldAttribute(64, "char", 6, "vertex_group_name[64]", "System.Char[]", false, 88)] + [DNAArrayAttribute(64, "char", 6, "vertex_group_name[64]", "System.Char[]", 64, 88)] public char[] vertex_group_name = new System.Char[64]; [DNAFieldAttribute(8, "CurveMapping", 7, "*custom_curve", "CurveMapping", true, 152)] public CurveMapping custom_curve; diff --git a/BlendFile/DNA/GreasePencilNoiseModifierData.cs b/BlendFile/DNA/GreasePencilNoiseModifierData.cs index 8ed9fc9..a64881d 100644 --- a/BlendFile/DNA/GreasePencilNoiseModifierData.cs +++ b/BlendFile/DNA/GreasePencilNoiseModifierData.cs @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public float noise_offset; [DNAFieldAttribute(2, "short", 9, "noise_mode", "short", false, 316)] public short noise_mode; - [DNAFieldAttribute(2, "char", 10, "_pad[2]", "System.Char[]", false, 318)] + [DNAArrayAttribute(2, "char", 10, "_pad[2]", "System.Char[]", 2, 318)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 11, "step", "int", false, 320)] public int step; diff --git a/BlendFile/DNA/GreasePencilOffsetModifierData.cs b/BlendFile/DNA/GreasePencilOffsetModifierData.cs index b1e63d1..cc7f475 100644 --- a/BlendFile/DNA/GreasePencilOffsetModifierData.cs +++ b/BlendFile/DNA/GreasePencilOffsetModifierData.cs @@ -23,17 +23,17 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "int", 3, "offset_mode", "int", false, 292)] public int offset_mode; - [DNAFieldAttribute(12, "float", 4, "loc[3]", "System.Single[]", false, 296)] + [DNAArrayAttribute(12, "float", 4, "loc[3]", "System.Single[]", 3, 296)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 5, "rot[3]", "System.Single[]", false, 308)] + [DNAArrayAttribute(12, "float", 5, "rot[3]", "System.Single[]", 3, 308)] public float[] rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 6, "scale[3]", "System.Single[]", false, 320)] + [DNAArrayAttribute(12, "float", 6, "scale[3]", "System.Single[]", 3, 320)] public float[] scale = new System.Single[3]; - [DNAFieldAttribute(12, "float", 7, "stroke_loc[3]", "System.Single[]", false, 332)] + [DNAArrayAttribute(12, "float", 7, "stroke_loc[3]", "System.Single[]", 3, 332)] public float[] stroke_loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 8, "stroke_rot[3]", "System.Single[]", false, 344)] + [DNAArrayAttribute(12, "float", 8, "stroke_rot[3]", "System.Single[]", 3, 344)] public float[] stroke_rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 9, "stroke_scale[3]", "System.Single[]", false, 356)] + [DNAArrayAttribute(12, "float", 9, "stroke_scale[3]", "System.Single[]", 3, 356)] public float[] stroke_scale = new System.Single[3]; [DNAFieldAttribute(4, "int", 10, "seed", "int", false, 368)] public int seed; @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public int stroke_step; [DNAFieldAttribute(4, "int", 12, "stroke_start_offset", "int", false, 376)] public int stroke_start_offset; - [DNAFieldAttribute(4, "char", 13, "_pad1[4]", "System.Char[]", false, 380)] + [DNAArrayAttribute(4, "char", 13, "_pad1[4]", "System.Char[]", 4, 380)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "void", 14, "*_pad2", "void", true, 384)] public object _pad2; diff --git a/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs b/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs index 7ae2597..fd740ed 100644 --- a/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs +++ b/BlendFile/DNA/GreasePencilOnionSkinningSettings.cs @@ -23,17 +23,17 @@ namespace BlendFile.DNA { public byte flag; [DNAFieldAttribute(1, "uchar", 3, "filter", "uchar", false, 6)] public byte filter; - [DNAFieldAttribute(1, "char", 4, "_pad[1]", "System.Char[]", false, 7)] + [DNAArrayAttribute(1, "char", 4, "_pad[1]", "System.Char[]", 1, 7)] public char[] _pad = new System.Char[1]; [DNAFieldAttribute(2, "short", 5, "num_frames_before", "short", false, 8)] public short num_frames_before; [DNAFieldAttribute(2, "short", 6, "num_frames_after", "short", false, 10)] public short num_frames_after; - [DNAFieldAttribute(12, "float", 7, "color_before[3]", "System.Single[]", false, 12)] + [DNAArrayAttribute(12, "float", 7, "color_before[3]", "System.Single[]", 3, 12)] public float[] color_before = new System.Single[3]; - [DNAFieldAttribute(12, "float", 8, "color_after[3]", "System.Single[]", false, 24)] + [DNAArrayAttribute(12, "float", 8, "color_after[3]", "System.Single[]", 3, 24)] public float[] color_after = new System.Single[3]; - [DNAFieldAttribute(4, "char", 9, "_pad2[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 9, "_pad2[4]", "System.Char[]", 4, 36)] public char[] _pad2 = new System.Char[4]; public GreasePencilOnionSkinningSettings() { this.opacity = default; diff --git a/BlendFile/DNA/GreasePencilOpacityModifierData.cs b/BlendFile/DNA/GreasePencilOpacityModifierData.cs index c012060..e944006 100644 --- a/BlendFile/DNA/GreasePencilOpacityModifierData.cs +++ b/BlendFile/DNA/GreasePencilOpacityModifierData.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(1, "char", 3, "color_mode", "char", false, 292)] public char color_mode; - [DNAFieldAttribute(3, "char", 4, "_pad1[3]", "System.Char[]", false, 293)] + [DNAArrayAttribute(3, "char", 4, "_pad1[3]", "System.Char[]", 3, 293)] public char[] _pad1 = new System.Char[3]; [DNAFieldAttribute(4, "float", 5, "color_factor", "float", false, 296)] public float color_factor; diff --git a/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs b/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs index f131c47..3eb5ad7 100644 --- a/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs +++ b/BlendFile/DNA/GreasePencilShrinkwrapModifierData.cs @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public char proj_axis; [DNAFieldAttribute(1, "char", 10, "subsurf_levels", "char", false, 317)] public char subsurf_levels; - [DNAFieldAttribute(2, "char", 11, "_pad[2]", "System.Char[]", false, 318)] + [DNAArrayAttribute(2, "char", 11, "_pad[2]", "System.Char[]", 2, 318)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 12, "smooth_factor", "float", false, 320)] public float smooth_factor; diff --git a/BlendFile/DNA/GreasePencilSimplifyModifierData.cs b/BlendFile/DNA/GreasePencilSimplifyModifierData.cs index 865ac0a..2a47332 100644 --- a/BlendFile/DNA/GreasePencilSimplifyModifierData.cs +++ b/BlendFile/DNA/GreasePencilSimplifyModifierData.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public GreasePencilModifierInfluenceData influence; [DNAFieldAttribute(2, "short", 2, "mode", "short", false, 288)] public short mode; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 290)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 290)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(2, "short", 4, "step", "short", false, 294)] public short step; diff --git a/BlendFile/DNA/GreasePencilSmoothModifierData.cs b/BlendFile/DNA/GreasePencilSmoothModifierData.cs index 23e390c..f602f9c 100644 --- a/BlendFile/DNA/GreasePencilSmoothModifierData.cs +++ b/BlendFile/DNA/GreasePencilSmoothModifierData.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float factor; [DNAFieldAttribute(4, "int", 4, "step", "int", false, 296)] public int step; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 300)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 300)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 304)] public object _pad1; diff --git a/BlendFile/DNA/GreasePencilSubdivModifierData.cs b/BlendFile/DNA/GreasePencilSubdivModifierData.cs index 94fbfd7..3f0ae26 100644 --- a/BlendFile/DNA/GreasePencilSubdivModifierData.cs +++ b/BlendFile/DNA/GreasePencilSubdivModifierData.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(4, "int", 3, "level", "int", false, 292)] public int level; - [DNAFieldAttribute(8, "char", 4, "_pad[8]", "System.Char[]", false, 296)] + [DNAArrayAttribute(8, "char", 4, "_pad[8]", "System.Char[]", 8, 296)] public char[] _pad = new System.Char[8]; [DNAFieldAttribute(8, "void", 5, "*_pad1", "void", true, 304)] public object _pad1; diff --git a/BlendFile/DNA/GreasePencilTextureModifierData.cs b/BlendFile/DNA/GreasePencilTextureModifierData.cs index fe53252..e73a2e9 100644 --- a/BlendFile/DNA/GreasePencilTextureModifierData.cs +++ b/BlendFile/DNA/GreasePencilTextureModifierData.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float uv_scale; [DNAFieldAttribute(4, "float", 4, "fill_rotation", "float", false, 296)] public float fill_rotation; - [DNAFieldAttribute(8, "float", 5, "fill_offset[2]", "System.Single[]", false, 300)] + [DNAArrayAttribute(8, "float", 5, "fill_offset[2]", "System.Single[]", 2, 300)] public float[] fill_offset = new System.Single[2]; [DNAFieldAttribute(4, "float", 6, "fill_scale", "float", false, 308)] public float fill_scale; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public short mode; [DNAFieldAttribute(4, "float", 10, "alignment_rotation", "float", false, 320)] public float alignment_rotation; - [DNAFieldAttribute(4, "char", 11, "_pad[4]", "System.Char[]", false, 324)] + [DNAArrayAttribute(4, "char", 11, "_pad[4]", "System.Char[]", 4, 324)] public char[] _pad = new System.Char[4]; public GreasePencilTextureModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/GreasePencilThickModifierData.cs b/BlendFile/DNA/GreasePencilThickModifierData.cs index 748731d..96f0289 100644 --- a/BlendFile/DNA/GreasePencilThickModifierData.cs +++ b/BlendFile/DNA/GreasePencilThickModifierData.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float thickness_fac; [DNAFieldAttribute(4, "float", 4, "thickness", "float", false, 296)] public float thickness; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 300)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 300)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 304)] public object _pad1; diff --git a/BlendFile/DNA/GreasePencilTimeModifierSegment.cs b/BlendFile/DNA/GreasePencilTimeModifierSegment.cs index 63d9cdd..34d3ef8 100644 --- a/BlendFile/DNA/GreasePencilTimeModifierSegment.cs +++ b/BlendFile/DNA/GreasePencilTimeModifierSegment.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(546, "GreasePencilTimeModifierSegment", 80)] public class GreasePencilTimeModifierSegment { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 1, "segment_start", "int", false, 64)] public int segment_start; diff --git a/BlendFile/DNA/GreasePencilTintModifierData.cs b/BlendFile/DNA/GreasePencilTintModifierData.cs index 906d6aa..266e860 100644 --- a/BlendFile/DNA/GreasePencilTintModifierData.cs +++ b/BlendFile/DNA/GreasePencilTintModifierData.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public float factor; [DNAFieldAttribute(4, "float", 6, "radius", "float", false, 296)] public float radius; - [DNAFieldAttribute(12, "float", 7, "color[3]", "System.Single[]", false, 300)] + [DNAArrayAttribute(12, "float", 7, "color[3]", "System.Single[]", 3, 300)] public float[] color = new System.Single[3]; [DNAFieldAttribute(8, "Object", 8, "*object", "Object", true, 312)] public Object @object; diff --git a/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs b/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs index 1f2bc78..fa5cb6a 100644 --- a/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs +++ b/BlendFile/DNA/GreasePencilWeightAngleModifierData.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public short space; [DNAFieldAttribute(4, "float", 6, "angle", "float", false, 300)] public float angle; - [DNAFieldAttribute(64, "char", 7, "target_vgname[64]", "System.Char[]", false, 304)] + [DNAArrayAttribute(64, "char", 7, "target_vgname[64]", "System.Char[]", 64, 304)] public char[] target_vgname = new System.Char[64]; [DNAFieldAttribute(8, "void", 8, "*_pad", "void", true, 368)] public object _pad; diff --git a/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs b/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs index 48d7217..e37ac09 100644 --- a/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs +++ b/BlendFile/DNA/GreasePencilWeightProximityModifierData.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public GreasePencilModifierInfluenceData influence; [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 288)] public int flag; - [DNAFieldAttribute(64, "char", 3, "target_vgname[64]", "System.Char[]", false, 292)] + [DNAArrayAttribute(64, "char", 3, "target_vgname[64]", "System.Char[]", 64, 292)] public char[] target_vgname = new System.Char[64]; [DNAFieldAttribute(4, "float", 4, "min_weight", "float", false, 356)] public float min_weight; diff --git a/BlendFile/DNA/GridPaintMask.cs b/BlendFile/DNA/GridPaintMask.cs index e654ce7..af74e17 100644 --- a/BlendFile/DNA/GridPaintMask.cs +++ b/BlendFile/DNA/GridPaintMask.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public float data; [DNAFieldAttribute(4, "int", 1, "level", "int", false, 8)] public int level; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; public GridPaintMask() { this.data = default; diff --git a/BlendFile/DNA/GroupNodeViewerPathElem.cs b/BlendFile/DNA/GroupNodeViewerPathElem.cs index 7ad61a9..d0452eb 100644 --- a/BlendFile/DNA/GroupNodeViewerPathElem.cs +++ b/BlendFile/DNA/GroupNodeViewerPathElem.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public ViewerPathElem @base; [DNAFieldAttribute(4, "int", 1, "node_id", "int", false, 32)] public int node_id; - [DNAFieldAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", 4, 36)] public char[] _pad1 = new System.Char[4]; public GroupNodeViewerPathElem() { this.@base = default; diff --git a/BlendFile/DNA/HairKey.cs b/BlendFile/DNA/HairKey.cs index 7821078..2d0401f 100644 --- a/BlendFile/DNA/HairKey.cs +++ b/BlendFile/DNA/HairKey.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(776, "HairKey", 36)] public class HairKey { - [DNAFieldAttribute(12, "float", 0, "co[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "co[3]", "System.Single[]", 3, 0)] public float[] co = new System.Single[3]; [DNAFieldAttribute(4, "float", 1, "time", "float", false, 12)] public float time; @@ -23,9 +23,9 @@ namespace BlendFile.DNA { public float weight; [DNAFieldAttribute(2, "short", 3, "editflag", "short", false, 20)] public short editflag; - [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 22)] + [DNAArrayAttribute(2, "char", 4, "_pad[2]", "System.Char[]", 2, 22)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(12, "float", 5, "world_co[3]", "System.Single[]", false, 24)] + [DNAArrayAttribute(12, "float", 5, "world_co[3]", "System.Single[]", 3, 24)] public float[] world_co = new System.Single[3]; public HairKey() { this.co = default; diff --git a/BlendFile/DNA/Histogram.cs b/BlendFile/DNA/Histogram.cs index 4ad183e..7b19cf1 100644 --- a/BlendFile/DNA/Histogram.cs +++ b/BlendFile/DNA/Histogram.cs @@ -19,15 +19,15 @@ namespace BlendFile.DNA { public int channels; [DNAFieldAttribute(4, "int", 1, "x_resolution", "int", false, 4)] public int x_resolution; - [DNAFieldAttribute(1024, "float", 2, "data_luma[256]", "System.Single[]", false, 8)] + [DNAArrayAttribute(1024, "float", 2, "data_luma[256]", "System.Single[]", 256, 8)] public float[] data_luma = new System.Single[256]; - [DNAFieldAttribute(1024, "float", 3, "data_r[256]", "System.Single[]", false, 1032)] + [DNAArrayAttribute(1024, "float", 3, "data_r[256]", "System.Single[]", 256, 1032)] public float[] data_r = new System.Single[256]; - [DNAFieldAttribute(1024, "float", 4, "data_g[256]", "System.Single[]", false, 2056)] + [DNAArrayAttribute(1024, "float", 4, "data_g[256]", "System.Single[]", 256, 2056)] public float[] data_g = new System.Single[256]; - [DNAFieldAttribute(1024, "float", 5, "data_b[256]", "System.Single[]", false, 3080)] + [DNAArrayAttribute(1024, "float", 5, "data_b[256]", "System.Single[]", 256, 3080)] public float[] data_b = new System.Single[256]; - [DNAFieldAttribute(1024, "float", 6, "data_a[256]", "System.Single[]", false, 4104)] + [DNAArrayAttribute(1024, "float", 6, "data_a[256]", "System.Single[]", 256, 4104)] public float[] data_a = new System.Single[256]; [DNAFieldAttribute(4, "float", 7, "xmax", "float", false, 5128)] public float xmax; @@ -39,7 +39,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(4, "int", 11, "height", "int", false, 5140)] public int height; - [DNAFieldAttribute(16, "float", 12, "co[2][2]", "System.Single[,]", false, 5144)] + [DNAArrayAttribute(16, "float", 12, "co[2][2]", "System.Single[,]", 4, 5144)] public float[,] co = new System.Single[2,2]; public Histogram() { this.channels = default; diff --git a/BlendFile/DNA/HookGpencilModifierData.cs b/BlendFile/DNA/HookGpencilModifierData.cs index fb018af..f237de6 100644 --- a/BlendFile/DNA/HookGpencilModifierData.cs +++ b/BlendFile/DNA/HookGpencilModifierData.cs @@ -21,29 +21,29 @@ namespace BlendFile.DNA { public Object @object; [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] public Material material; - [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", 64, 120)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "layername[64]", "System.Char[]", false, 184)] + [DNAArrayAttribute(64, "char", 4, "layername[64]", "System.Char[]", 64, 184)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 5, "materialname[64]", "System.Char[]", false, 248)] + [DNAArrayAttribute(64, "char", 5, "materialname[64]", "System.Char[]", 64, 248)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 6, "vgname[64]", "System.Char[]", false, 312)] + [DNAArrayAttribute(64, "char", 6, "vgname[64]", "System.Char[]", 64, 312)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 7, "pass_index", "int", false, 376)] public int pass_index; [DNAFieldAttribute(4, "int", 8, "layer_pass", "int", false, 380)] public int layer_pass; - [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 384)] + [DNAArrayAttribute(4, "char", 9, "_pad[4]", "System.Char[]", 4, 384)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 10, "flag", "int", false, 388)] public int flag; [DNAFieldAttribute(1, "char", 11, "falloff_type", "char", false, 392)] public char falloff_type; - [DNAFieldAttribute(3, "char", 12, "_pad1[3]", "System.Char[]", false, 393)] + [DNAArrayAttribute(3, "char", 12, "_pad1[3]", "System.Char[]", 3, 393)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(64, "float", 13, "parentinv[4][4]", "System.Single[,]", false, 396)] + [DNAArrayAttribute(64, "float", 13, "parentinv[4][4]", "System.Single[,]", 8, 396)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(12, "float", 14, "cent[3]", "System.Single[]", false, 460)] + [DNAArrayAttribute(12, "float", 14, "cent[3]", "System.Single[]", 3, 460)] public float[] cent = new System.Single[3]; [DNAFieldAttribute(4, "float", 15, "falloff", "float", false, 472)] public float falloff; diff --git a/BlendFile/DNA/HookModifierData.cs b/BlendFile/DNA/HookModifierData.cs index ede441b..b8f0848 100644 --- a/BlendFile/DNA/HookModifierData.cs +++ b/BlendFile/DNA/HookModifierData.cs @@ -19,17 +19,17 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] public Object @object; - [DNAFieldAttribute(64, "char", 2, "subtarget[64]", "System.Char[]", false, 128)] + [DNAArrayAttribute(64, "char", 2, "subtarget[64]", "System.Char[]", 64, 128)] public char[] subtarget = new System.Char[64]; [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 192)] public char flag; [DNAFieldAttribute(1, "char", 4, "falloff_type", "char", false, 193)] public char falloff_type; - [DNAFieldAttribute(6, "char", 5, "_pad[6]", "System.Char[]", false, 194)] + [DNAArrayAttribute(6, "char", 5, "_pad[6]", "System.Char[]", 6, 194)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(64, "float", 6, "parentinv[4][4]", "System.Single[,]", false, 200)] + [DNAArrayAttribute(64, "float", 6, "parentinv[4][4]", "System.Single[,]", 8, 200)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(12, "float", 7, "cent[3]", "System.Single[]", false, 264)] + [DNAArrayAttribute(12, "float", 7, "cent[3]", "System.Single[]", 3, 264)] public float[] cent = new System.Single[3]; [DNAFieldAttribute(4, "float", 8, "falloff", "float", false, 276)] public float falloff; @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public int totindex; [DNAFieldAttribute(4, "float", 12, "force", "float", false, 300)] public float force; - [DNAFieldAttribute(64, "char", 13, "name[64]", "System.Char[]", false, 304)] + [DNAArrayAttribute(64, "char", 13, "name[64]", "System.Char[]", 64, 304)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "void", 14, "*_pad1", "void", true, 368)] public object _pad1; diff --git a/BlendFile/DNA/ID.cs b/BlendFile/DNA/ID.cs index df56dd6..7fbd091 100644 --- a/BlendFile/DNA/ID.cs +++ b/BlendFile/DNA/ID.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public Library lib; [DNAFieldAttribute(8, "AssetMetaData", 4, "*asset_data", "AssetMetaData", true, 32)] public AssetMetaData asset_data; - [DNAFieldAttribute(66, "char", 5, "name[66]", "System.Char[]", false, 40)] + [DNAArrayAttribute(66, "char", 5, "name[66]", "System.Char[]", 66, 40)] public char[] name = new System.Char[66]; [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 106)] public short flag; diff --git a/BlendFile/DNA/IDOverrideLibrary.cs b/BlendFile/DNA/IDOverrideLibrary.cs index f34c754..bcc8f98 100644 --- a/BlendFile/DNA/IDOverrideLibrary.cs +++ b/BlendFile/DNA/IDOverrideLibrary.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public IDOverrideLibraryRuntime runtime; [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 48)] public int flag; - [DNAFieldAttribute(4, "char", 6, "_pad_1[4]", "System.Char[]", false, 52)] + [DNAArrayAttribute(4, "char", 6, "_pad_1[4]", "System.Char[]", 4, 52)] public char[] _pad_1 = new System.Char[4]; public IDOverrideLibrary() { this.reference = default; diff --git a/BlendFile/DNA/IDOverrideLibraryProperty.cs b/BlendFile/DNA/IDOverrideLibraryProperty.cs index 1c6e9ab..276724a 100644 --- a/BlendFile/DNA/IDOverrideLibraryProperty.cs +++ b/BlendFile/DNA/IDOverrideLibraryProperty.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public ListBase operations; [DNAFieldAttribute(2, "short", 4, "tag", "short", false, 40)] public short tag; - [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 42)] + [DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, 42)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 6, "rna_prop_type", "int", false, 44)] public int rna_prop_type; diff --git a/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs b/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs index aa94056..c1922b5 100644 --- a/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs +++ b/BlendFile/DNA/IDOverrideLibraryPropertyOperation.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 4, "tag", "short", false, 20)] public short tag; - [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 22)] + [DNAArrayAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", 2, 22)] public char[] _pad0 = new System.Char[2]; [DNAFieldAttribute(8, "char", 6, "*subitem_reference_name", "char", true, 24)] public char subitem_reference_name; diff --git a/BlendFile/DNA/IDProperty.cs b/BlendFile/DNA/IDProperty.cs index 7ba0881..f24e1f0 100644 --- a/BlendFile/DNA/IDProperty.cs +++ b/BlendFile/DNA/IDProperty.cs @@ -25,9 +25,9 @@ namespace BlendFile.DNA { public char subtype; [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 18)] public short flag; - [DNAFieldAttribute(64, "char", 5, "name[64]", "System.Char[]", false, 20)] + [DNAArrayAttribute(64, "char", 5, "name[64]", "System.Char[]", 64, 20)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", false, 84)] + [DNAArrayAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", 4, 84)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(32, "IDPropertyData", 7, "data", "IDPropertyData", false, 88)] public IDPropertyData data; diff --git a/BlendFile/DNA/IDPropertyUIData.cs b/BlendFile/DNA/IDPropertyUIData.cs index c33ebf0..8aa9b4e 100644 --- a/BlendFile/DNA/IDPropertyUIData.cs +++ b/BlendFile/DNA/IDPropertyUIData.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public char description; [DNAFieldAttribute(4, "int", 1, "rna_subtype", "int", false, 8)] public int rna_subtype; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; public IDPropertyUIData() { this.description = default; diff --git a/BlendFile/DNA/IDPropertyUIDataBool.cs b/BlendFile/DNA/IDPropertyUIDataBool.cs index d1f7650..9b5add2 100644 --- a/BlendFile/DNA/IDPropertyUIDataBool.cs +++ b/BlendFile/DNA/IDPropertyUIDataBool.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public IDPropertyUIData @base; [DNAListAttribute(8, "int8_t", "*default_array", 1, "int8_t", "int", "default_array_len", 2, 16, 24)] public System.Collections.Generic.List default_array; - [DNAFieldAttribute(3, "char", 3, "_pad[3]", "System.Char[]", false, 28)] + [DNAArrayAttribute(3, "char", 3, "_pad[3]", "System.Char[]", 3, 28)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(1, "int8_t", 4, "default_value", "int8_t", false, 31)] public sbyte default_value; diff --git a/BlendFile/DNA/IDPropertyUIDataFloat.cs b/BlendFile/DNA/IDPropertyUIDataFloat.cs index 845dcae..728540c 100644 --- a/BlendFile/DNA/IDPropertyUIDataFloat.cs +++ b/BlendFile/DNA/IDPropertyUIDataFloat.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public IDPropertyUIData @base; [DNAListAttribute(8, "double", "*default_array", 1, "double", "int", "default_array_len", 2, 16, 24)] public System.Collections.Generic.List default_array; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 28)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "float", 4, "step", "float", false, 32)] public float step; diff --git a/BlendFile/DNA/IDPropertyUIDataID.cs b/BlendFile/DNA/IDPropertyUIDataID.cs index 5ba067f..9c15877 100644 --- a/BlendFile/DNA/IDPropertyUIDataID.cs +++ b/BlendFile/DNA/IDPropertyUIDataID.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public IDPropertyUIData @base; [DNAFieldAttribute(2, "short", 1, "id_type", "short", false, 16)] public short id_type; - [DNAFieldAttribute(6, "char", 2, "_pad[6]", "System.Char[]", false, 18)] + [DNAArrayAttribute(6, "char", 2, "_pad[6]", "System.Char[]", 6, 18)] public char[] _pad = new System.Char[6]; public IDPropertyUIDataID() { this.@base = default; diff --git a/BlendFile/DNA/Image.cs b/BlendFile/DNA/Image.cs index 4ef57c2..30f9a77 100644 --- a/BlendFile/DNA/Image.cs +++ b/BlendFile/DNA/Image.cs @@ -13,7 +13,7 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(126, "Image", 1600)] + [DNAClassAttribute(126, "Image", 1552)] public class Image { [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; @@ -21,87 +21,87 @@ namespace BlendFile.DNA { public AnimData adt; [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(1024, "char", 3, "name[1024]", "System.Char[]", false, 232)] + [DNAArrayAttribute(1024, "char", 3, "name[1024]", "System.Char[]", 1024, 232)] public char[] name = new System.Char[1024]; [DNAFieldAttribute(8, "MovieCache", 4, "*cache", "MovieCache", true, 1256)] public MovieCache cache; - [DNAFieldAttribute(48, "GPUTexture", 5, "*gputexture[3][2]", "GPUTexture[,]", true, 1264)] + [DNAArrayAttribute(0, "GPUTexture", 5, "*gputexture[3][2]", "GPUTexture[,]", 5, 1264)] public GPUTexture[,] gputexture = new GPUTexture[3,2]; - [DNAFieldAttribute(16, "ListBase", 6, "anims", "ListBase", false, 1312)] + [DNAFieldAttribute(16, "ListBase", 6, "anims", "ListBase", false, 1264)] public ListBase anims; - [DNAFieldAttribute(8, "RenderResult", 7, "*rr", "RenderResult", true, 1328)] + [DNAFieldAttribute(8, "RenderResult", 7, "*rr", "RenderResult", true, 1280)] public RenderResult rr; - [DNAFieldAttribute(16, "ListBase", 8, "renderslots", "ListBase", false, 1336)] + [DNAFieldAttribute(16, "ListBase", 8, "renderslots", "ListBase", false, 1288)] public ListBase renderslots; - [DNAFieldAttribute(2, "short", 9, "render_slot", "short", false, 1352)] + [DNAFieldAttribute(2, "short", 9, "render_slot", "short", false, 1304)] public short render_slot; - [DNAFieldAttribute(2, "short", 10, "last_render_slot", "short", false, 1354)] + [DNAFieldAttribute(2, "short", 10, "last_render_slot", "short", false, 1306)] public short last_render_slot; - [DNAFieldAttribute(4, "int", 11, "flag", "int", false, 1356)] + [DNAFieldAttribute(4, "int", 11, "flag", "int", false, 1308)] public int flag; - [DNAFieldAttribute(2, "short", 12, "source", "short", false, 1360)] + [DNAFieldAttribute(2, "short", 12, "source", "short", false, 1312)] public short source; - [DNAFieldAttribute(2, "short", 13, "type", "short", false, 1362)] + [DNAFieldAttribute(2, "short", 13, "type", "short", false, 1314)] public short type; - [DNAFieldAttribute(4, "int", 14, "lastframe", "int", false, 1364)] + [DNAFieldAttribute(4, "int", 14, "lastframe", "int", false, 1316)] public int lastframe; - [DNAFieldAttribute(4, "int", 15, "gpuframenr", "int", false, 1368)] + [DNAFieldAttribute(4, "int", 15, "gpuframenr", "int", false, 1320)] public int gpuframenr; - [DNAFieldAttribute(2, "short", 16, "gpuflag", "short", false, 1372)] + [DNAFieldAttribute(2, "short", 16, "gpuflag", "short", false, 1324)] public short gpuflag; - [DNAFieldAttribute(2, "short", 17, "gpu_pass", "short", false, 1374)] + [DNAFieldAttribute(2, "short", 17, "gpu_pass", "short", false, 1326)] public short gpu_pass; - [DNAFieldAttribute(2, "short", 18, "gpu_layer", "short", false, 1376)] + [DNAFieldAttribute(2, "short", 18, "gpu_layer", "short", false, 1328)] public short gpu_layer; - [DNAFieldAttribute(2, "short", 19, "gpu_view", "short", false, 1378)] + [DNAFieldAttribute(2, "short", 19, "gpu_view", "short", false, 1330)] public short gpu_view; - [DNAFieldAttribute(2, "short", 20, "seam_margin", "short", false, 1380)] + [DNAFieldAttribute(2, "short", 20, "seam_margin", "short", false, 1332)] public short seam_margin; - [DNAFieldAttribute(2, "char", 21, "_pad2[2]", "System.Char[]", false, 1382)] + [DNAArrayAttribute(2, "char", 21, "_pad2[2]", "System.Char[]", 2, 1334)] public char[] _pad2 = new System.Char[2]; - [DNAFieldAttribute(8, "PackedFile", 22, "*packedfile", "PackedFile", true, 1384)] + [DNAFieldAttribute(8, "PackedFile", 22, "*packedfile", "PackedFile", true, 1336)] public PackedFile packedfile; - [DNAFieldAttribute(16, "ListBase", 23, "packedfiles", "ListBase", false, 1392)] + [DNAFieldAttribute(16, "ListBase", 23, "packedfiles", "ListBase", false, 1344)] public ListBase packedfiles; - [DNAFieldAttribute(8, "PreviewImage", 24, "*preview", "PreviewImage", true, 1408)] + [DNAFieldAttribute(8, "PreviewImage", 24, "*preview", "PreviewImage", true, 1360)] public PreviewImage preview; - [DNAFieldAttribute(4, "int", 25, "lastused", "int", false, 1416)] + [DNAFieldAttribute(4, "int", 25, "lastused", "int", false, 1368)] public int lastused; - [DNAFieldAttribute(4, "int", 26, "gen_x", "int", false, 1420)] + [DNAFieldAttribute(4, "int", 26, "gen_x", "int", false, 1372)] public int gen_x; - [DNAFieldAttribute(4, "int", 27, "gen_y", "int", false, 1424)] + [DNAFieldAttribute(4, "int", 27, "gen_y", "int", false, 1376)] public int gen_y; - [DNAFieldAttribute(1, "char", 28, "gen_type", "char", false, 1428)] + [DNAFieldAttribute(1, "char", 28, "gen_type", "char", false, 1380)] public char gen_type; - [DNAFieldAttribute(1, "char", 29, "gen_flag", "char", false, 1429)] + [DNAFieldAttribute(1, "char", 29, "gen_flag", "char", false, 1381)] public char gen_flag; - [DNAFieldAttribute(2, "short", 30, "gen_depth", "short", false, 1430)] + [DNAFieldAttribute(2, "short", 30, "gen_depth", "short", false, 1382)] public short gen_depth; - [DNAFieldAttribute(16, "float", 31, "gen_color[4]", "System.Single[]", false, 1432)] + [DNAArrayAttribute(16, "float", 31, "gen_color[4]", "System.Single[]", 4, 1384)] public float[] gen_color = new System.Single[4]; - [DNAFieldAttribute(4, "float", 32, "aspx", "float", false, 1448)] + [DNAFieldAttribute(4, "float", 32, "aspx", "float", false, 1400)] public float aspx; - [DNAFieldAttribute(4, "float", 33, "aspy", "float", false, 1452)] + [DNAFieldAttribute(4, "float", 33, "aspy", "float", false, 1404)] public float aspy; - [DNAFieldAttribute(64, "ColorManagedColorspaceSettings", 34, "colorspace_settings", "ColorManagedColorspaceSettings", false, 1456)] + [DNAFieldAttribute(64, "ColorManagedColorspaceSettings", 34, "colorspace_settings", "ColorManagedColorspaceSettings", false, 1408)] public ColorManagedColorspaceSettings colorspace_settings; - [DNAFieldAttribute(1, "char", 35, "alpha_mode", "char", false, 1520)] + [DNAFieldAttribute(1, "char", 35, "alpha_mode", "char", false, 1472)] public char alpha_mode; - [DNAFieldAttribute(1, "char", 36, "_pad", "char", false, 1521)] + [DNAFieldAttribute(1, "char", 36, "_pad", "char", false, 1473)] public char _pad; - [DNAFieldAttribute(1, "char", 37, "eye", "char", false, 1522)] + [DNAFieldAttribute(1, "char", 37, "eye", "char", false, 1474)] public char eye; - [DNAFieldAttribute(1, "char", 38, "views_format", "char", false, 1523)] + [DNAFieldAttribute(1, "char", 38, "views_format", "char", false, 1475)] public char views_format; - [DNAFieldAttribute(4, "int", 39, "active_tile_index", "int", false, 1524)] + [DNAFieldAttribute(4, "int", 39, "active_tile_index", "int", false, 1476)] public int active_tile_index; - [DNAFieldAttribute(16, "ListBase", 40, "tiles", "ListBase", false, 1528)] + [DNAFieldAttribute(16, "ListBase", 40, "tiles", "ListBase", false, 1480)] public ListBase tiles; - [DNAFieldAttribute(16, "ListBase", 41, "views", "ListBase", false, 1544)] + [DNAFieldAttribute(16, "ListBase", 41, "views", "ListBase", false, 1496)] public ListBase views; - [DNAFieldAttribute(8, "Stereo3dFormat", 42, "*stereo3d_format", "Stereo3dFormat", true, 1560)] + [DNAFieldAttribute(8, "Stereo3dFormat", 42, "*stereo3d_format", "Stereo3dFormat", true, 1512)] public Stereo3dFormat stereo3d_format; - [DNAFieldAttribute(32, "Image_Runtime", 43, "runtime", "Image_Runtime", false, 1568)] + [DNAFieldAttribute(32, "Image_Runtime", 43, "runtime", "Image_Runtime", false, 1520)] public Image_Runtime runtime; public Image() { this.id = default; diff --git a/BlendFile/DNA/ImageFormatData.cs b/BlendFile/DNA/ImageFormatData.cs index 15cbd3c..c8d81c1 100644 --- a/BlendFile/DNA/ImageFormatData.cs +++ b/BlendFile/DNA/ImageFormatData.cs @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public char jp2_codec; [DNAFieldAttribute(1, "char", 13, "tiff_codec", "char", false, 18)] public char tiff_codec; - [DNAFieldAttribute(4, "char", 14, "_pad[4]", "System.Char[]", false, 19)] + [DNAArrayAttribute(4, "char", 14, "_pad[4]", "System.Char[]", 4, 19)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(1, "char", 15, "views_format", "char", false, 23)] public char views_format; @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public Stereo3dFormat stereo3d_format; [DNAFieldAttribute(1, "char", 17, "color_management", "char", false, 32)] public char color_management; - [DNAFieldAttribute(7, "char", 18, "_pad1[7]", "System.Char[]", false, 33)] + [DNAArrayAttribute(7, "char", 18, "_pad1[7]", "System.Char[]", 7, 33)] public char[] _pad1 = new System.Char[7]; [DNAFieldAttribute(168, "ColorManagedViewSettings", 19, "view_settings", "ColorManagedViewSettings", false, 40)] public ColorManagedViewSettings view_settings; diff --git a/BlendFile/DNA/ImagePackedFile.cs b/BlendFile/DNA/ImagePackedFile.cs index 09caaea..25aae86 100644 --- a/BlendFile/DNA/ImagePackedFile.cs +++ b/BlendFile/DNA/ImagePackedFile.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int view; [DNAFieldAttribute(4, "int", 4, "tile_number", "int", false, 28)] public int tile_number; - [DNAFieldAttribute(1024, "char", 5, "filepath[1024]", "System.Char[]", false, 32)] + [DNAArrayAttribute(1024, "char", 5, "filepath[1024]", "System.Char[]", 1024, 32)] public char[] filepath = new System.Char[1024]; public ImagePackedFile() { this.next = default; diff --git a/BlendFile/DNA/ImagePaintSettings.cs b/BlendFile/DNA/ImagePaintSettings.cs index aa5849d..ba236ed 100644 --- a/BlendFile/DNA/ImagePaintSettings.cs +++ b/BlendFile/DNA/ImagePaintSettings.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public short seam_bleed; [DNAFieldAttribute(2, "short", 4, "normal_angle", "short", false, 126)] public short normal_angle; - [DNAFieldAttribute(4, "short", 5, "screen_grab_size[2]", "System.Int16[]", false, 128)] + [DNAArrayAttribute(4, "short", 5, "screen_grab_size[2]", "System.Int16[]", 2, 128)] public short[] screen_grab_size = new System.Int16[2]; [DNAFieldAttribute(4, "int", 6, "mode", "int", false, 132)] public int mode; @@ -35,13 +35,13 @@ namespace BlendFile.DNA { public Image clone; [DNAFieldAttribute(8, "Image", 9, "*canvas", "Image", true, 152)] public Image canvas; - [DNAFieldAttribute(12, "float", 10, "stencil_col[3]", "System.Single[]", false, 160)] + [DNAArrayAttribute(12, "float", 10, "stencil_col[3]", "System.Single[]", 3, 160)] public float[] stencil_col = new System.Single[3]; [DNAFieldAttribute(4, "float", 11, "dither", "float", false, 172)] public float dither; [DNAFieldAttribute(4, "int", 12, "interp", "int", false, 176)] public int interp; - [DNAFieldAttribute(4, "char", 13, "_pad[4]", "System.Char[]", false, 180)] + [DNAArrayAttribute(4, "char", 13, "_pad[4]", "System.Char[]", 4, 180)] public char[] _pad = new System.Char[4]; public ImagePaintSettings() { this.paint = default; diff --git a/BlendFile/DNA/ImageTile.cs b/BlendFile/DNA/ImageTile.cs index 69f50eb..606939a 100644 --- a/BlendFile/DNA/ImageTile.cs +++ b/BlendFile/DNA/ImageTile.cs @@ -33,9 +33,9 @@ namespace BlendFile.DNA { public char gen_flag; [DNAFieldAttribute(2, "short", 8, "gen_depth", "short", false, 54)] public short gen_depth; - [DNAFieldAttribute(16, "float", 9, "gen_color[4]", "System.Single[]", false, 56)] + [DNAArrayAttribute(16, "float", 9, "gen_color[4]", "System.Single[]", 4, 56)] public float[] gen_color = new System.Single[4]; - [DNAFieldAttribute(64, "char", 10, "label[64]", "System.Char[]", false, 72)] + [DNAArrayAttribute(64, "char", 10, "label[64]", "System.Char[]", 64, 72)] public char[] label = new System.Char[64]; public ImageTile() { this.next = default; diff --git a/BlendFile/DNA/ImageTile_Runtime.cs b/BlendFile/DNA/ImageTile_Runtime.cs index 3e0f39b..d28ac18 100644 --- a/BlendFile/DNA/ImageTile_Runtime.cs +++ b/BlendFile/DNA/ImageTile_Runtime.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class ImageTile_Runtime { [DNAFieldAttribute(4, "int", 1, "_pad", "int", false, 0)] public int _pad; - [DNAFieldAttribute(8, "int", 3, "tilearray_size[2]", "System.Int32[]", false, 4)] + [DNAArrayAttribute(8, "int", 3, "tilearray_size[2]", "System.Int32[]", 2, 4)] public int[] tilearray_size = new System.Int32[2]; public ImageTile_Runtime() { this._pad = default; diff --git a/BlendFile/DNA/ImageView.cs b/BlendFile/DNA/ImageView.cs index 0a7001b..341bb42 100644 --- a/BlendFile/DNA/ImageView.cs +++ b/BlendFile/DNA/ImageView.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public ImageView next; [DNAFieldAttribute(8, "ImageView", 1, "*prev", "ImageView", true, 8)] public ImageView prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(1024, "char", 3, "filepath[1024]", "System.Char[]", false, 80)] + [DNAArrayAttribute(1024, "char", 3, "filepath[1024]", "System.Char[]", 1024, 80)] public char[] filepath = new System.Char[1024]; public ImageView() { this.next = default; diff --git a/BlendFile/DNA/Image_Runtime.cs b/BlendFile/DNA/Image_Runtime.cs index 39dc125..630e42a 100644 --- a/BlendFile/DNA/Image_Runtime.cs +++ b/BlendFile/DNA/Image_Runtime.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public PartialUpdateRegister partial_update_register; [DNAFieldAttribute(8, "PartialUpdateUser", 2, "*partial_update_user", "PartialUpdateUser", true, 16)] public PartialUpdateUser partial_update_user; - [DNAFieldAttribute(8, "float", 3, "backdrop_offset[2]", "System.Single[]", false, 24)] + [DNAArrayAttribute(8, "float", 3, "backdrop_offset[2]", "System.Single[]", 2, 24)] public float[] backdrop_offset = new System.Single[2]; public Image_Runtime() { this.cache_mutex = default; diff --git a/BlendFile/DNA/Ipo.cs b/BlendFile/DNA/Ipo.cs index 91d44e6..c0dee7b 100644 --- a/BlendFile/DNA/Ipo.cs +++ b/BlendFile/DNA/Ipo.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public short showkey; [DNAFieldAttribute(2, "short", 5, "muteipo", "short", false, 244)] public short muteipo; - [DNAFieldAttribute(2, "char", 6, "_pad[2]", "System.Char[]", false, 246)] + [DNAArrayAttribute(2, "char", 6, "_pad[2]", "System.Char[]", 2, 246)] public char[] _pad = new System.Char[2]; public Ipo() { this.id = default; diff --git a/BlendFile/DNA/IpoCurve.cs b/BlendFile/DNA/IpoCurve.cs index 4d73335..1f0ee4d 100644 --- a/BlendFile/DNA/IpoCurve.cs +++ b/BlendFile/DNA/IpoCurve.cs @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public short extrap; [DNAFieldAttribute(2, "short", 12, "flag", "short", false, 76)] public short flag; - [DNAFieldAttribute(2, "char", 13, "_pad0[2]", "System.Char[]", false, 78)] + [DNAArrayAttribute(2, "char", 13, "_pad0[2]", "System.Char[]", 2, 78)] public char[] _pad0 = new System.Char[2]; [DNAFieldAttribute(4, "float", 14, "ymin", "float", false, 80)] public float ymin; diff --git a/BlendFile/DNA/IpoDriver.cs b/BlendFile/DNA/IpoDriver.cs index 4da32ca..3a4165a 100644 --- a/BlendFile/DNA/IpoDriver.cs +++ b/BlendFile/DNA/IpoDriver.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public short type; [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 14)] public short flag; - [DNAFieldAttribute(128, "char", 5, "name[128]", "System.Char[]", false, 16)] + [DNAArrayAttribute(128, "char", 5, "name[128]", "System.Char[]", 128, 16)] public char[] name = new System.Char[128]; public IpoDriver() { this.ob = default; diff --git a/BlendFile/DNA/KS_Path.cs b/BlendFile/DNA/KS_Path.cs index 1507b9b..cb89d00 100644 --- a/BlendFile/DNA/KS_Path.cs +++ b/BlendFile/DNA/KS_Path.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public KS_Path prev; [DNAFieldAttribute(8, "ID", 2, "*id", "ID", true, 16)] public ID id; - [DNAFieldAttribute(64, "char", 3, "group[64]", "System.Char[]", false, 24)] + [DNAArrayAttribute(64, "char", 3, "group[64]", "System.Char[]", 64, 24)] public char[] group = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "idtype", "int", false, 88)] public int idtype; diff --git a/BlendFile/DNA/Key.cs b/BlendFile/DNA/Key.cs index 90e121e..8f9f7e1 100644 --- a/BlendFile/DNA/Key.cs +++ b/BlendFile/DNA/Key.cs @@ -21,11 +21,11 @@ namespace BlendFile.DNA { public AnimData adt; [DNAFieldAttribute(8, "KeyBlock", 2, "*refkey", "KeyBlock", true, 216)] public KeyBlock refkey; - [DNAFieldAttribute(32, "char", 3, "elemstr[32]", "System.Char[]", false, 224)] + [DNAArrayAttribute(32, "char", 3, "elemstr[32]", "System.Char[]", 32, 224)] public char[] elemstr = new System.Char[32]; [DNAFieldAttribute(4, "int", 4, "elemsize", "int", false, 256)] public int elemsize; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 260)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 260)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(16, "ListBase", 6, "block", "ListBase", false, 264)] public ListBase block; diff --git a/BlendFile/DNA/KeyBlock.cs b/BlendFile/DNA/KeyBlock.cs index 93ab796..5f12e86 100644 --- a/BlendFile/DNA/KeyBlock.cs +++ b/BlendFile/DNA/KeyBlock.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float curval; [DNAFieldAttribute(2, "short", 4, "type", "short", false, 24)] public short type; - [DNAFieldAttribute(2, "char", 5, "_pad1[2]", "System.Char[]", false, 26)] + [DNAArrayAttribute(2, "char", 5, "_pad1[2]", "System.Char[]", 2, 26)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(2, "short", 6, "relative", "short", false, 28)] public short relative; @@ -37,9 +37,9 @@ namespace BlendFile.DNA { public int uid; [DNAFieldAttribute(8, "void", 10, "*data", "void", true, 40)] public object data; - [DNAFieldAttribute(64, "char", 11, "name[64]", "System.Char[]", false, 48)] + [DNAArrayAttribute(64, "char", 11, "name[64]", "System.Char[]", 64, 48)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(64, "char", 12, "vgroup[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 12, "vgroup[64]", "System.Char[]", 64, 112)] public char[] vgroup = new System.Char[64]; [DNAFieldAttribute(4, "float", 13, "slidermin", "float", false, 176)] public float slidermin; diff --git a/BlendFile/DNA/KeyingSet.cs b/BlendFile/DNA/KeyingSet.cs index f42b1f4..83b31e5 100644 --- a/BlendFile/DNA/KeyingSet.cs +++ b/BlendFile/DNA/KeyingSet.cs @@ -21,13 +21,13 @@ namespace BlendFile.DNA { public KeyingSet prev; [DNAFieldAttribute(16, "ListBase", 2, "paths", "ListBase", false, 16)] public ListBase paths; - [DNAFieldAttribute(64, "char", 3, "idname[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 3, "idname[64]", "System.Char[]", 64, 32)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 96)] + [DNAArrayAttribute(64, "char", 4, "name[64]", "System.Char[]", 64, 96)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(1024, "char", 5, "description[1024]", "System.Char[]", false, 160)] + [DNAArrayAttribute(1024, "char", 5, "description[1024]", "System.Char[]", 1024, 160)] public char[] description = new System.Char[1024]; - [DNAFieldAttribute(64, "char", 6, "typeinfo[64]", "System.Char[]", false, 1184)] + [DNAArrayAttribute(64, "char", 6, "typeinfo[64]", "System.Char[]", 64, 1184)] public char[] typeinfo = new System.Char[64]; [DNAFieldAttribute(4, "int", 7, "active_path", "int", false, 1248)] public int active_path; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public short keyingflag; [DNAFieldAttribute(2, "short", 10, "keyingoverride", "short", false, 1256)] public short keyingoverride; - [DNAFieldAttribute(6, "char", 11, "_pad[6]", "System.Char[]", false, 1258)] + [DNAArrayAttribute(6, "char", 11, "_pad[6]", "System.Char[]", 6, 1258)] public char[] _pad = new System.Char[6]; public KeyingSet() { this.next = default; diff --git a/BlendFile/DNA/LaplacianDeformModifierData.cs b/BlendFile/DNA/LaplacianDeformModifierData.cs index a1b9c71..9583280 100644 --- a/BlendFile/DNA/LaplacianDeformModifierData.cs +++ b/BlendFile/DNA/LaplacianDeformModifierData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class LaplacianDeformModifierData { [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "anchor_grp_name[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 1, "anchor_grp_name[64]", "System.Char[]", 64, 120)] public char[] anchor_grp_name = new System.Char[64]; [DNAFieldAttribute(4, "int", 2, "total_verts", "int", false, 184)] public int total_verts; @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public object cache_system; [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 208)] public short flag; - [DNAFieldAttribute(6, "char", 7, "_pad[6]", "System.Char[]", false, 210)] + [DNAArrayAttribute(6, "char", 7, "_pad[6]", "System.Char[]", 6, 210)] public char[] _pad = new System.Char[6]; public LaplacianDeformModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/LaplacianSmoothModifierData.cs b/BlendFile/DNA/LaplacianSmoothModifierData.cs index cd64d51..cabaed4 100644 --- a/BlendFile/DNA/LaplacianSmoothModifierData.cs +++ b/BlendFile/DNA/LaplacianSmoothModifierData.cs @@ -21,9 +21,9 @@ namespace BlendFile.DNA { public float lambda; [DNAFieldAttribute(4, "float", 2, "lambda_border", "float", false, 124)] public float lambda_border; - [DNAFieldAttribute(4, "char", 3, "_pad1[4]", "System.Char[]", false, 128)] + [DNAArrayAttribute(4, "char", 3, "_pad1[4]", "System.Char[]", 4, 128)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(64, "char", 4, "defgrp_name[64]", "System.Char[]", false, 132)] + [DNAArrayAttribute(64, "char", 4, "defgrp_name[64]", "System.Char[]", 64, 132)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 196)] public short flag; diff --git a/BlendFile/DNA/Lattice.cs b/BlendFile/DNA/Lattice.cs index 2aa2b45..e9549d5 100644 --- a/BlendFile/DNA/Lattice.cs +++ b/BlendFile/DNA/Lattice.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public short opntsv; [DNAFieldAttribute(2, "short", 8, "opntsw", "short", false, 228)] public short opntsw; - [DNAFieldAttribute(3, "char", 9, "_pad2[3]", "System.Char[]", false, 230)] + [DNAArrayAttribute(3, "char", 9, "_pad2[3]", "System.Char[]", 3, 230)] public char[] _pad2 = new System.Char[3]; [DNAFieldAttribute(1, "char", 10, "typeu", "char", false, 233)] public char typeu; @@ -63,13 +63,13 @@ namespace BlendFile.DNA { public Key key; [DNAFieldAttribute(8, "MDeformVert", 23, "*dvert", "MDeformVert", true, 288)] public MDeformVert dvert; - [DNAFieldAttribute(64, "char", 24, "vgroup[64]", "System.Char[]", false, 296)] + [DNAArrayAttribute(64, "char", 24, "vgroup[64]", "System.Char[]", 64, 296)] public char[] vgroup = new System.Char[64]; [DNAFieldAttribute(16, "ListBase", 25, "vertex_group_names", "ListBase", false, 360)] public ListBase vertex_group_names; [DNAFieldAttribute(4, "int", 26, "vertex_group_active_index", "int", false, 376)] public int vertex_group_active_index; - [DNAFieldAttribute(4, "char", 27, "_pad0[4]", "System.Char[]", false, 380)] + [DNAArrayAttribute(4, "char", 27, "_pad0[4]", "System.Char[]", 4, 380)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(8, "EditLatt", 28, "*editlatt", "EditLatt", true, 384)] public EditLatt editlatt; diff --git a/BlendFile/DNA/LatticeGpencilModifierData.cs b/BlendFile/DNA/LatticeGpencilModifierData.cs index 6b80433..e48d753 100644 --- a/BlendFile/DNA/LatticeGpencilModifierData.cs +++ b/BlendFile/DNA/LatticeGpencilModifierData.cs @@ -21,11 +21,11 @@ namespace BlendFile.DNA { public Object @object; [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] public Material material; - [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 3, "layername[64]", "System.Char[]", 64, 120)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "materialname[64]", "System.Char[]", false, 184)] + [DNAArrayAttribute(64, "char", 4, "materialname[64]", "System.Char[]", 64, 184)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 5, "vgname[64]", "System.Char[]", false, 248)] + [DNAArrayAttribute(64, "char", 5, "vgname[64]", "System.Char[]", 64, 248)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 6, "pass_index", "int", false, 312)] public int pass_index; diff --git a/BlendFile/DNA/LatticeModifierData.cs b/BlendFile/DNA/LatticeModifierData.cs index c926426..2e2bf01 100644 --- a/BlendFile/DNA/LatticeModifierData.cs +++ b/BlendFile/DNA/LatticeModifierData.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] public Object @object; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 128)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 128)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "float", 3, "strength", "float", false, 192)] public float strength; [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 196)] public short flag; - [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 198)] + [DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, 198)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(8, "void", 6, "*_pad1", "void", true, 200)] public object _pad1; diff --git a/BlendFile/DNA/LayerCollection.cs b/BlendFile/DNA/LayerCollection.cs index 0ac5a86..250953d 100644 --- a/BlendFile/DNA/LayerCollection.cs +++ b/BlendFile/DNA/LayerCollection.cs @@ -27,13 +27,13 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 5, "runtime_flag", "short", false, 34)] public short runtime_flag; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 36)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(16, "ListBase", 7, "layer_collections", "ListBase", false, 40)] public ListBase layer_collections; [DNAFieldAttribute(2, "short", 8, "local_collections_bits", "short", false, 56)] public short local_collections_bits; - [DNAFieldAttribute(6, "short", 9, "_pad2[3]", "System.Int16[]", false, 58)] + [DNAArrayAttribute(6, "short", 9, "_pad2[3]", "System.Int16[]", 3, 58)] public short[] _pad2 = new System.Int16[3]; public LayerCollection() { this.next = default; diff --git a/BlendFile/DNA/LayoutPanelState.cs b/BlendFile/DNA/LayoutPanelState.cs index cc4fa43..19d6bb5 100644 --- a/BlendFile/DNA/LayoutPanelState.cs +++ b/BlendFile/DNA/LayoutPanelState.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public char idname; [DNAFieldAttribute(1, "uchar", 3, "flag", "uchar", false, 24)] public byte flag; - [DNAFieldAttribute(7, "char", 4, "_pad[7]", "System.Char[]", false, 25)] + [DNAArrayAttribute(7, "char", 4, "_pad[7]", "System.Char[]", 7, 25)] public char[] _pad = new System.Char[7]; public LayoutPanelState() { this.next = default; diff --git a/BlendFile/DNA/LengthGpencilModifierData.cs b/BlendFile/DNA/LengthGpencilModifierData.cs index 562db90..fc3791d 100644 --- a/BlendFile/DNA/LengthGpencilModifierData.cs +++ b/BlendFile/DNA/LengthGpencilModifierData.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "pass_index", "int", false, 176)] public int pass_index; @@ -45,7 +45,7 @@ namespace BlendFile.DNA { public int step; [DNAFieldAttribute(4, "int", 14, "mode", "int", false, 220)] public int mode; - [DNAFieldAttribute(4, "char", 15, "_pad[4]", "System.Char[]", false, 224)] + [DNAArrayAttribute(4, "char", 15, "_pad[4]", "System.Char[]", 4, 224)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "float", 16, "point_density", "float", false, 228)] public float point_density; diff --git a/BlendFile/DNA/Library.cs b/BlendFile/DNA/Library.cs index 4a488c2..989ce87 100644 --- a/BlendFile/DNA/Library.cs +++ b/BlendFile/DNA/Library.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class Library { [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1024, "char", 1, "name[1024]", "System.Char[]", false, 208)] + [DNAArrayAttribute(1024, "char", 1, "name[1024]", "System.Char[]", 1024, 208)] public char[] name = new System.Char[1024]; [DNAFieldAttribute(8, "PackedFile", 2, "*packedfile", "PackedFile", true, 1232)] public PackedFile packedfile; diff --git a/BlendFile/DNA/LibraryWeakReference.cs b/BlendFile/DNA/LibraryWeakReference.cs index 8fe4068..111a9ea 100644 --- a/BlendFile/DNA/LibraryWeakReference.cs +++ b/BlendFile/DNA/LibraryWeakReference.cs @@ -15,11 +15,11 @@ namespace BlendFile.DNA { [DNAClassAttribute(36, "LibraryWeakReference", 1092)] public class LibraryWeakReference { - [DNAFieldAttribute(1024, "char", 0, "library_filepath[1024]", "System.Char[]", false, 0)] + [DNAArrayAttribute(1024, "char", 0, "library_filepath[1024]", "System.Char[]", 1024, 0)] public char[] library_filepath = new System.Char[1024]; - [DNAFieldAttribute(66, "char", 1, "library_id_name[66]", "System.Char[]", false, 1024)] + [DNAArrayAttribute(66, "char", 1, "library_id_name[66]", "System.Char[]", 66, 1024)] public char[] library_id_name = new System.Char[66]; - [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 1090)] + [DNAArrayAttribute(2, "char", 2, "_pad[2]", "System.Char[]", 2, 1090)] public char[] _pad = new System.Char[2]; public LibraryWeakReference() { this.library_filepath = default; diff --git a/BlendFile/DNA/Library_Runtime.cs b/BlendFile/DNA/Library_Runtime.cs index 225f0f9..20cab65 100644 --- a/BlendFile/DNA/Library_Runtime.cs +++ b/BlendFile/DNA/Library_Runtime.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public UniqueName_Map name_map; [DNAFieldAttribute(8, "FileData", 1, "*filedata", "FileData", true, 8)] public FileData filedata; - [DNAFieldAttribute(1024, "char", 2, "filepath_abs[1024]", "System.Char[]", false, 16)] + [DNAArrayAttribute(1024, "char", 2, "filepath_abs[1024]", "System.Char[]", 1024, 16)] public char[] filepath_abs = new System.Char[1024]; [DNAFieldAttribute(8, "Library", 3, "*parent", "Library", true, 1040)] public Library parent; [DNAFieldAttribute(2, "ushort", 4, "tag", "ushort", false, 1048)] public ushort tag; - [DNAFieldAttribute(6, "char", 5, "_pad[6]", "System.Char[]", false, 1050)] + [DNAArrayAttribute(6, "char", 5, "_pad[6]", "System.Char[]", 6, 1050)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(4, "int", 6, "temp_index", "int", false, 1056)] public int temp_index; diff --git a/BlendFile/DNA/LightCache.cs b/BlendFile/DNA/LightCache.cs index 232375a..dbfba68 100644 --- a/BlendFile/DNA/LightCache.cs +++ b/BlendFile/DNA/LightCache.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public int vis_res; [DNAFieldAttribute(4, "int", 7, "ref_res", "int", false, 28)] public int ref_res; - [DNAFieldAttribute(8, "char", 8, "_pad[4][2]", "System.Char[,]", false, 32)] + [DNAArrayAttribute(8, "char", 8, "_pad[4][2]", "System.Char[,]", 6, 32)] public char[,] _pad = new System.Char[4,2]; [DNAFieldAttribute(32, "LightCacheTexture", 9, "grid_tx", "LightCacheTexture", false, 40)] public LightCacheTexture grid_tx; diff --git a/BlendFile/DNA/LightCacheTexture.cs b/BlendFile/DNA/LightCacheTexture.cs index 2600d60..195db15 100644 --- a/BlendFile/DNA/LightCacheTexture.cs +++ b/BlendFile/DNA/LightCacheTexture.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public GPUTexture tex; [DNAFieldAttribute(8, "char", 1, "*data", "char", true, 8)] public char data; - [DNAFieldAttribute(12, "int", 2, "tex_size[3]", "System.Int32[]", false, 16)] + [DNAArrayAttribute(12, "int", 2, "tex_size[3]", "System.Int32[]", 3, 16)] public int[] tex_size = new System.Int32[3]; [DNAFieldAttribute(1, "char", 3, "data_type", "char", false, 28)] public char data_type; [DNAFieldAttribute(1, "char", 4, "components", "char", false, 29)] public char components; - [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 30)] + [DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, 30)] public char[] _pad = new System.Char[2]; public LightCacheTexture() { this.tex = default; diff --git a/BlendFile/DNA/LightGridCache.cs b/BlendFile/DNA/LightGridCache.cs index f0d03ab..54b8db6 100644 --- a/BlendFile/DNA/LightGridCache.cs +++ b/BlendFile/DNA/LightGridCache.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(354, "LightGridCache", 160)] public class LightGridCache { - [DNAFieldAttribute(64, "float", 0, "mat[4][4]", "System.Single[,]", false, 0)] + [DNAArrayAttribute(64, "float", 0, "mat[4][4]", "System.Single[,]", 8, 0)] public float[,] mat = new System.Single[4,4]; - [DNAFieldAttribute(12, "int", 1, "resolution[3]", "System.Int32[]", false, 64)] + [DNAArrayAttribute(12, "int", 1, "resolution[3]", "System.Int32[]", 3, 64)] public int[] resolution = new System.Int32[3]; [DNAFieldAttribute(4, "int", 2, "offset", "int", false, 76)] public int offset; - [DNAFieldAttribute(12, "float", 3, "corner[3]", "System.Single[]", false, 80)] + [DNAArrayAttribute(12, "float", 3, "corner[3]", "System.Single[]", 3, 80)] public float[] corner = new System.Single[3]; [DNAFieldAttribute(4, "float", 4, "attenuation_scale", "float", false, 92)] public float attenuation_scale; - [DNAFieldAttribute(12, "float", 5, "increment_x[3]", "System.Single[]", false, 96)] + [DNAArrayAttribute(12, "float", 5, "increment_x[3]", "System.Single[]", 3, 96)] public float[] increment_x = new System.Single[3]; [DNAFieldAttribute(4, "float", 6, "attenuation_bias", "float", false, 108)] public float attenuation_bias; - [DNAFieldAttribute(12, "float", 7, "increment_y[3]", "System.Single[]", false, 112)] + [DNAArrayAttribute(12, "float", 7, "increment_y[3]", "System.Single[]", 3, 112)] public float[] increment_y = new System.Single[3]; [DNAFieldAttribute(4, "float", 8, "level_bias", "float", false, 124)] public float level_bias; - [DNAFieldAttribute(12, "float", 9, "increment_z[3]", "System.Single[]", false, 128)] + [DNAArrayAttribute(12, "float", 9, "increment_z[3]", "System.Single[]", 3, 128)] public float[] increment_z = new System.Single[3]; [DNAFieldAttribute(4, "float", 10, "_pad4", "float", false, 140)] public float _pad4; diff --git a/BlendFile/DNA/LightLinkingRuntime.cs b/BlendFile/DNA/LightLinkingRuntime.cs index 83a3738..fa370a0 100644 --- a/BlendFile/DNA/LightLinkingRuntime.cs +++ b/BlendFile/DNA/LightLinkingRuntime.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public byte receiver_light_set; [DNAFieldAttribute(1, "uchar", 3, "blocker_shadow_set", "uchar", false, 17)] public byte blocker_shadow_set; - [DNAFieldAttribute(6, "uchar", 4, "_pad[6]", "System.Byte[]", false, 18)] + [DNAArrayAttribute(6, "uchar", 4, "_pad[6]", "System.Byte[]", 6, 18)] public byte[] _pad = new System.Byte[6]; public LightLinkingRuntime() { this.light_set_membership = default; diff --git a/BlendFile/DNA/LightProbe.cs b/BlendFile/DNA/LightProbe.cs index efb4b00..4aaafbe 100644 --- a/BlendFile/DNA/LightProbe.cs +++ b/BlendFile/DNA/LightProbe.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public char parallax_type; [DNAFieldAttribute(1, "char", 6, "grid_flag", "char", false, 220)] public char grid_flag; - [DNAFieldAttribute(3, "char", 7, "_pad0[3]", "System.Char[]", false, 221)] + [DNAArrayAttribute(3, "char", 7, "_pad0[3]", "System.Char[]", 3, 221)] public char[] _pad0 = new System.Char[3]; [DNAFieldAttribute(4, "float", 8, "distinf", "float", false, 224)] public float distinf; @@ -83,7 +83,7 @@ namespace BlendFile.DNA { public Collection visibility_grp; [DNAFieldAttribute(4, "float", 33, "data_display_size", "float", false, 328)] public float data_display_size; - [DNAFieldAttribute(4, "char", 34, "_pad1[4]", "System.Char[]", false, 332)] + [DNAArrayAttribute(4, "char", 34, "_pad1[4]", "System.Char[]", 4, 332)] public char[] _pad1 = new System.Char[4]; public LightProbe() { this.id = default; diff --git a/BlendFile/DNA/LightProbeBlockData.cs b/BlendFile/DNA/LightProbeBlockData.cs index 316f0ea..363cd28 100644 --- a/BlendFile/DNA/LightProbeBlockData.cs +++ b/BlendFile/DNA/LightProbeBlockData.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(361, "LightProbeBlockData", 16)] public class LightProbeBlockData { - [DNAFieldAttribute(12, "int", 0, "offset[3]", "System.Int32[]", false, 0)] + [DNAArrayAttribute(12, "int", 0, "offset[3]", "System.Int32[]", 3, 0)] public int[] offset = new System.Int32[3]; [DNAFieldAttribute(4, "int", 1, "level", "int", false, 12)] public int level; diff --git a/BlendFile/DNA/LightProbeCache.cs b/BlendFile/DNA/LightProbeCache.cs index b9121ef..fed4a71 100644 --- a/BlendFile/DNA/LightProbeCache.cs +++ b/BlendFile/DNA/LightProbeCache.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(353, "LightProbeCache", 160)] public class LightProbeCache { - [DNAFieldAttribute(12, "float", 0, "position[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "position[3]", "System.Single[]", 3, 0)] public float[] position = new System.Single[3]; [DNAFieldAttribute(4, "float", 1, "parallax_type", "float", false, 12)] public float parallax_type; @@ -23,11 +23,11 @@ namespace BlendFile.DNA { public float attenuation_fac; [DNAFieldAttribute(4, "float", 3, "attenuation_type", "float", false, 20)] public float attenuation_type; - [DNAFieldAttribute(8, "float", 4, "_pad3[2]", "System.Single[]", false, 24)] + [DNAArrayAttribute(8, "float", 4, "_pad3[2]", "System.Single[]", 2, 24)] public float[] _pad3 = new System.Single[2]; - [DNAFieldAttribute(64, "float", 5, "attenuationmat[4][4]", "System.Single[,]", false, 32)] + [DNAArrayAttribute(64, "float", 5, "attenuationmat[4][4]", "System.Single[,]", 8, 32)] public float[,] attenuationmat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 6, "parallaxmat[4][4]", "System.Single[,]", false, 96)] + [DNAArrayAttribute(64, "float", 6, "parallaxmat[4][4]", "System.Single[,]", 8, 96)] public float[,] parallaxmat = new System.Single[4,4]; public LightProbeCache() { this.position = default; diff --git a/BlendFile/DNA/LightProbeGridCacheFrame.cs b/BlendFile/DNA/LightProbeGridCacheFrame.cs index d97510f..96f908f 100644 --- a/BlendFile/DNA/LightProbeGridCacheFrame.cs +++ b/BlendFile/DNA/LightProbeGridCacheFrame.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(362, "LightProbeGridCacheFrame", 168)] public class LightProbeGridCacheFrame { - [DNAFieldAttribute(12, "int", 0, "size[3]", "System.Int32[]", false, 0)] + [DNAArrayAttribute(12, "int", 0, "size[3]", "System.Int32[]", 3, 0)] public int[] size = new System.Int32[3]; [DNAFieldAttribute(4, "int", 1, "data_layout", "int", false, 12)] public int data_layout; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public LightProbeVisibilityData visibility; [DNAFieldAttribute(8, "LightProbeConnectivityData", 8, "connectivity", "LightProbeConnectivityData", false, 144)] public LightProbeConnectivityData connectivity; - [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 152)] + [DNAArrayAttribute(4, "char", 9, "_pad[4]", "System.Char[]", 4, 152)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 10, "surfels_len", "int", false, 156)] public int surfels_len; diff --git a/BlendFile/DNA/LightProbeObjectCache.cs b/BlendFile/DNA/LightProbeObjectCache.cs index 5cd0c6c..95be421 100644 --- a/BlendFile/DNA/LightProbeObjectCache.cs +++ b/BlendFile/DNA/LightProbeObjectCache.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public char shared; [DNAFieldAttribute(1, "char", 2, "dirty", "char", false, 5)] public char dirty; - [DNAFieldAttribute(2, "char", 3, "_pad0[2]", "System.Char[]", false, 6)] + [DNAArrayAttribute(2, "char", 3, "_pad0[2]", "System.Char[]", 2, 6)] public char[] _pad0 = new System.Char[2]; [DNAFieldAttribute(8, "LightProbeGridCacheFrame", 4, "*grid_static_cache", "LightProbeGridCacheFrame", true, 8)] public LightProbeGridCacheFrame grid_static_cache; diff --git a/BlendFile/DNA/LightgroupMembership.cs b/BlendFile/DNA/LightgroupMembership.cs index 027f1f6..dceaa62 100644 --- a/BlendFile/DNA/LightgroupMembership.cs +++ b/BlendFile/DNA/LightgroupMembership.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(347, "LightgroupMembership", 64)] public class LightgroupMembership { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; public LightgroupMembership() { this.name = default; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs b/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs index a1937b8..d36b6fc 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_AlongStroke.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public CurveMapping curve; [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 108)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_AlongStroke() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs b/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs index 444c692..3c70b70 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_CreaseAngle.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float min_angle; [DNAFieldAttribute(4, "float", 4, "max_angle", "float", false, 112)] public float max_angle; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 116)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_CreaseAngle() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs b/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs index d131766..6860ff5 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Curvature_3D.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float min_curvature; [DNAFieldAttribute(4, "float", 4, "max_curvature", "float", false, 112)] public float max_curvature; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 116)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_Curvature_3D() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs index 7f20389..84383f5 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromCamera.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float range_min; [DNAFieldAttribute(4, "float", 4, "range_max", "float", false, 112)] public float range_max; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 116)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_DistanceFromCamera() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs index ad9d827..b43bb42 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_DistanceFromObject.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public float range_min; [DNAFieldAttribute(4, "float", 5, "range_max", "float", false, 120)] public float range_max; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 124)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_DistanceFromObject() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs b/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs index 13826e6..d6f1f3a 100644 --- a/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs +++ b/BlendFile/DNA/LineStyleAlphaModifier_Tangent.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public CurveMapping curve; [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 108)] public char[] _pad = new System.Char[4]; public LineStyleAlphaModifier_Tangent() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleColorModifier_Noise.cs b/BlendFile/DNA/LineStyleColorModifier_Noise.cs index 4abd9ab..6c9d065 100644 --- a/BlendFile/DNA/LineStyleColorModifier_Noise.cs +++ b/BlendFile/DNA/LineStyleColorModifier_Noise.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float amplitude; [DNAFieldAttribute(4, "int", 4, "seed", "int", false, 112)] public int seed; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 116)] public char[] _pad = new System.Char[4]; public LineStyleColorModifier_Noise() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs b/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs index 158e03e..db16d84 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_2DTransform.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public float pivot_x; [DNAFieldAttribute(4, "float", 7, "pivot_y", "float", false, 120)] public float pivot_y; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 124)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_2DTransform() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs b/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs index 713bfcd..67853ec 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_BackboneStretcher.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public LineStyleModifier modifier; [DNAFieldAttribute(4, "float", 1, "backbone_length", "float", false, 96)] public float backbone_length; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_BackboneStretcher() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs b/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs index b9555cf..3aad98e 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_BezierCurve.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public LineStyleModifier modifier; [DNAFieldAttribute(4, "float", 1, "error", "float", false, 96)] public float error; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_BezierCurve() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs b/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs index 4abb208..3f648f3 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_GuidingLines.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public LineStyleModifier modifier; [DNAFieldAttribute(4, "float", 1, "offset", "float", false, 96)] public float offset; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_GuidingLines() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs index 4dbc09c..2a7dd61 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise1D.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int octaves; [DNAFieldAttribute(4, "int", 5, "seed", "int", false, 112)] public int seed; - [DNAFieldAttribute(4, "char", 6, "_pad1[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 6, "_pad1[4]", "System.Char[]", 4, 116)] public char[] _pad1 = new System.Char[4]; public LineStyleGeometryModifier_PerlinNoise1D() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs index 8cc4f44..4da86c5 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_PerlinNoise2D.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int octaves; [DNAFieldAttribute(4, "int", 5, "seed", "int", false, 112)] public int seed; - [DNAFieldAttribute(4, "char", 6, "_pad1[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 6, "_pad1[4]", "System.Char[]", 4, 116)] public char[] _pad1 = new System.Char[4]; public LineStyleGeometryModifier_PerlinNoise2D() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs b/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs index 0a5bb47..567fcce 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Polygonalization.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public LineStyleModifier modifier; [DNAFieldAttribute(4, "float", 1, "error", "float", false, 96)] public float error; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_Polygonalization() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs b/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs index 54c2a5d..0f2f0bd 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Sampling.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public LineStyleModifier modifier; [DNAFieldAttribute(4, "float", 1, "sampling", "float", false, 96)] public float sampling; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_Sampling() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs b/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs index 7f8a2b6..7b1f7d6 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_Simplification.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public LineStyleModifier modifier; [DNAFieldAttribute(4, "float", 1, "tolerance", "float", false, 96)] public float tolerance; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_Simplification() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs b/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs index 41d8f89..7a7ef7f 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_SinusDisplacement.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public float amplitude; [DNAFieldAttribute(4, "float", 3, "phase", "float", false, 104)] public float phase; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 108)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_SinusDisplacement() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs b/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs index 51a0d37..7ea9041 100644 --- a/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs +++ b/BlendFile/DNA/LineStyleGeometryModifier_TipRemover.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public LineStyleModifier modifier; [DNAFieldAttribute(4, "float", 1, "tip_length", "float", false, 96)] public float tip_length; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 100)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 100)] public char[] _pad = new System.Char[4]; public LineStyleGeometryModifier_TipRemover() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleModifier.cs b/BlendFile/DNA/LineStyleModifier.cs index 95abdf4..8e97112 100644 --- a/BlendFile/DNA/LineStyleModifier.cs +++ b/BlendFile/DNA/LineStyleModifier.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public LineStyleModifier next; [DNAFieldAttribute(8, "LineStyleModifier", 1, "*prev", "LineStyleModifier", true, 8)] public LineStyleModifier prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "type", "int", false, 80)] public int type; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs b/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs index 4d80d07..77b5884 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_AlongStroke.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float value_min; [DNAFieldAttribute(4, "float", 4, "value_max", "float", false, 112)] public float value_max; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 116)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_AlongStroke() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs b/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs index a6e11f9..c1bc3d6 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Calligraphy.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public float max_thickness; [DNAFieldAttribute(4, "float", 3, "orientation", "float", false, 104)] public float orientation; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 108)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_Calligraphy() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs b/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs index d30978b..5968230 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_CreaseAngle.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public CurveMapping curve; [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 108)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "float", 4, "min_angle", "float", false, 112)] public float min_angle; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs b/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs index 9aaefc5..4d9de71 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Curvature_3D.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public CurveMapping curve; [DNAFieldAttribute(4, "int", 2, "flags", "int", false, 104)] public int flags; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 108)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "float", 4, "min_curvature", "float", false, 112)] public float min_curvature; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs index ff1e375..d5e543c 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromCamera.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public float value_min; [DNAFieldAttribute(4, "float", 6, "value_max", "float", false, 120)] public float value_max; - [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 7, "_pad[4]", "System.Char[]", 4, 124)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_DistanceFromCamera() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs index df801dd..d10c01f 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_DistanceFromObject.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public float value_min; [DNAFieldAttribute(4, "float", 7, "value_max", "float", false, 128)] public float value_max; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 132)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 132)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_DistanceFromObject() { this.modifier = default; diff --git a/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs b/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs index b65dbeb..0e69b46 100644 --- a/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs +++ b/BlendFile/DNA/LineStyleThicknessModifier_Tangent.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float min_thickness; [DNAFieldAttribute(4, "float", 4, "max_thickness", "float", false, 112)] public float max_thickness; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 116)] public char[] _pad = new System.Char[4]; public LineStyleThicknessModifier_Tangent() { this.modifier = default; diff --git a/BlendFile/DNA/LineartGpencilModifierData.cs b/BlendFile/DNA/LineartGpencilModifierData.cs index cbc9282..983d6f4 100644 --- a/BlendFile/DNA/LineartGpencilModifierData.cs +++ b/BlendFile/DNA/LineartGpencilModifierData.cs @@ -37,11 +37,11 @@ namespace BlendFile.DNA { public Collection source_collection; [DNAFieldAttribute(8, "Material", 10, "*target_material", "Material", true, 144)] public Material target_material; - [DNAFieldAttribute(64, "char", 11, "target_layer[64]", "System.Char[]", false, 152)] + [DNAArrayAttribute(64, "char", 11, "target_layer[64]", "System.Char[]", 64, 152)] public char[] target_layer = new System.Char[64]; - [DNAFieldAttribute(64, "char", 12, "source_vertex_group[64]", "System.Char[]", false, 216)] + [DNAArrayAttribute(64, "char", 12, "source_vertex_group[64]", "System.Char[]", 64, 216)] public char[] source_vertex_group = new System.Char[64]; - [DNAFieldAttribute(64, "char", 13, "vgname[64]", "System.Char[]", false, 280)] + [DNAArrayAttribute(64, "char", 13, "vgname[64]", "System.Char[]", 64, 280)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "float", 14, "overscan", "float", false, 344)] public float overscan; @@ -67,7 +67,7 @@ namespace BlendFile.DNA { public char shadow_selection; [DNAFieldAttribute(1, "char", 25, "silhouette_selection", "char", false, 374)] public char silhouette_selection; - [DNAFieldAttribute(1, "char", 26, "_pad[1]", "System.Char[]", false, 375)] + [DNAArrayAttribute(1, "char", 26, "_pad[1]", "System.Char[]", 1, 375)] public char[] _pad = new System.Char[1]; [DNAFieldAttribute(4, "float", 27, "crease_threshold", "float", false, 376)] public float crease_threshold; @@ -93,7 +93,7 @@ namespace BlendFile.DNA { public char shadow_selection_override; [DNAFieldAttribute(1, "char", 38, "shadow_use_silhouette_override", "char", false, 409)] public char shadow_use_silhouette_override; - [DNAFieldAttribute(6, "char", 39, "_pad2[6]", "System.Char[]", false, 410)] + [DNAArrayAttribute(6, "char", 39, "_pad2[6]", "System.Char[]", 6, 410)] public char[] _pad2 = new System.Char[6]; [DNAFieldAttribute(8, "LineartCache", 40, "*cache", "LineartCache", true, 416)] public LineartCache cache; diff --git a/BlendFile/DNA/MLoopUV.cs b/BlendFile/DNA/MLoopUV.cs index 1b3b8e7..2c36daa 100644 --- a/BlendFile/DNA/MLoopUV.cs +++ b/BlendFile/DNA/MLoopUV.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(439, "MLoopUV", 12)] public class MLoopUV { - [DNAFieldAttribute(8, "float", 0, "uv[2]", "System.Single[]", false, 0)] + [DNAArrayAttribute(8, "float", 0, "uv[2]", "System.Single[]", 2, 0)] public float[] uv = new System.Single[2]; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; diff --git a/BlendFile/DNA/MPropCol.cs b/BlendFile/DNA/MPropCol.cs index a71b1ed..ab6260d 100644 --- a/BlendFile/DNA/MPropCol.cs +++ b/BlendFile/DNA/MPropCol.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(434, "MPropCol", 16)] public class MPropCol { - [DNAFieldAttribute(16, "float", 0, "color[4]", "System.Single[]", false, 0)] + [DNAArrayAttribute(16, "float", 0, "color[4]", "System.Single[]", 4, 0)] public float[] color = new System.Single[4]; public MPropCol() { this.color = default; diff --git a/BlendFile/DNA/MStringProperty.cs b/BlendFile/DNA/MStringProperty.cs index 165259a..a403133 100644 --- a/BlendFile/DNA/MStringProperty.cs +++ b/BlendFile/DNA/MStringProperty.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(428, "MStringProperty", 256)] public class MStringProperty { - [DNAFieldAttribute(255, "char", 0, "s[255]", "System.Char[]", false, 0)] + [DNAArrayAttribute(255, "char", 0, "s[255]", "System.Char[]", 255, 0)] public char[] s = new System.Char[255]; [DNAFieldAttribute(1, "char", 1, "s_len", "char", false, 255)] public char s_len; diff --git a/BlendFile/DNA/MTFace.cs b/BlendFile/DNA/MTFace.cs index d7c7da2..6696023 100644 --- a/BlendFile/DNA/MTFace.cs +++ b/BlendFile/DNA/MTFace.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(421, "MTFace", 32)] public class MTFace { - [DNAFieldAttribute(32, "float", 0, "uv[4][2]", "System.Single[,]", false, 0)] + [DNAArrayAttribute(32, "float", 0, "uv[4][2]", "System.Single[,]", 6, 0)] public float[,] uv = new System.Single[4,2]; public MTFace() { this.uv = default; diff --git a/BlendFile/DNA/MTex.cs b/BlendFile/DNA/MTex.cs index 4b59ea2..8ce8206 100644 --- a/BlendFile/DNA/MTex.cs +++ b/BlendFile/DNA/MTex.cs @@ -21,13 +21,13 @@ namespace BlendFile.DNA { public short mapto; [DNAFieldAttribute(2, "short", 2, "blendtype", "short", false, 4)] public short blendtype; - [DNAFieldAttribute(2, "char", 3, "_pad2[2]", "System.Char[]", false, 6)] + [DNAArrayAttribute(2, "char", 3, "_pad2[2]", "System.Char[]", 2, 6)] public char[] _pad2 = new System.Char[2]; [DNAFieldAttribute(8, "Object", 4, "*object", "Object", true, 8)] public Object @object; [DNAFieldAttribute(8, "Tex", 5, "*tex", "Tex", true, 16)] public Tex tex; - [DNAFieldAttribute(68, "char", 6, "uvname[68]", "System.Char[]", false, 24)] + [DNAArrayAttribute(68, "char", 6, "uvname[68]", "System.Char[]", 68, 24)] public char[] uvname = new System.Char[68]; [DNAFieldAttribute(1, "char", 7, "projx", "char", false, 92)] public char projx; @@ -43,9 +43,9 @@ namespace BlendFile.DNA { public char brush_angle_mode; [DNAFieldAttribute(2, "short", 13, "which_output", "short", false, 98)] public short which_output; - [DNAFieldAttribute(12, "float", 14, "ofs[3]", "System.Single[]", false, 100)] + [DNAArrayAttribute(12, "float", 14, "ofs[3]", "System.Single[]", 3, 100)] public float[] ofs = new System.Single[3]; - [DNAFieldAttribute(12, "float", 15, "size[3]", "System.Single[]", false, 112)] + [DNAArrayAttribute(12, "float", 15, "size[3]", "System.Single[]", 3, 112)] public float[] size = new System.Single[3]; [DNAFieldAttribute(4, "float", 16, "rot", "float", false, 124)] public float rot; diff --git a/BlendFile/DNA/MVert.cs b/BlendFile/DNA/MVert.cs index 32e6c2f..546d1c7 100644 --- a/BlendFile/DNA/MVert.cs +++ b/BlendFile/DNA/MVert.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(419, "MVert", 16)] public class MVert { - [DNAFieldAttribute(12, "float", 0, "co[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "co[3]", "System.Single[]", 3, 0)] public float[] co = new System.Single[3]; [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 12)] public char flag; [DNAFieldAttribute(1, "char", 2, "bweight", "char", false, 13)] public char bweight; - [DNAFieldAttribute(2, "char", 3, "_pad[2]", "System.Char[]", false, 14)] + [DNAArrayAttribute(2, "char", 3, "_pad[2]", "System.Char[]", 2, 14)] public char[] _pad = new System.Char[2]; public MVert() { this.co = default; diff --git a/BlendFile/DNA/MVertSkin.cs b/BlendFile/DNA/MVertSkin.cs index 75e1e71..ef21edc 100644 --- a/BlendFile/DNA/MVertSkin.cs +++ b/BlendFile/DNA/MVertSkin.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(432, "MVertSkin", 16)] public class MVertSkin { - [DNAFieldAttribute(12, "float", 0, "radius[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "radius[3]", "System.Single[]", 3, 0)] public float[] radius = new System.Single[3]; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 12)] public int flag; diff --git a/BlendFile/DNA/MappingInfoModifierData.cs b/BlendFile/DNA/MappingInfoModifierData.cs index ffbe10e..329a996 100644 --- a/BlendFile/DNA/MappingInfoModifierData.cs +++ b/BlendFile/DNA/MappingInfoModifierData.cs @@ -21,11 +21,11 @@ namespace BlendFile.DNA { public Tex texture; [DNAFieldAttribute(8, "Object", 2, "*map_object", "Object", true, 128)] public Object map_object; - [DNAFieldAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", false, 136)] + [DNAArrayAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", 64, 136)] public char[] map_bone = new System.Char[64]; - [DNAFieldAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", false, 200)] + [DNAArrayAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", 68, 200)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", 4, 268)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "int", 6, "uvlayer_tmp", "int", false, 272)] public int uvlayer_tmp; diff --git a/BlendFile/DNA/Mask.cs b/BlendFile/DNA/Mask.cs index bc0e244..9442db2 100644 --- a/BlendFile/DNA/Mask.cs +++ b/BlendFile/DNA/Mask.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public int efra; [DNAFieldAttribute(4, "int", 8, "flag", "int", false, 264)] public int flag; - [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 9, "_pad[4]", "System.Char[]", 4, 268)] public char[] _pad = new System.Char[4]; public Mask() { this.id = default; diff --git a/BlendFile/DNA/MaskLayer.cs b/BlendFile/DNA/MaskLayer.cs index fb8a3ee..2a3f21d 100644 --- a/BlendFile/DNA/MaskLayer.cs +++ b/BlendFile/DNA/MaskLayer.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public MaskLayer next; [DNAFieldAttribute(8, "MaskLayer", 1, "*prev", "MaskLayer", true, 8)] public MaskLayer prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(16, "ListBase", 3, "splines", "ListBase", false, 80)] public ListBase splines; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public char blend_flag; [DNAFieldAttribute(1, "char", 10, "falloff", "char", false, 134)] public char falloff; - [DNAFieldAttribute(7, "char", 11, "_pad[7]", "System.Char[]", false, 135)] + [DNAArrayAttribute(7, "char", 11, "_pad[7]", "System.Char[]", 7, 135)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(1, "char", 12, "flag", "char", false, 142)] public char flag; diff --git a/BlendFile/DNA/MaskLayerShape.cs b/BlendFile/DNA/MaskLayerShape.cs index a27afeb..17fc1a4 100644 --- a/BlendFile/DNA/MaskLayerShape.cs +++ b/BlendFile/DNA/MaskLayerShape.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int frame; [DNAFieldAttribute(1, "char", 5, "flag", "char", false, 32)] public char flag; - [DNAFieldAttribute(7, "char", 6, "_pad[7]", "System.Char[]", false, 33)] + [DNAArrayAttribute(7, "char", 6, "_pad[7]", "System.Char[]", 7, 33)] public char[] _pad = new System.Char[7]; public MaskLayerShape() { this.next = default; diff --git a/BlendFile/DNA/MaskModifierData.cs b/BlendFile/DNA/MaskModifierData.cs index 312ace1..60a29bc 100644 --- a/BlendFile/DNA/MaskModifierData.cs +++ b/BlendFile/DNA/MaskModifierData.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(8, "Object", 1, "*ob_arm", "Object", true, 120)] public Object ob_arm; - [DNAFieldAttribute(64, "char", 2, "vgroup[64]", "System.Char[]", false, 128)] + [DNAArrayAttribute(64, "char", 2, "vgroup[64]", "System.Char[]", 64, 128)] public char[] vgroup = new System.Char[64]; [DNAFieldAttribute(2, "short", 3, "mode", "short", false, 192)] public short mode; diff --git a/BlendFile/DNA/MaskParent.cs b/BlendFile/DNA/MaskParent.cs index a5f1bd0..ad4d21a 100644 --- a/BlendFile/DNA/MaskParent.cs +++ b/BlendFile/DNA/MaskParent.cs @@ -21,13 +21,13 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(8, "ID", 2, "*id", "ID", true, 8)] public ID id; - [DNAFieldAttribute(64, "char", 3, "parent[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 3, "parent[64]", "System.Char[]", 64, 16)] public char[] parent = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "sub_parent[64]", "System.Char[]", false, 80)] + [DNAArrayAttribute(64, "char", 4, "sub_parent[64]", "System.Char[]", 64, 80)] public char[] sub_parent = new System.Char[64]; - [DNAFieldAttribute(8, "float", 5, "parent_orig[2]", "System.Single[]", false, 144)] + [DNAArrayAttribute(8, "float", 5, "parent_orig[2]", "System.Single[]", 2, 144)] public float[] parent_orig = new System.Single[2]; - [DNAFieldAttribute(32, "float", 6, "parent_corners_orig[4][2]", "System.Single[,]", false, 152)] + [DNAArrayAttribute(32, "float", 6, "parent_corners_orig[4][2]", "System.Single[,]", 6, 152)] public float[,] parent_corners_orig = new System.Single[4,2]; public MaskParent() { this.id_type = default; diff --git a/BlendFile/DNA/MaskSpaceInfo.cs b/BlendFile/DNA/MaskSpaceInfo.cs index 140983e..e121542 100644 --- a/BlendFile/DNA/MaskSpaceInfo.cs +++ b/BlendFile/DNA/MaskSpaceInfo.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public char draw_type; [DNAFieldAttribute(1, "char", 3, "overlay_mode", "char", false, 10)] public char overlay_mode; - [DNAFieldAttribute(1, "char", 4, "_pad3[1]", "System.Char[]", false, 11)] + [DNAArrayAttribute(1, "char", 4, "_pad3[1]", "System.Char[]", 1, 11)] public char[] _pad3 = new System.Char[1]; [DNAFieldAttribute(4, "float", 5, "blend_factor", "float", false, 12)] public float blend_factor; diff --git a/BlendFile/DNA/MaskSplinePoint.cs b/BlendFile/DNA/MaskSplinePoint.cs index 96c52c8..d6493ab 100644 --- a/BlendFile/DNA/MaskSplinePoint.cs +++ b/BlendFile/DNA/MaskSplinePoint.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class MaskSplinePoint { [DNAFieldAttribute(72, "BezTriple", 0, "bezt", "BezTriple", false, 0)] public BezTriple bezt; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 72)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 72)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 2, "tot_uw", "int", false, 76)] public int tot_uw; diff --git a/BlendFile/DNA/Material.cs b/BlendFile/DNA/Material.cs index 05e0f3d..c65d32a 100644 --- a/BlendFile/DNA/Material.cs +++ b/BlendFile/DNA/Material.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(1, "char", 3, "surface_render_method", "char", false, 218)] public char surface_render_method; - [DNAFieldAttribute(1, "char", 4, "_pad1[1]", "System.Char[]", false, 219)] + [DNAArrayAttribute(1, "char", 4, "_pad1[1]", "System.Char[]", 1, 219)] public char[] _pad1 = new System.Char[1]; [DNAFieldAttribute(4, "float", 5, "r", "float", false, 220)] public float r; @@ -67,7 +67,7 @@ namespace BlendFile.DNA { public Ipo ipo; [DNAFieldAttribute(8, "PreviewImage", 25, "*preview", "PreviewImage", true, 296)] public PreviewImage preview; - [DNAFieldAttribute(16, "float", 26, "line_col[4]", "System.Single[]", false, 304)] + [DNAArrayAttribute(16, "float", 26, "line_col[4]", "System.Single[]", 4, 304)] public float[] line_col = new System.Single[4]; [DNAFieldAttribute(2, "short", 27, "line_priority", "short", false, 320)] public short line_priority; @@ -97,7 +97,7 @@ namespace BlendFile.DNA { public char volume_intersection_method; [DNAFieldAttribute(4, "float", 40, "inflate_bounds", "float", false, 344)] public float inflate_bounds; - [DNAFieldAttribute(4, "char", 41, "_pad3[4]", "System.Char[]", false, 348)] + [DNAArrayAttribute(4, "char", 41, "_pad3[4]", "System.Char[]", 4, 348)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(8, "TexPaintSlot", 42, "*texpaintslot", "TexPaintSlot", true, 352)] public TexPaintSlot texpaintslot; diff --git a/BlendFile/DNA/MaterialGPencilStyle.cs b/BlendFile/DNA/MaterialGPencilStyle.cs index 1935608..331bd37 100644 --- a/BlendFile/DNA/MaterialGPencilStyle.cs +++ b/BlendFile/DNA/MaterialGPencilStyle.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public Image sima; [DNAFieldAttribute(8, "Image", 1, "*ima", "Image", true, 8)] public Image ima; - [DNAFieldAttribute(16, "float", 2, "stroke_rgba[4]", "System.Single[]", false, 16)] + [DNAArrayAttribute(16, "float", 2, "stroke_rgba[4]", "System.Single[]", 4, 16)] public float[] stroke_rgba = new System.Single[4]; - [DNAFieldAttribute(16, "float", 3, "fill_rgba[4]", "System.Single[]", false, 32)] + [DNAArrayAttribute(16, "float", 3, "fill_rgba[4]", "System.Single[]", 4, 32)] public float[] fill_rgba = new System.Single[4]; - [DNAFieldAttribute(16, "float", 4, "mix_rgba[4]", "System.Single[]", false, 48)] + [DNAArrayAttribute(16, "float", 4, "mix_rgba[4]", "System.Single[]", 4, 48)] public float[] mix_rgba = new System.Single[4]; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 64)] public short flag; @@ -39,17 +39,17 @@ namespace BlendFile.DNA { public float gradient_angle; [DNAFieldAttribute(4, "float", 11, "gradient_radius", "float", false, 80)] public float gradient_radius; - [DNAFieldAttribute(4, "char", 12, "_pad2[4]", "System.Char[]", false, 84)] + [DNAArrayAttribute(4, "char", 12, "_pad2[4]", "System.Char[]", 4, 84)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(8, "float", 13, "gradient_scale[2]", "System.Single[]", false, 88)] + [DNAArrayAttribute(8, "float", 13, "gradient_scale[2]", "System.Single[]", 2, 88)] public float[] gradient_scale = new System.Single[2]; - [DNAFieldAttribute(8, "float", 14, "gradient_shift[2]", "System.Single[]", false, 96)] + [DNAArrayAttribute(8, "float", 14, "gradient_shift[2]", "System.Single[]", 2, 96)] public float[] gradient_shift = new System.Single[2]; [DNAFieldAttribute(4, "float", 15, "texture_angle", "float", false, 104)] public float texture_angle; - [DNAFieldAttribute(8, "float", 16, "texture_scale[2]", "System.Single[]", false, 108)] + [DNAArrayAttribute(8, "float", 16, "texture_scale[2]", "System.Single[]", 2, 108)] public float[] texture_scale = new System.Single[2]; - [DNAFieldAttribute(8, "float", 17, "texture_offset[2]", "System.Single[]", false, 116)] + [DNAArrayAttribute(8, "float", 17, "texture_offset[2]", "System.Single[]", 2, 116)] public float[] texture_offset = new System.Single[2]; [DNAFieldAttribute(4, "float", 18, "texture_opacity", "float", false, 124)] public float texture_opacity; diff --git a/BlendFile/DNA/Mesh.cs b/BlendFile/DNA/Mesh.cs index 0e3ced2..f249f5d 100644 --- a/BlendFile/DNA/Mesh.cs +++ b/BlendFile/DNA/Mesh.cs @@ -57,9 +57,9 @@ namespace BlendFile.DNA { public int act_face; [DNAFieldAttribute(8, "Mesh", 20, "*texcomesh", "Mesh", true, 1296)] public Mesh texcomesh; - [DNAFieldAttribute(12, "float", 21, "loc[3]", "System.Single[]", false, 1304)] + [DNAArrayAttribute(12, "float", 21, "loc[3]", "System.Single[]", 3, 1304)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 22, "size[3]", "System.Single[]", false, 1316)] + [DNAArrayAttribute(12, "float", 22, "size[3]", "System.Single[]", 3, 1316)] public float[] size = new System.Single[3]; [DNAFieldAttribute(1, "char", 23, "texflag", "char", false, 1328)] public char texflag; @@ -117,7 +117,7 @@ namespace BlendFile.DNA { public CustomData fdata; [DNAFieldAttribute(4, "int", 50, "totface", "int", false, 1696)] public int totface; - [DNAFieldAttribute(4, "char", 51, "_pad1[4]", "System.Char[]", false, 1700)] + [DNAArrayAttribute(4, "char", 51, "_pad1[4]", "System.Char[]", 4, 1700)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "MeshRuntimeHandle", 52, "*runtime", "MeshRuntimeHandle", true, 1704)] public MeshRuntimeHandle runtime; diff --git a/BlendFile/DNA/MeshCacheModifierData.cs b/BlendFile/DNA/MeshCacheModifierData.cs index 02d6949..108c395 100644 --- a/BlendFile/DNA/MeshCacheModifierData.cs +++ b/BlendFile/DNA/MeshCacheModifierData.cs @@ -37,9 +37,9 @@ namespace BlendFile.DNA { public float factor; [DNAFieldAttribute(1, "char", 10, "deform_mode", "char", false, 132)] public char deform_mode; - [DNAFieldAttribute(64, "char", 11, "defgrp_name[64]", "System.Char[]", false, 133)] + [DNAArrayAttribute(64, "char", 11, "defgrp_name[64]", "System.Char[]", 64, 133)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(7, "char", 12, "_pad[7]", "System.Char[]", false, 197)] + [DNAArrayAttribute(7, "char", 12, "_pad[7]", "System.Char[]", 7, 197)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(4, "float", 13, "frame_start", "float", false, 204)] public float frame_start; @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public float eval_time; [DNAFieldAttribute(4, "float", 17, "eval_factor", "float", false, 220)] public float eval_factor; - [DNAFieldAttribute(1024, "char", 18, "filepath[1024]", "System.Char[]", false, 224)] + [DNAArrayAttribute(1024, "char", 18, "filepath[1024]", "System.Char[]", 1024, 224)] public char[] filepath = new System.Char[1024]; public MeshCacheModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/MeshDeformModifierData.cs b/BlendFile/DNA/MeshDeformModifierData.cs index 9ffd36b..84c8649 100644 --- a/BlendFile/DNA/MeshDeformModifierData.cs +++ b/BlendFile/DNA/MeshDeformModifierData.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 120)] public Object @object; - [DNAFieldAttribute(64, "char", 2, "defgrp_name[64]", "System.Char[]", false, 128)] + [DNAArrayAttribute(64, "char", 2, "defgrp_name[64]", "System.Char[]", 64, 128)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(2, "short", 3, "gridsize", "short", false, 192)] public short gridsize; [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 194)] public short flag; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 196)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 196)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "MDefInfluence", 6, "*bindinfluences", "MDefInfluence", true, 200)] public MDefInfluence bindinfluences; @@ -47,11 +47,11 @@ namespace BlendFile.DNA { public int dyngridsize; [DNAFieldAttribute(4, "int", 15, "totinfluence", "int", false, 260)] public int totinfluence; - [DNAFieldAttribute(12, "float", 16, "dyncellmin[3]", "System.Single[]", false, 264)] + [DNAArrayAttribute(12, "float", 16, "dyncellmin[3]", "System.Single[]", 3, 264)] public float[] dyncellmin = new System.Single[3]; [DNAFieldAttribute(4, "float", 17, "dyncellwidth", "float", false, 276)] public float dyncellwidth; - [DNAFieldAttribute(64, "float", 18, "bindmat[4][4]", "System.Single[,]", false, 280)] + [DNAArrayAttribute(64, "float", 18, "bindmat[4][4]", "System.Single[,]", 8, 280)] public float[,] bindmat = new System.Single[4,4]; [DNAFieldAttribute(8, "float", 19, "*bindweights", "float", true, 344)] public float bindweights; diff --git a/BlendFile/DNA/MeshSeqCacheModifierData.cs b/BlendFile/DNA/MeshSeqCacheModifierData.cs index f38d1ce..6c09bc9 100644 --- a/BlendFile/DNA/MeshSeqCacheModifierData.cs +++ b/BlendFile/DNA/MeshSeqCacheModifierData.cs @@ -19,17 +19,17 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(8, "CacheFile", 1, "*cache_file", "CacheFile", true, 120)] public CacheFile cache_file; - [DNAFieldAttribute(1024, "char", 2, "object_path[1024]", "System.Char[]", false, 128)] + [DNAArrayAttribute(1024, "char", 2, "object_path[1024]", "System.Char[]", 1024, 128)] public char[] object_path = new System.Char[1024]; [DNAFieldAttribute(1, "char", 3, "read_flag", "char", false, 1152)] public char read_flag; - [DNAFieldAttribute(3, "char", 4, "_pad[3]", "System.Char[]", false, 1153)] + [DNAArrayAttribute(3, "char", 4, "_pad[3]", "System.Char[]", 3, 1153)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "float", 5, "velocity_scale", "float", false, 1156)] public float velocity_scale; [DNAFieldAttribute(8, "CacheReader", 6, "*reader", "CacheReader", true, 1160)] public CacheReader reader; - [DNAFieldAttribute(1024, "char", 7, "reader_object_path[1024]", "System.Char[]", false, 1168)] + [DNAArrayAttribute(1024, "char", 7, "reader_object_path[1024]", "System.Char[]", 1024, 1168)] public char[] reader_object_path = new System.Char[1024]; public MeshSeqCacheModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/MeshStatVis.cs b/BlendFile/DNA/MeshStatVis.cs index 9304db0..a10cbe5 100644 --- a/BlendFile/DNA/MeshStatVis.cs +++ b/BlendFile/DNA/MeshStatVis.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class MeshStatVis { [DNAFieldAttribute(1, "char", 0, "type", "char", false, 0)] public char type; - [DNAFieldAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", false, 1)] + [DNAArrayAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", 2, 1)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(1, "char", 2, "overhang_axis", "char", false, 3)] public char overhang_axis; @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public float thickness_max; [DNAFieldAttribute(1, "char", 7, "thickness_samples", "char", false, 20)] public char thickness_samples; - [DNAFieldAttribute(3, "char", 8, "_pad2[3]", "System.Char[]", false, 21)] + [DNAArrayAttribute(3, "char", 8, "_pad2[3]", "System.Char[]", 3, 21)] public char[] _pad2 = new System.Char[3]; [DNAFieldAttribute(4, "float", 9, "distort_min", "float", false, 24)] public float distort_min; diff --git a/BlendFile/DNA/MeshToVolumeModifierData.cs b/BlendFile/DNA/MeshToVolumeModifierData.cs index 0c3e1fb..7d24e38 100644 --- a/BlendFile/DNA/MeshToVolumeModifierData.cs +++ b/BlendFile/DNA/MeshToVolumeModifierData.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public float interior_band_width; [DNAFieldAttribute(4, "float", 6, "density", "float", false, 144)] public float density; - [DNAFieldAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", false, 148)] + [DNAArrayAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", 4, 148)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "void", 8, "*_pad3", "void", true, 152)] public object _pad3; diff --git a/BlendFile/DNA/MetaBall.cs b/BlendFile/DNA/MetaBall.cs index 9c7ad63..b2ee0aa 100644 --- a/BlendFile/DNA/MetaBall.cs +++ b/BlendFile/DNA/MetaBall.cs @@ -35,13 +35,13 @@ namespace BlendFile.DNA { public short totcol; [DNAFieldAttribute(1, "char", 9, "texflag", "char", false, 260)] public char texflag; - [DNAFieldAttribute(2, "char", 10, "_pad[2]", "System.Char[]", false, 261)] + [DNAArrayAttribute(2, "char", 10, "_pad[2]", "System.Char[]", 2, 261)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(1, "char", 11, "needs_flush_to_id", "char", false, 263)] public char needs_flush_to_id; - [DNAFieldAttribute(12, "float", 12, "loc[3]", "System.Single[]", false, 264)] + [DNAArrayAttribute(12, "float", 12, "loc[3]", "System.Single[]", 3, 264)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 13, "size[3]", "System.Single[]", false, 276)] + [DNAArrayAttribute(12, "float", 13, "size[3]", "System.Single[]", 3, 276)] public float[] size = new System.Single[3]; [DNAFieldAttribute(4, "float", 14, "wiresize", "float", false, 288)] public float wiresize; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public float rendersize; [DNAFieldAttribute(4, "float", 16, "thresh", "float", false, 296)] public float thresh; - [DNAFieldAttribute(4, "char", 17, "_pad0[4]", "System.Char[]", false, 300)] + [DNAArrayAttribute(4, "char", 17, "_pad0[4]", "System.Char[]", 4, 300)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(8, "MetaElem", 18, "*lastelem", "MetaElem", true, 304)] public MetaElem lastelem; diff --git a/BlendFile/DNA/MetaElem.cs b/BlendFile/DNA/MetaElem.cs index 51243f8..443b566 100644 --- a/BlendFile/DNA/MetaElem.cs +++ b/BlendFile/DNA/MetaElem.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public short type; [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 26)] public short flag; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 28)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "float", 6, "x", "float", false, 32)] public float x; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public float y; [DNAFieldAttribute(4, "float", 8, "z", "float", false, 40)] public float z; - [DNAFieldAttribute(16, "float", 9, "quat[4]", "System.Single[]", false, 44)] + [DNAArrayAttribute(16, "float", 9, "quat[4]", "System.Single[]", 4, 44)] public float[] quat = new System.Single[4]; [DNAFieldAttribute(4, "float", 10, "expx", "float", false, 60)] public float expx; diff --git a/BlendFile/DNA/MetaStack.cs b/BlendFile/DNA/MetaStack.cs index c23bd99..8fbeb4c 100644 --- a/BlendFile/DNA/MetaStack.cs +++ b/BlendFile/DNA/MetaStack.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public ListBase old_channels; [DNAFieldAttribute(8, "Sequence", 4, "*parseq", "Sequence", true, 32)] public Sequence parseq; - [DNAFieldAttribute(8, "int", 5, "disp_range[2]", "System.Int32[]", false, 40)] + [DNAArrayAttribute(8, "int", 5, "disp_range[2]", "System.Int32[]", 2, 40)] public int[] disp_range = new System.Int32[2]; public MetaStack() { this.next = default; diff --git a/BlendFile/DNA/MirrorGpencilModifierData.cs b/BlendFile/DNA/MirrorGpencilModifierData.cs index c4f22a1..c476023 100644 --- a/BlendFile/DNA/MirrorGpencilModifierData.cs +++ b/BlendFile/DNA/MirrorGpencilModifierData.cs @@ -21,9 +21,9 @@ namespace BlendFile.DNA { public Object @object; [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] public Material material; - [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 3, "layername[64]", "System.Char[]", 64, 120)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "materialname[64]", "System.Char[]", false, 184)] + [DNAArrayAttribute(64, "char", 4, "materialname[64]", "System.Char[]", 64, 184)] public char[] materialname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 248)] public int pass_index; @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "int", 7, "layer_pass", "int", false, 256)] public int layer_pass; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 260)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 260)] public char[] _pad = new System.Char[4]; public MirrorGpencilModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/MirrorModifierData.cs b/BlendFile/DNA/MirrorModifierData.cs index d925697..1e106e3 100644 --- a/BlendFile/DNA/MirrorModifierData.cs +++ b/BlendFile/DNA/MirrorModifierData.cs @@ -27,11 +27,11 @@ namespace BlendFile.DNA { public float bisect_threshold; [DNAFieldAttribute(1, "uchar", 5, "use_correct_order_on_merge", "uchar", false, 132)] public byte use_correct_order_on_merge; - [DNAFieldAttribute(3, "char", 6, "_pad[3]", "System.Char[]", false, 133)] + [DNAArrayAttribute(3, "char", 6, "_pad[3]", "System.Char[]", 3, 133)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(8, "float", 7, "uv_offset[2]", "System.Single[]", false, 136)] + [DNAArrayAttribute(8, "float", 7, "uv_offset[2]", "System.Single[]", 2, 136)] public float[] uv_offset = new System.Single[2]; - [DNAFieldAttribute(8, "float", 8, "uv_offset_copy[2]", "System.Single[]", false, 144)] + [DNAArrayAttribute(8, "float", 8, "uv_offset_copy[2]", "System.Single[]", 2, 144)] public float[] uv_offset_copy = new System.Single[2]; [DNAFieldAttribute(8, "Object", 9, "*mirror_ob", "Object", true, 152)] public Object mirror_ob; diff --git a/BlendFile/DNA/ModifierData.cs b/BlendFile/DNA/ModifierData.cs index 19c5018..93c69d9 100644 --- a/BlendFile/DNA/ModifierData.cs +++ b/BlendFile/DNA/ModifierData.cs @@ -31,11 +31,11 @@ namespace BlendFile.DNA { public short ui_expand_flag; [DNAFieldAttribute(2, "ushort", 7, "layout_panel_open_flag", "ushort", false, 32)] public ushort layout_panel_open_flag; - [DNAFieldAttribute(2, "char", 8, "_pad[2]", "System.Char[]", false, 34)] + [DNAArrayAttribute(2, "char", 8, "_pad[2]", "System.Char[]", 2, 34)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 9, "persistent_uid", "int", false, 36)] public int persistent_uid; - [DNAFieldAttribute(64, "char", 10, "name[64]", "System.Char[]", false, 40)] + [DNAArrayAttribute(64, "char", 10, "name[64]", "System.Char[]", 64, 40)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "char", 11, "*error", "char", true, 104)] public char error; diff --git a/BlendFile/DNA/MovieClip.cs b/BlendFile/DNA/MovieClip.cs index 82fd3a1..53dca9d 100644 --- a/BlendFile/DNA/MovieClip.cs +++ b/BlendFile/DNA/MovieClip.cs @@ -21,13 +21,13 @@ namespace BlendFile.DNA { public AnimData adt; [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(1024, "char", 3, "name[1024]", "System.Char[]", false, 232)] + [DNAArrayAttribute(1024, "char", 3, "name[1024]", "System.Char[]", 1024, 232)] public char[] name = new System.Char[1024]; [DNAFieldAttribute(4, "int", 4, "source", "int", false, 1256)] public int source; [DNAFieldAttribute(4, "int", 5, "_pad", "int", false, 1260)] public int _pad; - [DNAFieldAttribute(8, "int", 6, "lastsize[2]", "System.Int32[]", false, 1264)] + [DNAArrayAttribute(8, "int", 6, "lastsize[2]", "System.Int32[]", 2, 1264)] public int[] lastsize = new System.Int32[2]; [DNAFieldAttribute(4, "float", 7, "aspx", "float", false, 1272)] public float aspx; diff --git a/BlendFile/DNA/MovieClipProxy.cs b/BlendFile/DNA/MovieClipProxy.cs index 93b67a6..882fcf7 100644 --- a/BlendFile/DNA/MovieClipProxy.cs +++ b/BlendFile/DNA/MovieClipProxy.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(554, "MovieClipProxy", 776)] public class MovieClipProxy { - [DNAFieldAttribute(768, "char", 0, "dir[768]", "System.Char[]", false, 0)] + [DNAArrayAttribute(768, "char", 0, "dir[768]", "System.Char[]", 768, 0)] public char[] dir = new System.Char[768]; [DNAFieldAttribute(2, "short", 1, "tc", "short", false, 768)] public short tc; diff --git a/BlendFile/DNA/MovieClipScopes.cs b/BlendFile/DNA/MovieClipScopes.cs index 29591c5..86d35b3 100644 --- a/BlendFile/DNA/MovieClipScopes.cs +++ b/BlendFile/DNA/MovieClipScopes.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public ImBuf track_search; [DNAFieldAttribute(8, "ImBuf", 7, "*track_preview", "ImBuf", true, 88)] public ImBuf track_preview; - [DNAFieldAttribute(8, "float", 8, "track_pos[2]", "System.Single[]", false, 96)] + [DNAArrayAttribute(8, "float", 8, "track_pos[2]", "System.Single[]", 2, 96)] public float[] track_pos = new System.Single[2]; [DNAFieldAttribute(2, "short", 9, "track_disabled", "short", false, 104)] public short track_disabled; @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public MovieTrackingTrack track; [DNAFieldAttribute(8, "MovieTrackingMarker", 13, "*marker", "MovieTrackingMarker", true, 120)] public MovieTrackingMarker marker; - [DNAFieldAttribute(8, "float", 14, "slide_scale[2]", "System.Single[]", false, 128)] + [DNAArrayAttribute(8, "float", 14, "slide_scale[2]", "System.Single[]", 2, 128)] public float[] slide_scale = new System.Single[2]; public MovieClipScopes() { this.ok = default; diff --git a/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs b/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs index e0c3827..7288334 100644 --- a/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs +++ b/BlendFile/DNA/MovieClip_RuntimeGPUTexture.cs @@ -13,7 +13,7 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(555, "MovieClip_RuntimeGPUTexture", 48)] + [DNAClassAttribute(555, "MovieClip_RuntimeGPUTexture", 24)] public class MovieClip_RuntimeGPUTexture { [DNAFieldAttribute(8, "void", 0, "*next", "void", true, 0)] public object next; @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public object prev; [DNAFieldAttribute(8, "MovieClipUser", 2, "user", "MovieClipUser", false, 16)] public MovieClipUser user; - [DNAFieldAttribute(24, "GPUTexture", 3, "*gputexture[3]", "GPUTexture[]", true, 24)] + [DNAArrayAttribute(0, "GPUTexture", 3, "*gputexture[3]", "GPUTexture[]", 3, 24)] public GPUTexture[] gputexture = new GPUTexture[3]; public MovieClip_RuntimeGPUTexture() { this.next = default; diff --git a/BlendFile/DNA/MovieReconstructedCamera.cs b/BlendFile/DNA/MovieReconstructedCamera.cs index bb2d700..5b89e3f 100644 --- a/BlendFile/DNA/MovieReconstructedCamera.cs +++ b/BlendFile/DNA/MovieReconstructedCamera.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public int framenr; [DNAFieldAttribute(4, "float", 1, "error", "float", false, 4)] public float error; - [DNAFieldAttribute(64, "float", 2, "mat[4][4]", "System.Single[,]", false, 8)] + [DNAArrayAttribute(64, "float", 2, "mat[4][4]", "System.Single[,]", 8, 8)] public float[,] mat = new System.Single[4,4]; public MovieReconstructedCamera() { this.framenr = default; diff --git a/BlendFile/DNA/MovieTrackingCamera.cs b/BlendFile/DNA/MovieTrackingCamera.cs index 1df1280..38a89ce 100644 --- a/BlendFile/DNA/MovieTrackingCamera.cs +++ b/BlendFile/DNA/MovieTrackingCamera.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public object intrinsics; [DNAFieldAttribute(2, "short", 1, "distortion_model", "short", false, 8)] public short distortion_model; - [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 10)] + [DNAArrayAttribute(2, "char", 2, "_pad[2]", "System.Char[]", 2, 10)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 3, "sensor_width", "float", false, 12)] public float sensor_width; @@ -29,11 +29,11 @@ namespace BlendFile.DNA { public float focal; [DNAFieldAttribute(2, "short", 6, "units", "short", false, 24)] public short units; - [DNAFieldAttribute(2, "char", 7, "_pad1[2]", "System.Char[]", false, 26)] + [DNAArrayAttribute(2, "char", 7, "_pad1[2]", "System.Char[]", 2, 26)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(8, "float", 8, "principal_point[2]", "System.Single[]", false, 28)] + [DNAArrayAttribute(8, "float", 8, "principal_point[2]", "System.Single[]", 2, 28)] public float[] principal_point = new System.Single[2]; - [DNAFieldAttribute(8, "float", 9, "principal[2]", "System.Single[]", false, 36)] + [DNAArrayAttribute(8, "float", 9, "principal[2]", "System.Single[]", 2, 36)] public float[] principal = new System.Single[2]; [DNAFieldAttribute(4, "float", 10, "k1", "float", false, 44)] public float k1; diff --git a/BlendFile/DNA/MovieTrackingDopesheet.cs b/BlendFile/DNA/MovieTrackingDopesheet.cs index d09e36f..84c2ae9 100644 --- a/BlendFile/DNA/MovieTrackingDopesheet.cs +++ b/BlendFile/DNA/MovieTrackingDopesheet.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public ListBase channels; [DNAFieldAttribute(4, "int", 5, "tot_channel", "int", false, 40)] public int tot_channel; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 44)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 44)] public char[] _pad = new System.Char[4]; public MovieTrackingDopesheet() { this.ok = default; diff --git a/BlendFile/DNA/MovieTrackingDopesheetChannel.cs b/BlendFile/DNA/MovieTrackingDopesheetChannel.cs index cb9788c..968b227 100644 --- a/BlendFile/DNA/MovieTrackingDopesheetChannel.cs +++ b/BlendFile/DNA/MovieTrackingDopesheetChannel.cs @@ -21,9 +21,9 @@ namespace BlendFile.DNA { public MovieTrackingDopesheetChannel prev; [DNAFieldAttribute(8, "MovieTrackingTrack", 2, "*track", "MovieTrackingTrack", true, 16)] public MovieTrackingTrack track; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 24)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 24)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 28)] + [DNAArrayAttribute(64, "char", 4, "name[64]", "System.Char[]", 64, 28)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "tot_segment", "int", false, 92)] public int tot_segment; diff --git a/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs b/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs index bd94685..7c3a594 100644 --- a/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs +++ b/BlendFile/DNA/MovieTrackingDopesheetCoverageSegment.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int start_frame; [DNAFieldAttribute(4, "int", 4, "end_frame", "int", false, 24)] public int end_frame; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 28)] public char[] _pad = new System.Char[4]; public MovieTrackingDopesheetCoverageSegment() { this.next = default; diff --git a/BlendFile/DNA/MovieTrackingMarker.cs b/BlendFile/DNA/MovieTrackingMarker.cs index 9b9b0aa..d45459f 100644 --- a/BlendFile/DNA/MovieTrackingMarker.cs +++ b/BlendFile/DNA/MovieTrackingMarker.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(560, "MovieTrackingMarker", 64)] public class MovieTrackingMarker { - [DNAFieldAttribute(8, "float", 0, "pos[2]", "System.Single[]", false, 0)] + [DNAArrayAttribute(8, "float", 0, "pos[2]", "System.Single[]", 2, 0)] public float[] pos = new System.Single[2]; - [DNAFieldAttribute(32, "float", 1, "pattern_corners[4][2]", "System.Single[,]", false, 8)] + [DNAArrayAttribute(32, "float", 1, "pattern_corners[4][2]", "System.Single[,]", 6, 8)] public float[,] pattern_corners = new System.Single[4,2]; - [DNAFieldAttribute(8, "float", 2, "search_min[2]", "System.Single[]", false, 40)] + [DNAArrayAttribute(8, "float", 2, "search_min[2]", "System.Single[]", 2, 40)] public float[] search_min = new System.Single[2]; - [DNAFieldAttribute(8, "float", 3, "search_max[2]", "System.Single[]", false, 48)] + [DNAArrayAttribute(8, "float", 3, "search_max[2]", "System.Single[]", 2, 48)] public float[] search_max = new System.Single[2]; [DNAFieldAttribute(4, "int", 4, "framenr", "int", false, 56)] public int framenr; diff --git a/BlendFile/DNA/MovieTrackingObject.cs b/BlendFile/DNA/MovieTrackingObject.cs index 939e293..7cf2cd2 100644 --- a/BlendFile/DNA/MovieTrackingObject.cs +++ b/BlendFile/DNA/MovieTrackingObject.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public MovieTrackingObject next; [DNAFieldAttribute(8, "MovieTrackingObject", 1, "*prev", "MovieTrackingObject", true, 8)] public MovieTrackingObject prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 80)] public int flag; diff --git a/BlendFile/DNA/MovieTrackingPlaneMarker.cs b/BlendFile/DNA/MovieTrackingPlaneMarker.cs index 676460c..d33cba3 100644 --- a/BlendFile/DNA/MovieTrackingPlaneMarker.cs +++ b/BlendFile/DNA/MovieTrackingPlaneMarker.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(977, "MovieTrackingPlaneMarker", 40)] public class MovieTrackingPlaneMarker { - [DNAFieldAttribute(32, "float", 0, "corners[4][2]", "System.Single[,]", false, 0)] + [DNAArrayAttribute(32, "float", 0, "corners[4][2]", "System.Single[,]", 6, 0)] public float[,] corners = new System.Single[4,2]; [DNAFieldAttribute(4, "int", 1, "framenr", "int", false, 32)] public int framenr; diff --git a/BlendFile/DNA/MovieTrackingPlaneTrack.cs b/BlendFile/DNA/MovieTrackingPlaneTrack.cs index 8cb51ad..53cccca 100644 --- a/BlendFile/DNA/MovieTrackingPlaneTrack.cs +++ b/BlendFile/DNA/MovieTrackingPlaneTrack.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public MovieTrackingPlaneTrack next; [DNAFieldAttribute(8, "MovieTrackingPlaneTrack", 1, "*prev", "MovieTrackingPlaneTrack", true, 8)] public MovieTrackingPlaneTrack prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "MovieTrackingTrack", 3, "**point_tracks", "MovieTrackingTrack", true, 80)] public MovieTrackingTrack point_tracks; [DNAFieldAttribute(4, "int", 4, "point_tracksnr", "int", false, 88)] public int point_tracksnr; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 92)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 92)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "MovieTrackingPlaneMarker", 6, "*markers", "MovieTrackingPlaneMarker", true, 96)] public MovieTrackingPlaneMarker markers; diff --git a/BlendFile/DNA/MovieTrackingStabilization.cs b/BlendFile/DNA/MovieTrackingStabilization.cs index 22ffaef..9f8b7e5 100644 --- a/BlendFile/DNA/MovieTrackingStabilization.cs +++ b/BlendFile/DNA/MovieTrackingStabilization.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public MovieTrackingTrack rot_track; [DNAFieldAttribute(4, "int", 7, "anchor_frame", "int", false, 32)] public int anchor_frame; - [DNAFieldAttribute(8, "float", 8, "target_pos[2]", "System.Single[]", false, 36)] + [DNAArrayAttribute(8, "float", 8, "target_pos[2]", "System.Single[]", 2, 36)] public float[] target_pos = new System.Single[2]; [DNAFieldAttribute(4, "float", 9, "target_rot", "float", false, 44)] public float target_rot; diff --git a/BlendFile/DNA/MovieTrackingStats.cs b/BlendFile/DNA/MovieTrackingStats.cs index 1b34734..b24c7f0 100644 --- a/BlendFile/DNA/MovieTrackingStats.cs +++ b/BlendFile/DNA/MovieTrackingStats.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(983, "MovieTrackingStats", 256)] public class MovieTrackingStats { - [DNAFieldAttribute(256, "char", 0, "message[256]", "System.Char[]", false, 0)] + [DNAArrayAttribute(256, "char", 0, "message[256]", "System.Char[]", 256, 0)] public char[] message = new System.Char[256]; public MovieTrackingStats() { this.message = default; diff --git a/BlendFile/DNA/MovieTrackingTrack.cs b/BlendFile/DNA/MovieTrackingTrack.cs index 7e68f05..5dd77be 100644 --- a/BlendFile/DNA/MovieTrackingTrack.cs +++ b/BlendFile/DNA/MovieTrackingTrack.cs @@ -19,17 +19,17 @@ namespace BlendFile.DNA { public MovieTrackingTrack next; [DNAFieldAttribute(8, "MovieTrackingTrack", 1, "*prev", "MovieTrackingTrack", true, 8)] public MovieTrackingTrack prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(8, "float", 3, "pat_min[2]", "System.Single[]", false, 80)] + [DNAArrayAttribute(8, "float", 3, "pat_min[2]", "System.Single[]", 2, 80)] public float[] pat_min = new System.Single[2]; - [DNAFieldAttribute(8, "float", 4, "pat_max[2]", "System.Single[]", false, 88)] + [DNAArrayAttribute(8, "float", 4, "pat_max[2]", "System.Single[]", 2, 88)] public float[] pat_max = new System.Single[2]; - [DNAFieldAttribute(8, "float", 5, "search_min[2]", "System.Single[]", false, 96)] + [DNAArrayAttribute(8, "float", 5, "search_min[2]", "System.Single[]", 2, 96)] public float[] search_min = new System.Single[2]; - [DNAFieldAttribute(8, "float", 6, "search_max[2]", "System.Single[]", false, 104)] + [DNAArrayAttribute(8, "float", 6, "search_max[2]", "System.Single[]", 2, 104)] public float[] search_max = new System.Single[2]; - [DNAFieldAttribute(8, "float", 7, "offset[2]", "System.Single[]", false, 112)] + [DNAArrayAttribute(8, "float", 7, "offset[2]", "System.Single[]", 2, 112)] public float[] offset = new System.Single[2]; [DNAFieldAttribute(4, "int", 8, "markersnr", "int", false, 120)] public int markersnr; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public int _pad; [DNAFieldAttribute(8, "MovieTrackingMarker", 10, "*markers", "MovieTrackingMarker", true, 128)] public MovieTrackingMarker markers; - [DNAFieldAttribute(12, "float", 11, "bundle_pos[3]", "System.Single[]", false, 136)] + [DNAArrayAttribute(12, "float", 11, "bundle_pos[3]", "System.Single[]", 3, 136)] public float[] bundle_pos = new System.Single[3]; [DNAFieldAttribute(4, "float", 12, "error", "float", false, 148)] public float error; @@ -47,7 +47,7 @@ namespace BlendFile.DNA { public int pat_flag; [DNAFieldAttribute(4, "int", 15, "search_flag", "int", false, 160)] public int search_flag; - [DNAFieldAttribute(12, "float", 16, "color[3]", "System.Single[]", false, 164)] + [DNAArrayAttribute(12, "float", 16, "color[3]", "System.Single[]", 3, 164)] public float[] color = new System.Single[3]; [DNAFieldAttribute(2, "short", 17, "frames_limit", "short", false, 176)] public short frames_limit; diff --git a/BlendFile/DNA/MultiplyGpencilModifierData.cs b/BlendFile/DNA/MultiplyGpencilModifierData.cs index 94da88a..db61784 100644 --- a/BlendFile/DNA/MultiplyGpencilModifierData.cs +++ b/BlendFile/DNA/MultiplyGpencilModifierData.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; diff --git a/BlendFile/DNA/MultiresModifierData.cs b/BlendFile/DNA/MultiresModifierData.cs index 0ff8fc4..1201fcc 100644 --- a/BlendFile/DNA/MultiresModifierData.cs +++ b/BlendFile/DNA/MultiresModifierData.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public char simple; [DNAFieldAttribute(1, "char", 6, "flags", "char", false, 125)] public char flags; - [DNAFieldAttribute(2, "char", 7, "_pad[2]", "System.Char[]", false, 126)] + [DNAArrayAttribute(2, "char", 7, "_pad[2]", "System.Char[]", 2, 126)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(2, "short", 8, "quality", "short", false, 128)] public short quality; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public short uv_smooth; [DNAFieldAttribute(2, "short", 10, "boundary_smooth", "short", false, 132)] public short boundary_smooth; - [DNAFieldAttribute(2, "char", 11, "_pad2[2]", "System.Char[]", false, 134)] + [DNAArrayAttribute(2, "char", 11, "_pad2[2]", "System.Char[]", 2, 134)] public char[] _pad2 = new System.Char[2]; public MultiresModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/NlaStrip.cs b/BlendFile/DNA/NlaStrip.cs index c501df3..845db91 100644 --- a/BlendFile/DNA/NlaStrip.cs +++ b/BlendFile/DNA/NlaStrip.cs @@ -25,15 +25,15 @@ namespace BlendFile.DNA { public bAction act; [DNAFieldAttribute(4, "int", 4, "action_slot_handle", "int", false, 40)] public int action_slot_handle; - [DNAFieldAttribute(66, "char", 5, "action_slot_name[66]", "System.Char[]", false, 44)] + [DNAArrayAttribute(66, "char", 5, "action_slot_name[66]", "System.Char[]", 66, 44)] public char[] action_slot_name = new System.Char[66]; - [DNAFieldAttribute(2, "char", 6, "_pad0[2]", "System.Char[]", false, 110)] + [DNAArrayAttribute(2, "char", 6, "_pad0[2]", "System.Char[]", 2, 110)] public char[] _pad0 = new System.Char[2]; [DNAFieldAttribute(16, "ListBase", 7, "fcurves", "ListBase", false, 112)] public ListBase fcurves; [DNAFieldAttribute(16, "ListBase", 8, "modifiers", "ListBase", false, 128)] public ListBase modifiers; - [DNAFieldAttribute(64, "char", 9, "name[64]", "System.Char[]", false, 144)] + [DNAArrayAttribute(64, "char", 9, "name[64]", "System.Char[]", 64, 144)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "float", 10, "influence", "float", false, 208)] public float influence; @@ -59,7 +59,7 @@ namespace BlendFile.DNA { public short blendmode; [DNAFieldAttribute(2, "short", 21, "extendmode", "short", false, 250)] public short extendmode; - [DNAFieldAttribute(2, "char", 22, "_pad1[2]", "System.Char[]", false, 252)] + [DNAArrayAttribute(2, "char", 22, "_pad1[2]", "System.Char[]", 2, 252)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(2, "short", 23, "type", "short", false, 254)] public short type; @@ -67,7 +67,7 @@ namespace BlendFile.DNA { public object speaker_handle; [DNAFieldAttribute(4, "int", 25, "flag", "int", false, 264)] public int flag; - [DNAFieldAttribute(4, "char", 26, "_pad2[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 26, "_pad2[4]", "System.Char[]", 4, 268)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "NlaStrip", 27, "*orig_strip", "NlaStrip", true, 272)] public NlaStrip orig_strip; diff --git a/BlendFile/DNA/NlaTrack.cs b/BlendFile/DNA/NlaTrack.cs index 3cfb59e..435b2e2 100644 --- a/BlendFile/DNA/NlaTrack.cs +++ b/BlendFile/DNA/NlaTrack.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "int", 4, "index", "int", false, 36)] public int index; - [DNAFieldAttribute(64, "char", 5, "name[64]", "System.Char[]", false, 40)] + [DNAArrayAttribute(64, "char", 5, "name[64]", "System.Char[]", 64, 40)] public char[] name = new System.Char[64]; public NlaTrack() { this.next = default; diff --git a/BlendFile/DNA/NodeBilateralBlurData.cs b/BlendFile/DNA/NodeBilateralBlurData.cs index 6c4d016..a42e53b 100644 --- a/BlendFile/DNA/NodeBilateralBlurData.cs +++ b/BlendFile/DNA/NodeBilateralBlurData.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public float sigma_space; [DNAFieldAttribute(2, "short", 2, "iter", "short", false, 8)] public short iter; - [DNAFieldAttribute(2, "char", 3, "_pad[2]", "System.Char[]", false, 10)] + [DNAArrayAttribute(2, "char", 3, "_pad[2]", "System.Char[]", 2, 10)] public char[] _pad = new System.Char[2]; public NodeBilateralBlurData() { this.sigma_color = default; diff --git a/BlendFile/DNA/NodeBoxMask.cs b/BlendFile/DNA/NodeBoxMask.cs index 23ea8a1..4d9dd30 100644 --- a/BlendFile/DNA/NodeBoxMask.cs +++ b/BlendFile/DNA/NodeBoxMask.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float height; [DNAFieldAttribute(4, "float", 4, "width", "float", false, 16)] public float width; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public NodeBoxMask() { this.x = default; diff --git a/BlendFile/DNA/NodeChroma.cs b/BlendFile/DNA/NodeChroma.cs index f991487..ef01baa 100644 --- a/BlendFile/DNA/NodeChroma.cs +++ b/BlendFile/DNA/NodeChroma.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public float fstrength; [DNAFieldAttribute(4, "float", 5, "falpha", "float", false, 20)] public float falpha; - [DNAFieldAttribute(16, "float", 6, "key[4]", "System.Single[]", false, 24)] + [DNAArrayAttribute(16, "float", 6, "key[4]", "System.Single[]", 4, 24)] public float[] key = new System.Single[4]; [DNAFieldAttribute(2, "short", 7, "algorithm", "short", false, 40)] public short algorithm; diff --git a/BlendFile/DNA/NodeColorBalance.cs b/BlendFile/DNA/NodeColorBalance.cs index 1154a6e..65ab0ca 100644 --- a/BlendFile/DNA/NodeColorBalance.cs +++ b/BlendFile/DNA/NodeColorBalance.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(628, "NodeColorBalance", 96)] public class NodeColorBalance { - [DNAFieldAttribute(12, "float", 0, "slope[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "slope[3]", "System.Single[]", 3, 0)] public float[] slope = new System.Single[3]; - [DNAFieldAttribute(12, "float", 1, "offset[3]", "System.Single[]", false, 12)] + [DNAArrayAttribute(12, "float", 1, "offset[3]", "System.Single[]", 3, 12)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(12, "float", 2, "power[3]", "System.Single[]", false, 24)] + [DNAArrayAttribute(12, "float", 2, "power[3]", "System.Single[]", 3, 24)] public float[] power = new System.Single[3]; [DNAFieldAttribute(4, "float", 3, "offset_basis", "float", false, 36)] public float offset_basis; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 40)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 40)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(12, "float", 5, "lift[3]", "System.Single[]", false, 44)] + [DNAArrayAttribute(12, "float", 5, "lift[3]", "System.Single[]", 3, 44)] public float[] lift = new System.Single[3]; - [DNAFieldAttribute(12, "float", 6, "gamma[3]", "System.Single[]", false, 56)] + [DNAArrayAttribute(12, "float", 6, "gamma[3]", "System.Single[]", 3, 56)] public float[] gamma = new System.Single[3]; - [DNAFieldAttribute(12, "float", 7, "gain[3]", "System.Single[]", false, 68)] + [DNAArrayAttribute(12, "float", 7, "gain[3]", "System.Single[]", 3, 68)] public float[] gain = new System.Single[3]; [DNAFieldAttribute(4, "float", 8, "input_temperature", "float", false, 80)] public float input_temperature; diff --git a/BlendFile/DNA/NodeConvertColorSpace.cs b/BlendFile/DNA/NodeConvertColorSpace.cs index d8f744b..c948be8 100644 --- a/BlendFile/DNA/NodeConvertColorSpace.cs +++ b/BlendFile/DNA/NodeConvertColorSpace.cs @@ -15,9 +15,9 @@ namespace BlendFile.DNA { [DNAClassAttribute(630, "NodeConvertColorSpace", 128)] public class NodeConvertColorSpace { - [DNAFieldAttribute(64, "char", 0, "from_color_space[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "from_color_space[64]", "System.Char[]", 64, 0)] public char[] from_color_space = new System.Char[64]; - [DNAFieldAttribute(64, "char", 1, "to_color_space[64]", "System.Char[]", false, 64)] + [DNAArrayAttribute(64, "char", 1, "to_color_space[64]", "System.Char[]", 64, 64)] public char[] to_color_space = new System.Char[64]; public NodeConvertColorSpace() { this.from_color_space = default; diff --git a/BlendFile/DNA/NodeCryptomatte.cs b/BlendFile/DNA/NodeCryptomatte.cs index 316d4a4..e3854a0 100644 --- a/BlendFile/DNA/NodeCryptomatte.cs +++ b/BlendFile/DNA/NodeCryptomatte.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public ImageUser iuser; [DNAFieldAttribute(16, "ListBase", 1, "entries", "ListBase", false, 40)] public ListBase entries; - [DNAFieldAttribute(64, "char", 2, "layer_name[64]", "System.Char[]", false, 56)] + [DNAArrayAttribute(64, "char", 2, "layer_name[64]", "System.Char[]", 64, 56)] public char[] layer_name = new System.Char[64]; [DNAFieldAttribute(8, "char", 3, "*matte_id", "char", true, 120)] public char matte_id; [DNAFieldAttribute(4, "int", 4, "num_inputs", "int", false, 128)] public int num_inputs; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 132)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 132)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(40, "NodeCryptomatte_Runtime", 6, "runtime", "NodeCryptomatte_Runtime", false, 136)] public NodeCryptomatte_Runtime runtime; diff --git a/BlendFile/DNA/NodeCryptomatte_Runtime.cs b/BlendFile/DNA/NodeCryptomatte_Runtime.cs index 076b938..78fc66a 100644 --- a/BlendFile/DNA/NodeCryptomatte_Runtime.cs +++ b/BlendFile/DNA/NodeCryptomatte_Runtime.cs @@ -17,9 +17,9 @@ namespace BlendFile.DNA { public class NodeCryptomatte_Runtime { [DNAFieldAttribute(16, "ListBase", 0, "layers", "ListBase", false, 0)] public ListBase layers; - [DNAFieldAttribute(12, "float", 1, "add[3]", "System.Single[]", false, 16)] + [DNAArrayAttribute(12, "float", 1, "add[3]", "System.Single[]", 3, 16)] public float[] add = new System.Single[3]; - [DNAFieldAttribute(12, "float", 2, "remove[3]", "System.Single[]", false, 28)] + [DNAArrayAttribute(12, "float", 2, "remove[3]", "System.Single[]", 3, 28)] public float[] remove = new System.Single[3]; public NodeCryptomatte_Runtime() { this.layers = default; diff --git a/BlendFile/DNA/NodeDBlurData.cs b/BlendFile/DNA/NodeDBlurData.cs index d1fbb8e..40e457f 100644 --- a/BlendFile/DNA/NodeDBlurData.cs +++ b/BlendFile/DNA/NodeDBlurData.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public float zoom; [DNAFieldAttribute(2, "short", 6, "iter", "short", false, 24)] public short iter; - [DNAFieldAttribute(2, "char", 7, "_pad[2]", "System.Char[]", false, 26)] + [DNAArrayAttribute(2, "char", 7, "_pad[2]", "System.Char[]", 2, 26)] public char[] _pad = new System.Char[2]; public NodeDBlurData() { this.center_x = default; diff --git a/BlendFile/DNA/NodeDefocus.cs b/BlendFile/DNA/NodeDefocus.cs index 2ea6862..1f685fe 100644 --- a/BlendFile/DNA/NodeDefocus.cs +++ b/BlendFile/DNA/NodeDefocus.cs @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public float scale; [DNAFieldAttribute(4, "float", 10, "rotation", "float", false, 24)] public float rotation; - [DNAFieldAttribute(4, "char", 11, "_pad1[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 11, "_pad1[4]", "System.Char[]", 4, 28)] public char[] _pad1 = new System.Char[4]; public NodeDefocus() { this.bktype = default; diff --git a/BlendFile/DNA/NodeEllipseMask.cs b/BlendFile/DNA/NodeEllipseMask.cs index b4a8d21..4bb4e12 100644 --- a/BlendFile/DNA/NodeEllipseMask.cs +++ b/BlendFile/DNA/NodeEllipseMask.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float height; [DNAFieldAttribute(4, "float", 4, "width", "float", false, 16)] public float width; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public NodeEllipseMask() { this.x = default; diff --git a/BlendFile/DNA/NodeEnumDefinition.cs b/BlendFile/DNA/NodeEnumDefinition.cs index a8b34f5..d494269 100644 --- a/BlendFile/DNA/NodeEnumDefinition.cs +++ b/BlendFile/DNA/NodeEnumDefinition.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public int active_index; [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 8)] public int next_identifier; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; public NodeEnumDefinition() { this.items_num = default; diff --git a/BlendFile/DNA/NodeEnumItem.cs b/BlendFile/DNA/NodeEnumItem.cs index 6419680..ff276d6 100644 --- a/BlendFile/DNA/NodeEnumItem.cs +++ b/BlendFile/DNA/NodeEnumItem.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public char description; [DNAFieldAttribute(4, "int", 2, "identifier", "int", false, 16)] public int identifier; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public NodeEnumItem() { this.name = default; diff --git a/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs b/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs index 5b961cb..42ee492 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementGenerationItem.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public short socket_type; [DNAFieldAttribute(1, "uchar", 2, "domain", "uchar", false, 10)] public byte domain; - [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 11)] + [DNAArrayAttribute(1, "char", 3, "_pad[1]", "System.Char[]", 1, 11)] public char[] _pad = new System.Char[1]; [DNAFieldAttribute(4, "int", 4, "identifier", "int", false, 12)] public int identifier; diff --git a/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs b/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs index d826c6d..97ca8dc 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementGenerationItems.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int active_index; [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public NodeForeachGeometryElementGenerationItems() { this.items = default; diff --git a/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs b/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs index 8e7d66f..4a0cb10 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementInputItem.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public char name; [DNAFieldAttribute(2, "short", 1, "socket_type", "short", false, 8)] public short socket_type; - [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 10)] + [DNAArrayAttribute(2, "char", 2, "_pad[2]", "System.Char[]", 2, 10)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 3, "identifier", "int", false, 12)] public int identifier; diff --git a/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs b/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs index cd00659..64f976d 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementInputItems.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int active_index; [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public NodeForeachGeometryElementInputItems() { this.items = default; diff --git a/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs b/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs index 26886ed..b2d722d 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementMainItem.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public char name; [DNAFieldAttribute(2, "short", 1, "socket_type", "short", false, 8)] public short socket_type; - [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 10)] + [DNAArrayAttribute(2, "char", 2, "_pad[2]", "System.Char[]", 2, 10)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 3, "identifier", "int", false, 12)] public int identifier; diff --git a/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs b/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs index 9799cb8..fd02083 100644 --- a/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs +++ b/BlendFile/DNA/NodeForeachGeometryElementMainItems.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int active_index; [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public NodeForeachGeometryElementMainItems() { this.items = default; diff --git a/BlendFile/DNA/NodeFunctionCompare.cs b/BlendFile/DNA/NodeFunctionCompare.cs index 2be7576..68454d9 100644 --- a/BlendFile/DNA/NodeFunctionCompare.cs +++ b/BlendFile/DNA/NodeFunctionCompare.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public sbyte data_type; [DNAFieldAttribute(1, "int8_t", 2, "mode", "int8_t", false, 2)] public sbyte mode; - [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 3)] + [DNAArrayAttribute(1, "char", 3, "_pad[1]", "System.Char[]", 1, 3)] public char[] _pad = new System.Char[1]; public NodeFunctionCompare() { this.operation = default; diff --git a/BlendFile/DNA/NodeGeometryAttributeCapture.cs b/BlendFile/DNA/NodeGeometryAttributeCapture.cs index b580812..865e5bb 100644 --- a/BlendFile/DNA/NodeGeometryAttributeCapture.cs +++ b/BlendFile/DNA/NodeGeometryAttributeCapture.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public sbyte data_type; [DNAFieldAttribute(1, "int8_t", 1, "domain", "int8_t", false, 1)] public sbyte domain; - [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 2)] + [DNAArrayAttribute(2, "char", 2, "_pad[2]", "System.Char[]", 2, 2)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 4)] public int next_identifier; diff --git a/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs b/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs index c23ddb1..e578821 100644 --- a/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs +++ b/BlendFile/DNA/NodeGeometryAttributeCaptureItem.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class NodeGeometryAttributeCaptureItem { [DNAFieldAttribute(1, "int8_t", 0, "data_type", "int8_t", false, 0)] public sbyte data_type; - [DNAFieldAttribute(3, "char", 1, "_pad[3]", "System.Char[]", false, 1)] + [DNAArrayAttribute(3, "char", 1, "_pad[3]", "System.Char[]", 3, 1)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "int", 2, "identifier", "int", false, 4)] public int identifier; diff --git a/BlendFile/DNA/NodeGeometryBake.cs b/BlendFile/DNA/NodeGeometryBake.cs index 544f094..f7025bf 100644 --- a/BlendFile/DNA/NodeGeometryBake.cs +++ b/BlendFile/DNA/NodeGeometryBake.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int next_identifier; [DNAFieldAttribute(4, "int", 3, "active_index", "int", false, 16)] public int active_index; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public NodeGeometryBake() { this.items = default; diff --git a/BlendFile/DNA/NodeGeometryBakeItem.cs b/BlendFile/DNA/NodeGeometryBakeItem.cs index 9141f58..9ab3322 100644 --- a/BlendFile/DNA/NodeGeometryBakeItem.cs +++ b/BlendFile/DNA/NodeGeometryBakeItem.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int identifier; [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public NodeGeometryBakeItem() { this.name = default; diff --git a/BlendFile/DNA/NodeGeometryCurveSample.cs b/BlendFile/DNA/NodeGeometryCurveSample.cs index 10f409a..0a69454 100644 --- a/BlendFile/DNA/NodeGeometryCurveSample.cs +++ b/BlendFile/DNA/NodeGeometryCurveSample.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public sbyte use_all_curves; [DNAFieldAttribute(1, "int8_t", 2, "data_type", "int8_t", false, 2)] public sbyte data_type; - [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 3)] + [DNAArrayAttribute(1, "char", 3, "_pad[1]", "System.Char[]", 1, 3)] public char[] _pad = new System.Char[1]; public NodeGeometryCurveSample() { this.mode = default; diff --git a/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs b/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs index 270d1a5..583f7a4 100644 --- a/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs +++ b/BlendFile/DNA/NodeGeometryForeachGeometryElementOutput.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int inspection_index; [DNAFieldAttribute(1, "uchar", 4, "domain", "uchar", false, 76)] public byte domain; - [DNAFieldAttribute(3, "char", 5, "_pad[3]", "System.Char[]", false, 77)] + [DNAArrayAttribute(3, "char", 5, "_pad[3]", "System.Char[]", 3, 77)] public char[] _pad = new System.Char[3]; public NodeGeometryForeachGeometryElementOutput() { this.input_items = default; diff --git a/BlendFile/DNA/NodeGeometrySampleIndex.cs b/BlendFile/DNA/NodeGeometrySampleIndex.cs index c68133a..aa00704 100644 --- a/BlendFile/DNA/NodeGeometrySampleIndex.cs +++ b/BlendFile/DNA/NodeGeometrySampleIndex.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public sbyte domain; [DNAFieldAttribute(1, "int8_t", 2, "clamp", "int8_t", false, 2)] public sbyte clamp; - [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 3)] + [DNAArrayAttribute(1, "char", 3, "_pad[1]", "System.Char[]", 1, 3)] public char[] _pad = new System.Char[1]; public NodeGeometrySampleIndex() { this.data_type = default; diff --git a/BlendFile/DNA/NodeGeometryTransferAttribute.cs b/BlendFile/DNA/NodeGeometryTransferAttribute.cs index 134a1a3..da73e48 100644 --- a/BlendFile/DNA/NodeGeometryTransferAttribute.cs +++ b/BlendFile/DNA/NodeGeometryTransferAttribute.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public sbyte domain; [DNAFieldAttribute(1, "uchar", 2, "mode", "uchar", false, 2)] public byte mode; - [DNAFieldAttribute(1, "char", 3, "_pad[1]", "System.Char[]", false, 3)] + [DNAArrayAttribute(1, "char", 3, "_pad[1]", "System.Char[]", 1, 3)] public char[] _pad = new System.Char[1]; public NodeGeometryTransferAttribute() { this.data_type = default; diff --git a/BlendFile/DNA/NodeGlare.cs b/BlendFile/DNA/NodeGlare.cs index d81b097..d6a318d 100644 --- a/BlendFile/DNA/NodeGlare.cs +++ b/BlendFile/DNA/NodeGlare.cs @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public float fade; [DNAFieldAttribute(4, "float", 12, "angle_ofs", "float", false, 24)] public float angle_ofs; - [DNAFieldAttribute(4, "char", 13, "_pad1[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 13, "_pad1[4]", "System.Char[]", 4, 28)] public char[] _pad1 = new System.Char[4]; public NodeGlare() { this.quality = default; diff --git a/BlendFile/DNA/NodeImageAnim.cs b/BlendFile/DNA/NodeImageAnim.cs index 306dd40..85a35b0 100644 --- a/BlendFile/DNA/NodeImageAnim.cs +++ b/BlendFile/DNA/NodeImageAnim.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char cyclic; [DNAFieldAttribute(1, "char", 4, "movie", "char", false, 13)] public char movie; - [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 14)] + [DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, 14)] public char[] _pad = new System.Char[2]; public NodeImageAnim() { this.frames = default; diff --git a/BlendFile/DNA/NodeImageFile.cs b/BlendFile/DNA/NodeImageFile.cs index 2b44c99..7300a74 100644 --- a/BlendFile/DNA/NodeImageFile.cs +++ b/BlendFile/DNA/NodeImageFile.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(614, "NodeImageFile", 1368)] public class NodeImageFile { - [DNAFieldAttribute(1024, "char", 0, "name[1024]", "System.Char[]", false, 0)] + [DNAArrayAttribute(1024, "char", 0, "name[1024]", "System.Char[]", 1024, 0)] public char[] name = new System.Char[1024]; [DNAFieldAttribute(336, "ImageFormatData", 1, "im_format", "ImageFormatData", false, 1024)] public ImageFormatData im_format; diff --git a/BlendFile/DNA/NodeImageLayer.cs b/BlendFile/DNA/NodeImageLayer.cs index 6b53ecf..e133ce5 100644 --- a/BlendFile/DNA/NodeImageLayer.cs +++ b/BlendFile/DNA/NodeImageLayer.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class NodeImageLayer { [DNAFieldAttribute(4, "int", 0, "pass_index", "int", false, 0)] public int pass_index; - [DNAFieldAttribute(64, "char", 1, "pass_name[64]", "System.Char[]", false, 4)] + [DNAArrayAttribute(64, "char", 1, "pass_name[64]", "System.Char[]", 64, 4)] public char[] pass_name = new System.Char[64]; public NodeImageLayer() { this.pass_index = default; diff --git a/BlendFile/DNA/NodeImageMultiFile.cs b/BlendFile/DNA/NodeImageMultiFile.cs index 4bd2d5a..8b6d06b 100644 --- a/BlendFile/DNA/NodeImageMultiFile.cs +++ b/BlendFile/DNA/NodeImageMultiFile.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(616, "NodeImageMultiFile", 1376)] public class NodeImageMultiFile { - [DNAFieldAttribute(1024, "char", 0, "base_path[1024]", "System.Char[]", false, 0)] + [DNAArrayAttribute(1024, "char", 0, "base_path[1024]", "System.Char[]", 1024, 0)] public char[] base_path = new System.Char[1024]; [DNAFieldAttribute(336, "ImageFormatData", 1, "format", "ImageFormatData", false, 1024)] public ImageFormatData format; @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int active_input; [DNAFieldAttribute(1, "char", 5, "save_as_render", "char", false, 1372)] public char save_as_render; - [DNAFieldAttribute(3, "char", 6, "_pad[3]", "System.Char[]", false, 1373)] + [DNAArrayAttribute(3, "char", 6, "_pad[3]", "System.Char[]", 3, 1373)] public char[] _pad = new System.Char[3]; public NodeImageMultiFile() { this.base_path = default; diff --git a/BlendFile/DNA/NodeImageMultiFileSocket.cs b/BlendFile/DNA/NodeImageMultiFileSocket.cs index 83968be..c4b2930 100644 --- a/BlendFile/DNA/NodeImageMultiFileSocket.cs +++ b/BlendFile/DNA/NodeImageMultiFileSocket.cs @@ -21,15 +21,15 @@ namespace BlendFile.DNA { public short use_node_format; [DNAFieldAttribute(1, "char", 2, "save_as_render", "char", false, 4)] public char save_as_render; - [DNAFieldAttribute(3, "char", 3, "_pad1[3]", "System.Char[]", false, 5)] + [DNAArrayAttribute(3, "char", 3, "_pad1[3]", "System.Char[]", 3, 5)] public char[] _pad1 = new System.Char[3]; - [DNAFieldAttribute(1024, "char", 4, "path[1024]", "System.Char[]", false, 8)] + [DNAArrayAttribute(1024, "char", 4, "path[1024]", "System.Char[]", 1024, 8)] public char[] path = new System.Char[1024]; [DNAFieldAttribute(336, "ImageFormatData", 5, "format", "ImageFormatData", false, 1032)] public ImageFormatData format; - [DNAFieldAttribute(30, "char", 6, "layer[30]", "System.Char[]", false, 1368)] + [DNAArrayAttribute(30, "char", 6, "layer[30]", "System.Char[]", 30, 1368)] public char[] layer = new System.Char[30]; - [DNAFieldAttribute(2, "char", 7, "_pad2[2]", "System.Char[]", false, 1398)] + [DNAArrayAttribute(2, "char", 7, "_pad2[2]", "System.Char[]", 2, 1398)] public char[] _pad2 = new System.Char[2]; public NodeImageMultiFileSocket() { this.use_render_format = default; diff --git a/BlendFile/DNA/NodeIndexSwitch.cs b/BlendFile/DNA/NodeIndexSwitch.cs index a359b46..809019e 100644 --- a/BlendFile/DNA/NodeIndexSwitch.cs +++ b/BlendFile/DNA/NodeIndexSwitch.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int data_type; [DNAFieldAttribute(4, "int", 3, "next_identifier", "int", false, 16)] public int next_identifier; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; public NodeIndexSwitch() { this.items = default; diff --git a/BlendFile/DNA/NodeInputColor.cs b/BlendFile/DNA/NodeInputColor.cs index c5045ad..02290c2 100644 --- a/BlendFile/DNA/NodeInputColor.cs +++ b/BlendFile/DNA/NodeInputColor.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(681, "NodeInputColor", 16)] public class NodeInputColor { - [DNAFieldAttribute(16, "float", 0, "color[4]", "System.Single[]", false, 0)] + [DNAArrayAttribute(16, "float", 0, "color[4]", "System.Single[]", 4, 0)] public float[] color = new System.Single[4]; public NodeInputColor() { this.color = default; diff --git a/BlendFile/DNA/NodeInputRotation.cs b/BlendFile/DNA/NodeInputRotation.cs index 8431a59..91e055f 100644 --- a/BlendFile/DNA/NodeInputRotation.cs +++ b/BlendFile/DNA/NodeInputRotation.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(679, "NodeInputRotation", 12)] public class NodeInputRotation { - [DNAFieldAttribute(12, "float", 0, "rotation_euler[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "rotation_euler[3]", "System.Single[]", 3, 0)] public float[] rotation_euler = new System.Single[3]; public NodeInputRotation() { this.rotation_euler = default; diff --git a/BlendFile/DNA/NodeInputVector.cs b/BlendFile/DNA/NodeInputVector.cs index 7f0125e..29c2849 100644 --- a/BlendFile/DNA/NodeInputVector.cs +++ b/BlendFile/DNA/NodeInputVector.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(680, "NodeInputVector", 12)] public class NodeInputVector { - [DNAFieldAttribute(12, "float", 0, "vector[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "vector[3]", "System.Single[]", 3, 0)] public float[] vector = new System.Single[3]; public NodeInputVector() { this.vector = default; diff --git a/BlendFile/DNA/NodeKeyingScreenData.cs b/BlendFile/DNA/NodeKeyingScreenData.cs index ba297c5..94bda12 100644 --- a/BlendFile/DNA/NodeKeyingScreenData.cs +++ b/BlendFile/DNA/NodeKeyingScreenData.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(656, "NodeKeyingScreenData", 68)] public class NodeKeyingScreenData { - [DNAFieldAttribute(64, "char", 0, "tracking_object[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "tracking_object[64]", "System.Char[]", 64, 0)] public char[] tracking_object = new System.Char[64]; [DNAFieldAttribute(4, "float", 1, "smoothness", "float", false, 64)] public float smoothness; diff --git a/BlendFile/DNA/NodeKuwaharaData.cs b/BlendFile/DNA/NodeKuwaharaData.cs index 6f6b22b..e143479 100644 --- a/BlendFile/DNA/NodeKuwaharaData.cs +++ b/BlendFile/DNA/NodeKuwaharaData.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public float eccentricity; [DNAFieldAttribute(1, "char", 5, "high_precision", "char", false, 16)] public char high_precision; - [DNAFieldAttribute(3, "char", 6, "_pad[3]", "System.Char[]", false, 17)] + [DNAArrayAttribute(3, "char", 6, "_pad[3]", "System.Char[]", 3, 17)] public char[] _pad = new System.Char[3]; public NodeKuwaharaData() { this.size = default; diff --git a/BlendFile/DNA/NodeLensDist.cs b/BlendFile/DNA/NodeLensDist.cs index c445e4a..fe7eee0 100644 --- a/BlendFile/DNA/NodeLensDist.cs +++ b/BlendFile/DNA/NodeLensDist.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public short proj; [DNAFieldAttribute(2, "short", 2, "fit", "short", false, 4)] public short fit; - [DNAFieldAttribute(2, "char", 3, "_pad[2]", "System.Char[]", false, 6)] + [DNAArrayAttribute(2, "char", 3, "_pad[2]", "System.Char[]", 2, 6)] public char[] _pad = new System.Char[2]; public NodeLensDist() { this.jit = default; diff --git a/BlendFile/DNA/NodeMapRange.cs b/BlendFile/DNA/NodeMapRange.cs index 5bf3311..09bd03d 100644 --- a/BlendFile/DNA/NodeMapRange.cs +++ b/BlendFile/DNA/NodeMapRange.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public byte interpolation_type; [DNAFieldAttribute(1, "uchar", 2, "clamp", "uchar", false, 2)] public byte clamp; - [DNAFieldAttribute(5, "char", 3, "_pad[5]", "System.Char[]", false, 3)] + [DNAArrayAttribute(5, "char", 3, "_pad[5]", "System.Char[]", 5, 3)] public char[] _pad = new System.Char[5]; public NodeMapRange() { this.data_type = default; diff --git a/BlendFile/DNA/NodeMenuSwitch.cs b/BlendFile/DNA/NodeMenuSwitch.cs index 32fbb44..057412d 100644 --- a/BlendFile/DNA/NodeMenuSwitch.cs +++ b/BlendFile/DNA/NodeMenuSwitch.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public NodeEnumDefinition enum_definition; [DNAFieldAttribute(1, "uchar", 1, "data_type", "uchar", false, 24)] public byte data_type; - [DNAFieldAttribute(7, "char", 2, "_pad[7]", "System.Char[]", false, 25)] + [DNAArrayAttribute(7, "char", 2, "_pad[7]", "System.Char[]", 7, 25)] public char[] _pad = new System.Char[7]; public NodeMenuSwitch() { this.enum_definition = default; diff --git a/BlendFile/DNA/NodePlaneTrackDeformData.cs b/BlendFile/DNA/NodePlaneTrackDeformData.cs index 8296ec0..e74865e 100644 --- a/BlendFile/DNA/NodePlaneTrackDeformData.cs +++ b/BlendFile/DNA/NodePlaneTrackDeformData.cs @@ -15,15 +15,15 @@ namespace BlendFile.DNA { [DNAClassAttribute(660, "NodePlaneTrackDeformData", 136)] public class NodePlaneTrackDeformData { - [DNAFieldAttribute(64, "char", 0, "tracking_object[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "tracking_object[64]", "System.Char[]", 64, 0)] public char[] tracking_object = new System.Char[64]; - [DNAFieldAttribute(64, "char", 1, "plane_track_name[64]", "System.Char[]", false, 64)] + [DNAArrayAttribute(64, "char", 1, "plane_track_name[64]", "System.Char[]", 64, 64)] public char[] plane_track_name = new System.Char[64]; [DNAFieldAttribute(1, "char", 2, "flag", "char", false, 128)] public char flag; [DNAFieldAttribute(1, "char", 3, "motion_blur_samples", "char", false, 129)] public char motion_blur_samples; - [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 130)] + [DNAArrayAttribute(2, "char", 4, "_pad[2]", "System.Char[]", 2, 130)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 5, "motion_blur_shutter", "float", false, 132)] public float motion_blur_shutter; diff --git a/BlendFile/DNA/NodeRepeatItem.cs b/BlendFile/DNA/NodeRepeatItem.cs index afd0421..7cfc961 100644 --- a/BlendFile/DNA/NodeRepeatItem.cs +++ b/BlendFile/DNA/NodeRepeatItem.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public char name; [DNAFieldAttribute(2, "short", 1, "socket_type", "short", false, 8)] public short socket_type; - [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 10)] + [DNAArrayAttribute(2, "char", 2, "_pad[2]", "System.Char[]", 2, 10)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 3, "identifier", "int", false, 12)] public int identifier; diff --git a/BlendFile/DNA/NodeReroute.cs b/BlendFile/DNA/NodeReroute.cs index 64486de..2384500 100644 --- a/BlendFile/DNA/NodeReroute.cs +++ b/BlendFile/DNA/NodeReroute.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(600, "NodeReroute", 64)] public class NodeReroute { - [DNAFieldAttribute(64, "char", 0, "type_idname[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "type_idname[64]", "System.Char[]", 64, 0)] public char[] type_idname = new System.Char[64]; public NodeReroute() { this.type_idname = default; diff --git a/BlendFile/DNA/NodeShaderAttribute.cs b/BlendFile/DNA/NodeShaderAttribute.cs index e871093..fdfc77a 100644 --- a/BlendFile/DNA/NodeShaderAttribute.cs +++ b/BlendFile/DNA/NodeShaderAttribute.cs @@ -15,11 +15,11 @@ namespace BlendFile.DNA { [DNAClassAttribute(649, "NodeShaderAttribute", 264)] public class NodeShaderAttribute { - [DNAFieldAttribute(256, "char", 0, "name[256]", "System.Char[]", false, 0)] + [DNAArrayAttribute(256, "char", 0, "name[256]", "System.Char[]", 256, 0)] public char[] name = new System.Char[256]; [DNAFieldAttribute(4, "int", 1, "type", "int", false, 256)] public int type; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 260)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 260)] public char[] _pad = new System.Char[4]; public NodeShaderAttribute() { this.name = default; diff --git a/BlendFile/DNA/NodeShaderHairPrincipled.cs b/BlendFile/DNA/NodeShaderHairPrincipled.cs index b49070c..bbbd4ef 100644 --- a/BlendFile/DNA/NodeShaderHairPrincipled.cs +++ b/BlendFile/DNA/NodeShaderHairPrincipled.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public short model; [DNAFieldAttribute(2, "short", 1, "parametrization", "short", false, 2)] public short parametrization; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 4)] public char[] _pad = new System.Char[4]; public NodeShaderHairPrincipled() { this.model = default; diff --git a/BlendFile/DNA/NodeShaderMix.cs b/BlendFile/DNA/NodeShaderMix.cs index 4e52dad..6f0f85b 100644 --- a/BlendFile/DNA/NodeShaderMix.cs +++ b/BlendFile/DNA/NodeShaderMix.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public sbyte clamp_result; [DNAFieldAttribute(1, "int8_t", 4, "blend_type", "int8_t", false, 4)] public sbyte blend_type; - [DNAFieldAttribute(3, "char", 5, "_pad[3]", "System.Char[]", false, 5)] + [DNAArrayAttribute(3, "char", 5, "_pad[3]", "System.Char[]", 3, 5)] public char[] _pad = new System.Char[3]; public NodeShaderMix() { this.data_type = default; diff --git a/BlendFile/DNA/NodeShaderNormalMap.cs b/BlendFile/DNA/NodeShaderNormalMap.cs index ca30954..8e3b324 100644 --- a/BlendFile/DNA/NodeShaderNormalMap.cs +++ b/BlendFile/DNA/NodeShaderNormalMap.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class NodeShaderNormalMap { [DNAFieldAttribute(4, "int", 0, "space", "int", false, 0)] public int space; - [DNAFieldAttribute(64, "char", 1, "uv_map[64]", "System.Char[]", false, 4)] + [DNAArrayAttribute(64, "char", 1, "uv_map[64]", "System.Char[]", 64, 4)] public char[] uv_map = new System.Char[64]; public NodeShaderNormalMap() { this.space = default; diff --git a/BlendFile/DNA/NodeShaderOutputAOV.cs b/BlendFile/DNA/NodeShaderOutputAOV.cs index d3eacc8..0a48826 100644 --- a/BlendFile/DNA/NodeShaderOutputAOV.cs +++ b/BlendFile/DNA/NodeShaderOutputAOV.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(667, "NodeShaderOutputAOV", 64)] public class NodeShaderOutputAOV { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; public NodeShaderOutputAOV() { this.name = default; diff --git a/BlendFile/DNA/NodeShaderPrincipled.cs b/BlendFile/DNA/NodeShaderPrincipled.cs index cfd193f..0e9e272 100644 --- a/BlendFile/DNA/NodeShaderPrincipled.cs +++ b/BlendFile/DNA/NodeShaderPrincipled.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class NodeShaderPrincipled { [DNAFieldAttribute(1, "char", 0, "use_subsurface_auto_radius", "char", false, 0)] public char use_subsurface_auto_radius; - [DNAFieldAttribute(3, "char", 1, "_pad[3]", "System.Char[]", false, 1)] + [DNAArrayAttribute(3, "char", 1, "_pad[3]", "System.Char[]", 3, 1)] public char[] _pad = new System.Char[3]; public NodeShaderPrincipled() { this.use_subsurface_auto_radius = default; diff --git a/BlendFile/DNA/NodeShaderScript.cs b/BlendFile/DNA/NodeShaderScript.cs index bb669fd..a9cc8ed 100644 --- a/BlendFile/DNA/NodeShaderScript.cs +++ b/BlendFile/DNA/NodeShaderScript.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public int mode; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 4)] public int flag; - [DNAFieldAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", false, 8)] + [DNAArrayAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", 1024, 8)] public char[] filepath = new System.Char[1024]; - [DNAFieldAttribute(64, "char", 3, "bytecode_hash[64]", "System.Char[]", false, 1032)] + [DNAArrayAttribute(64, "char", 3, "bytecode_hash[64]", "System.Char[]", 64, 1032)] public char[] bytecode_hash = new System.Char[64]; [DNAFieldAttribute(8, "char", 4, "*bytecode", "char", true, 1096)] public char bytecode; diff --git a/BlendFile/DNA/NodeShaderTangent.cs b/BlendFile/DNA/NodeShaderTangent.cs index d4c15a7..98b1f13 100644 --- a/BlendFile/DNA/NodeShaderTangent.cs +++ b/BlendFile/DNA/NodeShaderTangent.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public int direction_type; [DNAFieldAttribute(4, "int", 1, "axis", "int", false, 4)] public int axis; - [DNAFieldAttribute(64, "char", 2, "uv_map[64]", "System.Char[]", false, 8)] + [DNAArrayAttribute(64, "char", 2, "uv_map[64]", "System.Char[]", 64, 8)] public char[] uv_map = new System.Char[64]; public NodeShaderTangent() { this.direction_type = default; diff --git a/BlendFile/DNA/NodeShaderTexIES.cs b/BlendFile/DNA/NodeShaderTexIES.cs index d850744..d477f06 100644 --- a/BlendFile/DNA/NodeShaderTexIES.cs +++ b/BlendFile/DNA/NodeShaderTexIES.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class NodeShaderTexIES { [DNAFieldAttribute(4, "int", 0, "mode", "int", false, 0)] public int mode; - [DNAFieldAttribute(1024, "char", 1, "filepath[1024]", "System.Char[]", false, 4)] + [DNAArrayAttribute(1024, "char", 1, "filepath[1024]", "System.Char[]", 1024, 4)] public char[] filepath = new System.Char[1024]; public NodeShaderTexIES() { this.mode = default; diff --git a/BlendFile/DNA/NodeShaderTexPointDensity.cs b/BlendFile/DNA/NodeShaderTexPointDensity.cs index c0f76b0..dc13ce4 100644 --- a/BlendFile/DNA/NodeShaderTexPointDensity.cs +++ b/BlendFile/DNA/NodeShaderTexPointDensity.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public NodeTexBase @base; [DNAFieldAttribute(2, "short", 1, "point_source", "short", false, 960)] public short point_source; - [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 962)] + [DNAArrayAttribute(2, "char", 2, "_pad[2]", "System.Char[]", 2, 962)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 3, "particle_system", "int", false, 964)] public int particle_system; @@ -39,7 +39,7 @@ namespace BlendFile.DNA { public PointDensity pd; [DNAFieldAttribute(4, "int", 11, "cached_resolution", "int", false, 1160)] public int cached_resolution; - [DNAFieldAttribute(68, "char", 12, "vertex_attribute_name[68]", "System.Char[]", false, 1164)] + [DNAArrayAttribute(68, "char", 12, "vertex_attribute_name[68]", "System.Char[]", 68, 1164)] public char[] vertex_attribute_name = new System.Char[68]; public NodeShaderTexPointDensity() { this.@base = default; diff --git a/BlendFile/DNA/NodeShaderUVMap.cs b/BlendFile/DNA/NodeShaderUVMap.cs index 665b4c8..7e37f5d 100644 --- a/BlendFile/DNA/NodeShaderUVMap.cs +++ b/BlendFile/DNA/NodeShaderUVMap.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(664, "NodeShaderUVMap", 64)] public class NodeShaderUVMap { - [DNAFieldAttribute(64, "char", 0, "uv_map[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "uv_map[64]", "System.Char[]", 64, 0)] public char[] uv_map = new System.Char[64]; public NodeShaderUVMap() { this.uv_map = default; diff --git a/BlendFile/DNA/NodeShaderVectTransform.cs b/BlendFile/DNA/NodeShaderVectTransform.cs index c5a73e1..10e3846 100644 --- a/BlendFile/DNA/NodeShaderVectTransform.cs +++ b/BlendFile/DNA/NodeShaderVectTransform.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public int convert_from; [DNAFieldAttribute(4, "int", 2, "convert_to", "int", false, 8)] public int convert_to; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; public NodeShaderVectTransform() { this.type = default; diff --git a/BlendFile/DNA/NodeShaderVertexColor.cs b/BlendFile/DNA/NodeShaderVertexColor.cs index 7711433..afd7401 100644 --- a/BlendFile/DNA/NodeShaderVertexColor.cs +++ b/BlendFile/DNA/NodeShaderVertexColor.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(665, "NodeShaderVertexColor", 64)] public class NodeShaderVertexColor { - [DNAFieldAttribute(64, "char", 0, "layer_name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "layer_name[64]", "System.Char[]", 64, 0)] public char[] layer_name = new System.Char[64]; public NodeShaderVertexColor() { this.layer_name = default; diff --git a/BlendFile/DNA/NodeSunBeams.cs b/BlendFile/DNA/NodeSunBeams.cs index 5a4a6f5..260c9b5 100644 --- a/BlendFile/DNA/NodeSunBeams.cs +++ b/BlendFile/DNA/NodeSunBeams.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(668, "NodeSunBeams", 12)] public class NodeSunBeams { - [DNAFieldAttribute(8, "float", 0, "source[2]", "System.Single[]", false, 0)] + [DNAArrayAttribute(8, "float", 0, "source[2]", "System.Single[]", 2, 0)] public float[] source = new System.Single[2]; [DNAFieldAttribute(4, "float", 1, "ray_length", "float", false, 8)] public float ray_length; diff --git a/BlendFile/DNA/NodeTexEnvironment.cs b/BlendFile/DNA/NodeTexEnvironment.cs index e6ecfbd..3d78c34 100644 --- a/BlendFile/DNA/NodeTexEnvironment.cs +++ b/BlendFile/DNA/NodeTexEnvironment.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int projection; [DNAFieldAttribute(4, "int", 4, "interpolation", "int", false, 1008)] public int interpolation; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 1012)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 1012)] public char[] _pad = new System.Char[4]; public NodeTexEnvironment() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexGabor.cs b/BlendFile/DNA/NodeTexGabor.cs index f4a24c3..23b7e7a 100644 --- a/BlendFile/DNA/NodeTexGabor.cs +++ b/BlendFile/DNA/NodeTexGabor.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public NodeTexBase @base; [DNAFieldAttribute(1, "char", 1, "type", "char", false, 960)] public char type; - [DNAFieldAttribute(7, "char", 2, "_pad[7]", "System.Char[]", false, 961)] + [DNAArrayAttribute(7, "char", 2, "_pad[7]", "System.Char[]", 7, 961)] public char[] _pad = new System.Char[7]; public NodeTexGabor() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexGradient.cs b/BlendFile/DNA/NodeTexGradient.cs index b779a43..8914b95 100644 --- a/BlendFile/DNA/NodeTexGradient.cs +++ b/BlendFile/DNA/NodeTexGradient.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public NodeTexBase @base; [DNAFieldAttribute(4, "int", 1, "gradient_type", "int", false, 960)] public int gradient_type; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 964)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 964)] public char[] _pad = new System.Char[4]; public NodeTexGradient() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexImage.cs b/BlendFile/DNA/NodeTexImage.cs index 2b987d8..3e1e438 100644 --- a/BlendFile/DNA/NodeTexImage.cs +++ b/BlendFile/DNA/NodeTexImage.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public int interpolation; [DNAFieldAttribute(4, "int", 6, "extension", "int", false, 1016)] public int extension; - [DNAFieldAttribute(4, "char", 7, "_pad[4]", "System.Char[]", false, 1020)] + [DNAArrayAttribute(4, "char", 7, "_pad[4]", "System.Char[]", 4, 1020)] public char[] _pad = new System.Char[4]; public NodeTexImage() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexMagic.cs b/BlendFile/DNA/NodeTexMagic.cs index 8a578b5..54966f3 100644 --- a/BlendFile/DNA/NodeTexMagic.cs +++ b/BlendFile/DNA/NodeTexMagic.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public NodeTexBase @base; [DNAFieldAttribute(4, "int", 1, "depth", "int", false, 960)] public int depth; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 964)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 964)] public char[] _pad = new System.Char[4]; public NodeTexMagic() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexNoise.cs b/BlendFile/DNA/NodeTexNoise.cs index 146ca55..03eced9 100644 --- a/BlendFile/DNA/NodeTexNoise.cs +++ b/BlendFile/DNA/NodeTexNoise.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public byte type; [DNAFieldAttribute(1, "uchar", 3, "normalize", "uchar", false, 965)] public byte normalize; - [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 966)] + [DNAArrayAttribute(2, "char", 4, "_pad[2]", "System.Char[]", 2, 966)] public char[] _pad = new System.Char[2]; public NodeTexNoise() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexSky.cs b/BlendFile/DNA/NodeTexSky.cs index ed7b7d6..3057a4e 100644 --- a/BlendFile/DNA/NodeTexSky.cs +++ b/BlendFile/DNA/NodeTexSky.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public NodeTexBase @base; [DNAFieldAttribute(4, "int", 1, "sky_model", "int", false, 960)] public int sky_model; - [DNAFieldAttribute(12, "float", 2, "sun_direction[3]", "System.Single[]", false, 964)] + [DNAArrayAttribute(12, "float", 2, "sun_direction[3]", "System.Single[]", 3, 964)] public float[] sun_direction = new System.Single[3]; [DNAFieldAttribute(4, "float", 3, "turbidity", "float", false, 976)] public float turbidity; @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public float ozone_density; [DNAFieldAttribute(1, "char", 13, "sun_disc", "char", false, 1016)] public char sun_disc; - [DNAFieldAttribute(7, "char", 14, "_pad[7]", "System.Char[]", false, 1017)] + [DNAArrayAttribute(7, "char", 14, "_pad[7]", "System.Char[]", 7, 1017)] public char[] _pad = new System.Char[7]; public NodeTexSky() { this.@base = default; diff --git a/BlendFile/DNA/NodeTexVoronoi.cs b/BlendFile/DNA/NodeTexVoronoi.cs index 44231e2..5232913 100644 --- a/BlendFile/DNA/NodeTexVoronoi.cs +++ b/BlendFile/DNA/NodeTexVoronoi.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int normalize; [DNAFieldAttribute(4, "int", 5, "coloring", "int", false, 976)] public int coloring; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 980)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 980)] public char[] _pad = new System.Char[4]; public NodeTexVoronoi() { this.@base = default; diff --git a/BlendFile/DNA/NodeTrackPosData.cs b/BlendFile/DNA/NodeTrackPosData.cs index aca7da3..fc276b2 100644 --- a/BlendFile/DNA/NodeTrackPosData.cs +++ b/BlendFile/DNA/NodeTrackPosData.cs @@ -15,9 +15,9 @@ namespace BlendFile.DNA { [DNAClassAttribute(658, "NodeTrackPosData", 128)] public class NodeTrackPosData { - [DNAFieldAttribute(64, "char", 0, "tracking_object[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "tracking_object[64]", "System.Char[]", 64, 0)] public char[] tracking_object = new System.Char[64]; - [DNAFieldAttribute(64, "char", 1, "track_name[64]", "System.Char[]", false, 64)] + [DNAArrayAttribute(64, "char", 1, "track_name[64]", "System.Char[]", 64, 64)] public char[] track_name = new System.Char[64]; public NodeTrackPosData() { this.tracking_object = default; diff --git a/BlendFile/DNA/NodeVertexCol.cs b/BlendFile/DNA/NodeVertexCol.cs index 0391623..9ef9833 100644 --- a/BlendFile/DNA/NodeVertexCol.cs +++ b/BlendFile/DNA/NodeVertexCol.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(621, "NodeVertexCol", 64)] public class NodeVertexCol { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; public NodeVertexCol() { this.name = default; diff --git a/BlendFile/DNA/NodesModifierBake.cs b/BlendFile/DNA/NodesModifierBake.cs index 7b92187..58f2832 100644 --- a/BlendFile/DNA/NodesModifierBake.cs +++ b/BlendFile/DNA/NodesModifierBake.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public byte bake_mode; [DNAFieldAttribute(1, "int8_t", 3, "bake_target", "int8_t", false, 9)] public sbyte bake_target; - [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 10)] + [DNAArrayAttribute(6, "char", 4, "_pad[6]", "System.Char[]", 6, 10)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(8, "char", 5, "*directory", "char", true, 16)] public char directory; diff --git a/BlendFile/DNA/NodesModifierData.cs b/BlendFile/DNA/NodesModifierData.cs index 1e674cf..4ae9a63 100644 --- a/BlendFile/DNA/NodesModifierData.cs +++ b/BlendFile/DNA/NodesModifierData.cs @@ -27,13 +27,13 @@ namespace BlendFile.DNA { public sbyte flag; [DNAFieldAttribute(1, "int8_t", 5, "bake_target", "int8_t", false, 145)] public sbyte bake_target; - [DNAFieldAttribute(2, "char", 6, "_pad[2]", "System.Char[]", false, 146)] + [DNAArrayAttribute(2, "char", 6, "_pad[2]", "System.Char[]", 2, 146)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 7, "bakes_num", "int", false, 148)] public int bakes_num; [DNAFieldAttribute(8, "NodesModifierBake", 8, "*bakes", "NodesModifierBake", true, 152)] public NodesModifierBake bakes; - [DNAFieldAttribute(4, "char", 9, "_pad2[4]", "System.Char[]", false, 160)] + [DNAArrayAttribute(4, "char", 9, "_pad2[4]", "System.Char[]", 4, 160)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(4, "int", 10, "panels_num", "int", false, 164)] public int panels_num; diff --git a/BlendFile/DNA/NodesModifierDataBlock.cs b/BlendFile/DNA/NodesModifierDataBlock.cs index f8f708a..a0e8340 100644 --- a/BlendFile/DNA/NodesModifierDataBlock.cs +++ b/BlendFile/DNA/NodesModifierDataBlock.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public ID id; [DNAFieldAttribute(4, "int", 3, "id_type", "int", false, 24)] public int id_type; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 28)] public char[] _pad = new System.Char[4]; public NodesModifierDataBlock() { this.id_name = default; diff --git a/BlendFile/DNA/NoiseGpencilModifierData.cs b/BlendFile/DNA/NoiseGpencilModifierData.cs index a0eabc1..8c59440 100644 --- a/BlendFile/DNA/NoiseGpencilModifierData.cs +++ b/BlendFile/DNA/NoiseGpencilModifierData.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] + [DNAArrayAttribute(64, "char", 4, "vgname[64]", "System.Char[]", 64, 240)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public float noise_offset; [DNAFieldAttribute(2, "short", 13, "noise_mode", "short", false, 336)] public short noise_mode; - [DNAFieldAttribute(2, "char", 14, "_pad[2]", "System.Char[]", false, 338)] + [DNAArrayAttribute(2, "char", 14, "_pad[2]", "System.Char[]", 2, 338)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "int", 15, "step", "int", false, 340)] public int step; diff --git a/BlendFile/DNA/NormalEditModifierData.cs b/BlendFile/DNA/NormalEditModifierData.cs index 142795f..cc0ab90 100644 --- a/BlendFile/DNA/NormalEditModifierData.cs +++ b/BlendFile/DNA/NormalEditModifierData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class NormalEditModifierData { [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", 64, 120)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(8, "Object", 2, "*target", "Object", true, 184)] public Object target; @@ -27,15 +27,15 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 5, "mix_mode", "short", false, 196)] public short mix_mode; - [DNAFieldAttribute(2, "char", 6, "_pad[2]", "System.Char[]", false, 198)] + [DNAArrayAttribute(2, "char", 6, "_pad[2]", "System.Char[]", 2, 198)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 7, "mix_factor", "float", false, 200)] public float mix_factor; [DNAFieldAttribute(4, "float", 8, "mix_limit", "float", false, 204)] public float mix_limit; - [DNAFieldAttribute(12, "float", 9, "offset[3]", "System.Single[]", false, 208)] + [DNAArrayAttribute(12, "float", 9, "offset[3]", "System.Single[]", 3, 208)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(4, "char", 10, "_pad0[4]", "System.Char[]", false, 220)] + [DNAArrayAttribute(4, "char", 10, "_pad0[4]", "System.Char[]", 4, 220)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(8, "void", 11, "*_pad1", "void", true, 224)] public object _pad1; diff --git a/BlendFile/DNA/Nurb.cs b/BlendFile/DNA/Nurb.cs index 85bf415..160242e 100644 --- a/BlendFile/DNA/Nurb.cs +++ b/BlendFile/DNA/Nurb.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public int pntsu; [DNAFieldAttribute(4, "int", 7, "pntsv", "int", false, 28)] public int pntsv; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 32)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 32)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(2, "short", 9, "resolu", "short", false, 36)] public short resolu; diff --git a/BlendFile/DNA/ObHook.cs b/BlendFile/DNA/ObHook.cs index da080ab..b7d28f3 100644 --- a/BlendFile/DNA/ObHook.cs +++ b/BlendFile/DNA/ObHook.cs @@ -21,15 +21,15 @@ namespace BlendFile.DNA { public ObHook prev; [DNAFieldAttribute(8, "Object", 2, "*parent", "Object", true, 16)] public Object parent; - [DNAFieldAttribute(64, "float", 3, "parentinv[4][4]", "System.Single[,]", false, 24)] + [DNAArrayAttribute(64, "float", 3, "parentinv[4][4]", "System.Single[,]", 8, 24)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 4, "mat[4][4]", "System.Single[,]", false, 88)] + [DNAArrayAttribute(64, "float", 4, "mat[4][4]", "System.Single[,]", 8, 88)] public float[,] mat = new System.Single[4,4]; - [DNAFieldAttribute(12, "float", 5, "cent[3]", "System.Single[]", false, 152)] + [DNAArrayAttribute(12, "float", 5, "cent[3]", "System.Single[]", 3, 152)] public float[] cent = new System.Single[3]; [DNAFieldAttribute(4, "float", 6, "falloff", "float", false, 164)] public float falloff; - [DNAFieldAttribute(64, "char", 7, "name[64]", "System.Char[]", false, 168)] + [DNAArrayAttribute(64, "char", 7, "name[64]", "System.Char[]", 64, 168)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "int", 8, "*indexar", "int", true, 232)] public int indexar; diff --git a/BlendFile/DNA/Object.cs b/BlendFile/DNA/Object.cs index 15d692a..bab63a1 100644 --- a/BlendFile/DNA/Object.cs +++ b/BlendFile/DNA/Object.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public int par2; [DNAFieldAttribute(4, "int", 8, "par3", "int", false, 252)] public int par3; - [DNAFieldAttribute(64, "char", 9, "parsubstr[64]", "System.Char[]", false, 256)] + [DNAArrayAttribute(64, "char", 9, "parsubstr[64]", "System.Char[]", 64, 256)] public char[] parsubstr = new System.Char[64]; [DNAFieldAttribute(8, "Object", 10, "*parent", "Object", true, 320)] public Object parent; @@ -89,35 +89,35 @@ namespace BlendFile.DNA { public int totcol; [DNAFieldAttribute(4, "int", 36, "actcol", "int", false, 596)] public int actcol; - [DNAFieldAttribute(12, "float", 37, "loc[3]", "System.Single[]", false, 600)] + [DNAArrayAttribute(12, "float", 37, "loc[3]", "System.Single[]", 3, 600)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 38, "dloc[3]", "System.Single[]", false, 612)] + [DNAArrayAttribute(12, "float", 38, "dloc[3]", "System.Single[]", 3, 612)] public float[] dloc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 39, "size[3]", "System.Single[]", false, 624)] + [DNAArrayAttribute(12, "float", 39, "size[3]", "System.Single[]", 3, 624)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(12, "float", 40, "dsize[3]", "System.Single[]", false, 636)] + [DNAArrayAttribute(12, "float", 40, "dsize[3]", "System.Single[]", 3, 636)] public float[] dsize = new System.Single[3]; - [DNAFieldAttribute(12, "float", 41, "dscale[3]", "System.Single[]", false, 648)] + [DNAArrayAttribute(12, "float", 41, "dscale[3]", "System.Single[]", 3, 648)] public float[] dscale = new System.Single[3]; - [DNAFieldAttribute(12, "float", 42, "rot[3]", "System.Single[]", false, 660)] + [DNAArrayAttribute(12, "float", 42, "rot[3]", "System.Single[]", 3, 660)] public float[] rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 43, "drot[3]", "System.Single[]", false, 672)] + [DNAArrayAttribute(12, "float", 43, "drot[3]", "System.Single[]", 3, 672)] public float[] drot = new System.Single[3]; - [DNAFieldAttribute(16, "float", 44, "quat[4]", "System.Single[]", false, 684)] + [DNAArrayAttribute(16, "float", 44, "quat[4]", "System.Single[]", 4, 684)] public float[] quat = new System.Single[4]; - [DNAFieldAttribute(16, "float", 45, "dquat[4]", "System.Single[]", false, 700)] + [DNAArrayAttribute(16, "float", 45, "dquat[4]", "System.Single[]", 4, 700)] public float[] dquat = new System.Single[4]; - [DNAFieldAttribute(12, "float", 46, "rotAxis[3]", "System.Single[]", false, 716)] + [DNAArrayAttribute(12, "float", 46, "rotAxis[3]", "System.Single[]", 3, 716)] public float[] rotAxis = new System.Single[3]; - [DNAFieldAttribute(12, "float", 47, "drotAxis[3]", "System.Single[]", false, 728)] + [DNAArrayAttribute(12, "float", 47, "drotAxis[3]", "System.Single[]", 3, 728)] public float[] drotAxis = new System.Single[3]; [DNAFieldAttribute(4, "float", 48, "rotAngle", "float", false, 740)] public float rotAngle; [DNAFieldAttribute(4, "float", 49, "drotAngle", "float", false, 744)] public float drotAngle; - [DNAFieldAttribute(64, "float", 50, "parentinv[4][4]", "System.Single[,]", false, 748)] + [DNAArrayAttribute(64, "float", 50, "parentinv[4][4]", "System.Single[,]", 8, 748)] public float[,] parentinv = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 51, "constinv[4][4]", "System.Single[,]", false, 812)] + [DNAArrayAttribute(64, "float", 51, "constinv[4][4]", "System.Single[,]", 8, 812)] public float[,] constinv = new System.Single[4,4]; [DNAFieldAttribute(4, "int", 52, "lay", "int", false, 876)] public int lay; @@ -167,9 +167,9 @@ namespace BlendFile.DNA { public short index; [DNAFieldAttribute(2, "short", 75, "actdef", "short", false, 922)] public short actdef; - [DNAFieldAttribute(4, "char", 76, "_pad2[4]", "System.Char[]", false, 924)] + [DNAArrayAttribute(4, "char", 76, "_pad2[4]", "System.Char[]", 4, 924)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(16, "float", 77, "col[4]", "System.Single[]", false, 928)] + [DNAArrayAttribute(16, "float", 77, "col[4]", "System.Single[]", 4, 928)] public float[] col = new System.Single[4]; [DNAFieldAttribute(2, "short", 78, "softflag", "short", false, 944)] public short softflag; @@ -179,7 +179,7 @@ namespace BlendFile.DNA { public short shapenr; [DNAFieldAttribute(1, "char", 81, "shapeflag", "char", false, 950)] public char shapeflag; - [DNAFieldAttribute(1, "char", 82, "_pad3[1]", "System.Char[]", false, 951)] + [DNAArrayAttribute(1, "char", 82, "_pad3[1]", "System.Char[]", 1, 951)] public char[] _pad3 = new System.Char[1]; [DNAFieldAttribute(16, "ListBase", 83, "constraints", "ListBase", false, 952)] public ListBase constraints; @@ -203,7 +203,7 @@ namespace BlendFile.DNA { public RigidBodyOb rigidbody_object; [DNAFieldAttribute(8, "RigidBodyCon", 93, "*rigidbody_constraint", "RigidBodyCon", true, 1072)] public RigidBodyCon rigidbody_constraint; - [DNAFieldAttribute(8, "float", 94, "ima_ofs[2]", "System.Single[]", false, 1080)] + [DNAArrayAttribute(8, "float", 94, "ima_ofs[2]", "System.Single[]", 2, 1080)] public float[] ima_ofs = new System.Single[2]; [DNAFieldAttribute(8, "ImageUser", 95, "*iuser", "ImageUser", true, 1088)] public ImageUser iuser; @@ -215,7 +215,7 @@ namespace BlendFile.DNA { public char empty_image_flag; [DNAFieldAttribute(1, "uchar", 99, "modifier_flag", "uchar", false, 1099)] public byte modifier_flag; - [DNAFieldAttribute(4, "char", 100, "_pad8[4]", "System.Char[]", false, 1100)] + [DNAArrayAttribute(4, "char", 100, "_pad8[4]", "System.Char[]", 4, 1100)] public char[] _pad8 = new System.Char[4]; [DNAFieldAttribute(8, "PreviewImage", 101, "*preview", "PreviewImage", true, 1104)] public PreviewImage preview; diff --git a/BlendFile/DNA/ObjectLineArt.cs b/BlendFile/DNA/ObjectLineArt.cs index 33a8a90..ab67f9f 100644 --- a/BlendFile/DNA/ObjectLineArt.cs +++ b/BlendFile/DNA/ObjectLineArt.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public float crease_threshold; [DNAFieldAttribute(1, "char", 3, "intersection_priority", "char", false, 8)] public char intersection_priority; - [DNAFieldAttribute(7, "char", 4, "_pad[7]", "System.Char[]", false, 9)] + [DNAArrayAttribute(7, "char", 4, "_pad[7]", "System.Char[]", 7, 9)] public char[] _pad = new System.Char[7]; public ObjectLineArt() { this.usage = default; diff --git a/BlendFile/DNA/OceanModifierData.cs b/BlendFile/DNA/OceanModifierData.cs index 66e4238..940fbbb 100644 --- a/BlendFile/DNA/OceanModifierData.cs +++ b/BlendFile/DNA/OceanModifierData.cs @@ -57,11 +57,11 @@ namespace BlendFile.DNA { public int bakestart; [DNAFieldAttribute(4, "int", 20, "bakeend", "int", false, 204)] public int bakeend; - [DNAFieldAttribute(1024, "char", 21, "cachepath[1024]", "System.Char[]", false, 208)] + [DNAArrayAttribute(1024, "char", 21, "cachepath[1024]", "System.Char[]", 1024, 208)] public char[] cachepath = new System.Char[1024]; - [DNAFieldAttribute(68, "char", 22, "foamlayername[68]", "System.Char[]", false, 1232)] + [DNAArrayAttribute(68, "char", 22, "foamlayername[68]", "System.Char[]", 68, 1232)] public char[] foamlayername = new System.Char[68]; - [DNAFieldAttribute(68, "char", 23, "spraylayername[68]", "System.Char[]", false, 1300)] + [DNAArrayAttribute(68, "char", 23, "spraylayername[68]", "System.Char[]", 68, 1300)] public char[] spraylayername = new System.Char[68]; [DNAFieldAttribute(1, "char", 24, "cached", "char", false, 1368)] public char cached; @@ -81,7 +81,7 @@ namespace BlendFile.DNA { public float size; [DNAFieldAttribute(4, "float", 32, "foam_fade", "float", false, 1384)] public float foam_fade; - [DNAFieldAttribute(4, "char", 33, "_pad[4]", "System.Char[]", false, 1388)] + [DNAArrayAttribute(4, "char", 33, "_pad[4]", "System.Char[]", 4, 1388)] public char[] _pad = new System.Char[4]; public OceanModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/OffsetGpencilModifierData.cs b/BlendFile/DNA/OffsetGpencilModifierData.cs index 8d2c303..e4205f3 100644 --- a/BlendFile/DNA/OffsetGpencilModifierData.cs +++ b/BlendFile/DNA/OffsetGpencilModifierData.cs @@ -19,27 +19,27 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] + [DNAArrayAttribute(64, "char", 4, "vgname[64]", "System.Char[]", 64, 240)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 308)] public int flag; - [DNAFieldAttribute(12, "float", 7, "loc[3]", "System.Single[]", false, 312)] + [DNAArrayAttribute(12, "float", 7, "loc[3]", "System.Single[]", 3, 312)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 8, "rot[3]", "System.Single[]", false, 324)] + [DNAArrayAttribute(12, "float", 8, "rot[3]", "System.Single[]", 3, 324)] public float[] rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 9, "scale[3]", "System.Single[]", false, 336)] + [DNAArrayAttribute(12, "float", 9, "scale[3]", "System.Single[]", 3, 336)] public float[] scale = new System.Single[3]; - [DNAFieldAttribute(12, "float", 10, "rnd_offset[3]", "System.Single[]", false, 348)] + [DNAArrayAttribute(12, "float", 10, "rnd_offset[3]", "System.Single[]", 3, 348)] public float[] rnd_offset = new System.Single[3]; - [DNAFieldAttribute(12, "float", 11, "rnd_rot[3]", "System.Single[]", false, 360)] + [DNAArrayAttribute(12, "float", 11, "rnd_rot[3]", "System.Single[]", 3, 360)] public float[] rnd_rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 12, "rnd_scale[3]", "System.Single[]", false, 372)] + [DNAArrayAttribute(12, "float", 12, "rnd_scale[3]", "System.Single[]", 3, 372)] public float[] rnd_scale = new System.Single[3]; [DNAFieldAttribute(4, "int", 13, "seed", "int", false, 384)] public int seed; @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public int stroke_start_offset; [DNAFieldAttribute(4, "int", 17, "layer_pass", "int", false, 400)] public int layer_pass; - [DNAFieldAttribute(4, "char", 18, "_pad[4]", "System.Char[]", false, 404)] + [DNAArrayAttribute(4, "char", 18, "_pad[4]", "System.Char[]", 4, 404)] public char[] _pad = new System.Char[4]; public OffsetGpencilModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/OpacityGpencilModifierData.cs b/BlendFile/DNA/OpacityGpencilModifierData.cs index b72e83f..cc994cc 100644 --- a/BlendFile/DNA/OpacityGpencilModifierData.cs +++ b/BlendFile/DNA/OpacityGpencilModifierData.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] + [DNAArrayAttribute(64, "char", 4, "vgname[64]", "System.Char[]", 64, 240)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public float factor; [DNAFieldAttribute(1, "char", 8, "modify_color", "char", false, 316)] public char modify_color; - [DNAFieldAttribute(3, "char", 9, "_pad[3]", "System.Char[]", false, 317)] + [DNAArrayAttribute(3, "char", 9, "_pad[3]", "System.Char[]", 3, 317)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "int", 10, "layer_pass", "int", false, 320)] public int layer_pass; diff --git a/BlendFile/DNA/OutlineGpencilModifierData.cs b/BlendFile/DNA/OutlineGpencilModifierData.cs index 820a407..5b8307f 100644 --- a/BlendFile/DNA/OutlineGpencilModifierData.cs +++ b/BlendFile/DNA/OutlineGpencilModifierData.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public Object @object; [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] public Material material; - [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 3, "layername[64]", "System.Char[]", 64, 120)] public char[] layername = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 184)] public int pass_index; diff --git a/BlendFile/DNA/PTCacheMem.cs b/BlendFile/DNA/PTCacheMem.cs index 290c11e..c8f7b47 100644 --- a/BlendFile/DNA/PTCacheMem.cs +++ b/BlendFile/DNA/PTCacheMem.cs @@ -13,7 +13,7 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(791, "PTCacheMem", 112)] + [DNAClassAttribute(791, "PTCacheMem", 48)] public class PTCacheMem { [DNAFieldAttribute(8, "PTCacheMem", 0, "*next", "PTCacheMem", true, 0)] public PTCacheMem next; @@ -27,9 +27,9 @@ namespace BlendFile.DNA { public int data_types; [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 28)] public int flag; - [DNAFieldAttribute(64, "void", 6, "*data[8]", "System.Object[]", true, 32)] + [DNAArrayAttribute(0, "void", 6, "*data[8]", "System.Object[]", 8, 32)] public object[] data = new System.Object[8]; - [DNAFieldAttribute(16, "ListBase", 7, "extradata", "ListBase", false, 96)] + [DNAFieldAttribute(16, "ListBase", 7, "extradata", "ListBase", false, 32)] public ListBase extradata; public PTCacheMem() { this.next = default; diff --git a/BlendFile/DNA/Paint.cs b/BlendFile/DNA/Paint.cs index 6a39433..86ba76f 100644 --- a/BlendFile/DNA/Paint.cs +++ b/BlendFile/DNA/Paint.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public CurveMapping cavity_curve; [DNAFieldAttribute(8, "void", 7, "*paint_cursor", "void", true, 72)] public object paint_cursor; - [DNAFieldAttribute(4, "char", 8, "paint_cursor_col[4]", "System.Char[]", false, 80)] + [DNAArrayAttribute(4, "char", 8, "paint_cursor_col[4]", "System.Char[]", 4, 80)] public char[] paint_cursor_col = new System.Char[4]; [DNAFieldAttribute(4, "int", 9, "flags", "int", false, 84)] public int flags; @@ -39,9 +39,9 @@ namespace BlendFile.DNA { public int num_input_samples; [DNAFieldAttribute(4, "int", 11, "symmetry_flags", "int", false, 92)] public int symmetry_flags; - [DNAFieldAttribute(12, "float", 12, "tile_offset[3]", "System.Single[]", false, 96)] + [DNAArrayAttribute(12, "float", 12, "tile_offset[3]", "System.Single[]", 3, 96)] public float[] tile_offset = new System.Single[3]; - [DNAFieldAttribute(4, "char", 13, "_pad2[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 13, "_pad2[4]", "System.Char[]", 4, 108)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "Paint_Runtime", 14, "runtime", "Paint_Runtime", false, 112)] public Paint_Runtime runtime; diff --git a/BlendFile/DNA/PaintModeSettings.cs b/BlendFile/DNA/PaintModeSettings.cs index 5815e87..c165255 100644 --- a/BlendFile/DNA/PaintModeSettings.cs +++ b/BlendFile/DNA/PaintModeSettings.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class PaintModeSettings { [DNAFieldAttribute(1, "char", 0, "canvas_source", "char", false, 0)] public char canvas_source; - [DNAFieldAttribute(7, "char", 1, "_pad[7]", "System.Char[]", false, 1)] + [DNAArrayAttribute(7, "char", 1, "_pad[7]", "System.Char[]", 7, 1)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(8, "Image", 2, "*canvas_image", "Image", true, 8)] public Image canvas_image; diff --git a/BlendFile/DNA/Paint_Runtime.cs b/BlendFile/DNA/Paint_Runtime.cs index 84509df..bbacbd8 100644 --- a/BlendFile/DNA/Paint_Runtime.cs +++ b/BlendFile/DNA/Paint_Runtime.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public int initialized; [DNAFieldAttribute(2, "short", 1, "ob_mode", "short", false, 4)] public short ob_mode; - [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 6)] + [DNAArrayAttribute(2, "char", 2, "_pad[2]", "System.Char[]", 2, 6)] public char[] _pad = new System.Char[2]; public Paint_Runtime() { this.initialized = default; diff --git a/BlendFile/DNA/Palette.cs b/BlendFile/DNA/Palette.cs index 6644548..23acc1d 100644 --- a/BlendFile/DNA/Palette.cs +++ b/BlendFile/DNA/Palette.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public ListBase colors; [DNAFieldAttribute(4, "int", 2, "active_color", "int", false, 224)] public int active_color; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 228)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 228)] public char[] _pad = new System.Char[4]; public Palette() { this.id = default; diff --git a/BlendFile/DNA/PaletteColor.cs b/BlendFile/DNA/PaletteColor.cs index fe3d6f9..01a05ae 100644 --- a/BlendFile/DNA/PaletteColor.cs +++ b/BlendFile/DNA/PaletteColor.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public PaletteColor next; [DNAFieldAttribute(8, "PaletteColor", 1, "*prev", "PaletteColor", true, 8)] public PaletteColor prev; - [DNAFieldAttribute(12, "float", 2, "rgb[3]", "System.Single[]", false, 16)] + [DNAArrayAttribute(12, "float", 2, "rgb[3]", "System.Single[]", 3, 16)] public float[] rgb = new System.Single[3]; [DNAFieldAttribute(4, "float", 3, "value", "float", false, 28)] public float value; diff --git a/BlendFile/DNA/Panel.cs b/BlendFile/DNA/Panel.cs index 483fa98..1ea4386 100644 --- a/BlendFile/DNA/Panel.cs +++ b/BlendFile/DNA/Panel.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public PanelType type; [DNAFieldAttribute(8, "uiLayout", 3, "*layout", "uiLayout", true, 24)] public uiLayout layout; - [DNAFieldAttribute(64, "char", 4, "panelname[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 4, "panelname[64]", "System.Char[]", 64, 32)] public char[] panelname = new System.Char[64]; [DNAFieldAttribute(8, "char", 5, "*drawname", "char", true, 96)] public char drawname; @@ -45,7 +45,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 14, "runtime_flag", "short", false, 132)] public short runtime_flag; - [DNAFieldAttribute(6, "char", 15, "_pad[6]", "System.Char[]", false, 134)] + [DNAArrayAttribute(6, "char", 15, "_pad[6]", "System.Char[]", 6, 134)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(4, "int", 16, "sortorder", "int", false, 140)] public int sortorder; diff --git a/BlendFile/DNA/PanelCategoryStack.cs b/BlendFile/DNA/PanelCategoryStack.cs index f8a5322..af7d18b 100644 --- a/BlendFile/DNA/PanelCategoryStack.cs +++ b/BlendFile/DNA/PanelCategoryStack.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public PanelCategoryStack next; [DNAFieldAttribute(8, "PanelCategoryStack", 1, "*prev", "PanelCategoryStack", true, 8)] public PanelCategoryStack prev; - [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "idname[64]", "System.Char[]", 64, 16)] public char[] idname = new System.Char[64]; public PanelCategoryStack() { this.next = default; diff --git a/BlendFile/DNA/PartDeflect.cs b/BlendFile/DNA/PartDeflect.cs index 6e02e38..8123f9b 100644 --- a/BlendFile/DNA/PartDeflect.cs +++ b/BlendFile/DNA/PartDeflect.cs @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public float f_flow; [DNAFieldAttribute(4, "float", 12, "f_wind_factor", "float", false, 32)] public float f_wind_factor; - [DNAFieldAttribute(4, "char", 13, "_pad0[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 13, "_pad0[4]", "System.Char[]", 4, 36)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(4, "float", 14, "f_size", "float", false, 40)] public float f_size; @@ -97,23 +97,23 @@ namespace BlendFile.DNA { public float f_noise; [DNAFieldAttribute(4, "int", 40, "seed", "int", false, 148)] public int seed; - [DNAFieldAttribute(16, "float", 41, "drawvec1[4]", "System.Single[]", false, 152)] + [DNAArrayAttribute(16, "float", 41, "drawvec1[4]", "System.Single[]", 4, 152)] public float[] drawvec1 = new System.Single[4]; - [DNAFieldAttribute(16, "float", 42, "drawvec2[4]", "System.Single[]", false, 168)] + [DNAArrayAttribute(16, "float", 42, "drawvec2[4]", "System.Single[]", 4, 168)] public float[] drawvec2 = new System.Single[4]; - [DNAFieldAttribute(12, "float", 43, "drawvec_falloff_min[3]", "System.Single[]", false, 184)] + [DNAArrayAttribute(12, "float", 43, "drawvec_falloff_min[3]", "System.Single[]", 3, 184)] public float[] drawvec_falloff_min = new System.Single[3]; - [DNAFieldAttribute(4, "char", 44, "_pad1[4]", "System.Char[]", false, 196)] + [DNAArrayAttribute(4, "char", 44, "_pad1[4]", "System.Char[]", 4, 196)] public char[] _pad1 = new System.Char[4]; - [DNAFieldAttribute(12, "float", 45, "drawvec_falloff_max[3]", "System.Single[]", false, 200)] + [DNAArrayAttribute(12, "float", 45, "drawvec_falloff_max[3]", "System.Single[]", 3, 200)] public float[] drawvec_falloff_max = new System.Single[3]; - [DNAFieldAttribute(4, "char", 46, "_pad2[4]", "System.Char[]", false, 212)] + [DNAArrayAttribute(4, "char", 46, "_pad2[4]", "System.Char[]", 4, 212)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "Object", 47, "*f_source", "Object", true, 216)] public Object f_source; [DNAFieldAttribute(4, "float", 48, "pdef_cfrict", "float", false, 224)] public float pdef_cfrict; - [DNAFieldAttribute(4, "char", 49, "_pad[4]", "System.Char[]", false, 228)] + [DNAArrayAttribute(4, "char", 49, "_pad[4]", "System.Char[]", 4, 228)] public char[] _pad = new System.Char[4]; public PartDeflect() { this.flag = default; diff --git a/BlendFile/DNA/PartEff.cs b/BlendFile/DNA/PartEff.cs index dcca4a7..3f9525b 100644 --- a/BlendFile/DNA/PartEff.cs +++ b/BlendFile/DNA/PartEff.cs @@ -53,7 +53,7 @@ namespace BlendFile.DNA { public float texfac; [DNAFieldAttribute(4, "float", 18, "randlife", "float", false, 68)] public float randlife; - [DNAFieldAttribute(12, "float", 19, "force[3]", "System.Single[]", false, 72)] + [DNAArrayAttribute(12, "float", 19, "force[3]", "System.Single[]", 3, 72)] public float[] force = new System.Single[3]; [DNAFieldAttribute(4, "float", 20, "damp", "float", false, 84)] public float damp; @@ -63,17 +63,17 @@ namespace BlendFile.DNA { public float vectsize; [DNAFieldAttribute(4, "float", 23, "maxlen", "float", false, 96)] public float maxlen; - [DNAFieldAttribute(12, "float", 24, "defvec[3]", "System.Single[]", false, 100)] + [DNAArrayAttribute(12, "float", 24, "defvec[3]", "System.Single[]", 3, 100)] public float[] defvec = new System.Single[3]; - [DNAFieldAttribute(4, "char", 25, "_pad[4]", "System.Char[]", false, 112)] + [DNAArrayAttribute(4, "char", 25, "_pad[4]", "System.Char[]", 4, 112)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(16, "float", 26, "mult[4]", "System.Single[]", false, 116)] + [DNAArrayAttribute(16, "float", 26, "mult[4]", "System.Single[]", 4, 116)] public float[] mult = new System.Single[4]; - [DNAFieldAttribute(16, "float", 27, "life[4]", "System.Single[]", false, 132)] + [DNAArrayAttribute(16, "float", 27, "life[4]", "System.Single[]", 4, 132)] public float[] life = new System.Single[4]; - [DNAFieldAttribute(8, "short", 28, "child[4]", "System.Int16[]", false, 148)] + [DNAArrayAttribute(8, "short", 28, "child[4]", "System.Int16[]", 4, 148)] public short[] child = new System.Int16[4]; - [DNAFieldAttribute(8, "short", 29, "mat[4]", "System.Int16[]", false, 156)] + [DNAArrayAttribute(8, "short", 29, "mat[4]", "System.Int16[]", 4, 156)] public short[] mat = new System.Int16[4]; [DNAFieldAttribute(2, "short", 30, "texmap", "short", false, 164)] public short texmap; @@ -95,11 +95,11 @@ namespace BlendFile.DNA { public short disp; [DNAFieldAttribute(2, "short", 39, "vertgroup_v", "short", false, 182)] public short vertgroup_v; - [DNAFieldAttribute(64, "char", 40, "vgroupname[64]", "System.Char[]", false, 184)] + [DNAArrayAttribute(64, "char", 40, "vgroupname[64]", "System.Char[]", 64, 184)] public char[] vgroupname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 41, "vgroupname_v[64]", "System.Char[]", false, 248)] + [DNAArrayAttribute(64, "char", 41, "vgroupname_v[64]", "System.Char[]", 64, 248)] public char[] vgroupname_v = new System.Char[64]; - [DNAFieldAttribute(64, "float", 42, "imat[4][4]", "System.Single[,]", false, 312)] + [DNAArrayAttribute(64, "float", 42, "imat[4][4]", "System.Single[,]", 8, 312)] public float[,] imat = new System.Single[4,4]; [DNAFieldAttribute(8, "Particle", 43, "*keys", "Particle", true, 376)] public Particle keys; diff --git a/BlendFile/DNA/ParticleData.cs b/BlendFile/DNA/ParticleData.cs index d4f3423..98799e5 100644 --- a/BlendFile/DNA/ParticleData.cs +++ b/BlendFile/DNA/ParticleData.cs @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public int num; [DNAFieldAttribute(4, "int", 10, "num_dmcache", "int", false, 156)] public int num_dmcache; - [DNAFieldAttribute(16, "float", 11, "fuv[4]", "System.Single[]", false, 160)] + [DNAArrayAttribute(16, "float", 11, "fuv[4]", "System.Single[]", 4, 160)] public float[] fuv = new System.Single[4]; [DNAFieldAttribute(4, "float", 12, "foffset", "float", false, 176)] public float foffset; @@ -45,7 +45,7 @@ namespace BlendFile.DNA { public float size; [DNAFieldAttribute(4, "float", 14, "sphdensity", "float", false, 184)] public float sphdensity; - [DNAFieldAttribute(4, "char", 15, "_pad[4]", "System.Char[]", false, 188)] + [DNAArrayAttribute(4, "char", 15, "_pad[4]", "System.Char[]", 4, 188)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 16, "hair_index", "int", false, 192)] public int hair_index; diff --git a/BlendFile/DNA/ParticleDupliWeight.cs b/BlendFile/DNA/ParticleDupliWeight.cs index 6f2b3a6..4f2e1d7 100644 --- a/BlendFile/DNA/ParticleDupliWeight.cs +++ b/BlendFile/DNA/ParticleDupliWeight.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 5, "index", "short", false, 28)] public short index; - [DNAFieldAttribute(2, "char", 6, "_pad0[2]", "System.Char[]", false, 30)] + [DNAArrayAttribute(2, "char", 6, "_pad0[2]", "System.Char[]", 2, 30)] public char[] _pad0 = new System.Char[2]; public ParticleDupliWeight() { this.next = default; diff --git a/BlendFile/DNA/ParticleEditSettings.cs b/BlendFile/DNA/ParticleEditSettings.cs index 6c9216e..fa1379d 100644 --- a/BlendFile/DNA/ParticleEditSettings.cs +++ b/BlendFile/DNA/ParticleEditSettings.cs @@ -23,13 +23,13 @@ namespace BlendFile.DNA { public short totaddkey; [DNAFieldAttribute(2, "short", 3, "brushtype", "short", false, 6)] public short brushtype; - [DNAFieldAttribute(112, "ParticleBrushData", 4, "brush[7]", "ParticleBrushData[]", false, 8)] + [DNAArrayAttribute(112, "ParticleBrushData", 4, "brush[7]", "ParticleBrushData[]", 7, 8)] public ParticleBrushData[] brush = new ParticleBrushData[7]; [DNAFieldAttribute(8, "void", 5, "*paintcursor", "void", true, 120)] public object paintcursor; [DNAFieldAttribute(4, "float", 6, "emitterdist", "float", false, 128)] public float emitterdist; - [DNAFieldAttribute(4, "char", 7, "_pad0[4]", "System.Char[]", false, 132)] + [DNAArrayAttribute(4, "char", 7, "_pad0[4]", "System.Char[]", 4, 132)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(4, "int", 8, "selectmode", "int", false, 136)] public int selectmode; diff --git a/BlendFile/DNA/ParticleInstanceModifierData.cs b/BlendFile/DNA/ParticleInstanceModifierData.cs index 5afdd72..88b260e 100644 --- a/BlendFile/DNA/ParticleInstanceModifierData.cs +++ b/BlendFile/DNA/ParticleInstanceModifierData.cs @@ -39,9 +39,9 @@ namespace BlendFile.DNA { public float particle_amount; [DNAFieldAttribute(4, "float", 11, "particle_offset", "float", false, 156)] public float particle_offset; - [DNAFieldAttribute(68, "char", 12, "index_layer_name[68]", "System.Char[]", false, 160)] + [DNAArrayAttribute(68, "char", 12, "index_layer_name[68]", "System.Char[]", 68, 160)] public char[] index_layer_name = new System.Char[68]; - [DNAFieldAttribute(68, "char", 13, "value_layer_name[68]", "System.Char[]", false, 228)] + [DNAArrayAttribute(68, "char", 13, "value_layer_name[68]", "System.Char[]", 68, 228)] public char[] value_layer_name = new System.Char[68]; [DNAFieldAttribute(8, "void", 14, "*_pad1", "void", true, 296)] public object _pad1; diff --git a/BlendFile/DNA/ParticleKey.cs b/BlendFile/DNA/ParticleKey.cs index 4978c5c..312129b 100644 --- a/BlendFile/DNA/ParticleKey.cs +++ b/BlendFile/DNA/ParticleKey.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(777, "ParticleKey", 56)] public class ParticleKey { - [DNAFieldAttribute(12, "float", 0, "co[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "co[3]", "System.Single[]", 3, 0)] public float[] co = new System.Single[3]; - [DNAFieldAttribute(12, "float", 1, "vel[3]", "System.Single[]", false, 12)] + [DNAArrayAttribute(12, "float", 1, "vel[3]", "System.Single[]", 3, 12)] public float[] vel = new System.Single[3]; - [DNAFieldAttribute(16, "float", 2, "rot[4]", "System.Single[]", false, 24)] + [DNAArrayAttribute(16, "float", 2, "rot[4]", "System.Single[]", 4, 24)] public float[] rot = new System.Single[4]; - [DNAFieldAttribute(12, "float", 3, "ave[3]", "System.Single[]", false, 40)] + [DNAArrayAttribute(12, "float", 3, "ave[3]", "System.Single[]", 3, 40)] public float[] ave = new System.Single[3]; [DNAFieldAttribute(4, "float", 4, "time", "float", false, 52)] public float time; diff --git a/BlendFile/DNA/ParticleSettings.cs b/BlendFile/DNA/ParticleSettings.cs index 963567f..2c9465a 100644 --- a/BlendFile/DNA/ParticleSettings.cs +++ b/BlendFile/DNA/ParticleSettings.cs @@ -13,7 +13,7 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(785, "ParticleSettings", 968)] + [DNAClassAttribute(785, "ParticleSettings", 4712)] public class ParticleSettings { [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public Collection collision_group; [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 248)] public int flag; - [DNAFieldAttribute(4, "char", 7, "_pad1[4]", "System.Char[]", false, 252)] + [DNAArrayAttribute(4, "char", 7, "_pad1[4]", "System.Char[]", 4, 252)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(2, "short", 8, "type", "short", false, 256)] public short type; @@ -55,7 +55,7 @@ namespace BlendFile.DNA { public short draw_as; [DNAFieldAttribute(2, "short", 19, "childtype", "short", false, 282)] public short childtype; - [DNAFieldAttribute(4, "char", 20, "_pad2[4]", "System.Char[]", false, 284)] + [DNAArrayAttribute(4, "char", 20, "_pad2[4]", "System.Char[]", 4, 284)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(2, "short", 21, "ren_as", "short", false, 288)] public short ren_as; @@ -101,9 +101,9 @@ namespace BlendFile.DNA { public float bb_tilt; [DNAFieldAttribute(4, "float", 42, "bb_rand_tilt", "float", false, 332)] public float bb_rand_tilt; - [DNAFieldAttribute(8, "float", 43, "bb_offset[2]", "System.Single[]", false, 336)] + [DNAArrayAttribute(8, "float", 43, "bb_offset[2]", "System.Single[]", 2, 336)] public float[] bb_offset = new System.Single[2]; - [DNAFieldAttribute(8, "float", 44, "bb_size[2]", "System.Single[]", false, 344)] + [DNAArrayAttribute(8, "float", 44, "bb_size[2]", "System.Single[]", 2, 344)] public float[] bb_size = new System.Single[2]; [DNAFieldAttribute(4, "float", 45, "bb_vel_head", "float", false, 352)] public float bb_vel_head; @@ -129,7 +129,7 @@ namespace BlendFile.DNA { public float eff_hair; [DNAFieldAttribute(4, "float", 56, "grid_rand", "float", false, 396)] public float grid_rand; - [DNAFieldAttribute(4, "float", 57, "ps_offset[1]", "System.Single[]", false, 400)] + [DNAArrayAttribute(4, "float", 57, "ps_offset[1]", "System.Single[]", 1, 400)] public float[] ps_offset = new System.Single[1]; [DNAFieldAttribute(4, "int", 58, "totpart", "int", false, 404)] public int totpart; @@ -141,7 +141,7 @@ namespace BlendFile.DNA { public int effector_amount; [DNAFieldAttribute(2, "short", 62, "time_flag", "short", false, 420)] public short time_flag; - [DNAFieldAttribute(6, "char", 63, "_pad0[6]", "System.Char[]", false, 422)] + [DNAArrayAttribute(6, "char", 63, "_pad0[6]", "System.Char[]", 6, 422)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(4, "float", 64, "normfac", "float", false, 428)] public float normfac; @@ -157,7 +157,7 @@ namespace BlendFile.DNA { public float tanphase; [DNAFieldAttribute(4, "float", 70, "reactfac", "float", false, 452)] public float reactfac; - [DNAFieldAttribute(12, "float", 71, "ob_vel[3]", "System.Single[]", false, 456)] + [DNAArrayAttribute(12, "float", 71, "ob_vel[3]", "System.Single[]", 3, 456)] public float[] ob_vel = new System.Single[3]; [DNAFieldAttribute(4, "float", 72, "avefac", "float", false, 468)] public float avefac; @@ -173,7 +173,7 @@ namespace BlendFile.DNA { public float size; [DNAFieldAttribute(4, "float", 78, "randsize", "float", false, 492)] public float randsize; - [DNAFieldAttribute(12, "float", 79, "acc[3]", "System.Single[]", false, 496)] + [DNAArrayAttribute(12, "float", 79, "acc[3]", "System.Single[]", 3, 496)] public float[] acc = new System.Single[3]; [DNAFieldAttribute(4, "float", 80, "dragfac", "float", false, 508)] public float dragfac; @@ -185,7 +185,7 @@ namespace BlendFile.DNA { public float randlength; [DNAFieldAttribute(4, "int", 84, "child_flag", "int", false, 524)] public int child_flag; - [DNAFieldAttribute(4, "char", 85, "_pad3[4]", "System.Char[]", false, 528)] + [DNAArrayAttribute(4, "char", 85, "_pad3[4]", "System.Char[]", 4, 528)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(4, "int", 86, "child_nbr", "int", false, 532)] public int child_nbr; @@ -217,7 +217,7 @@ namespace BlendFile.DNA { public float kink_amp_clump; [DNAFieldAttribute(4, "int", 100, "kink_extra_steps", "int", false, 588)] public int kink_extra_steps; - [DNAFieldAttribute(4, "char", 101, "_pad4[4]", "System.Char[]", false, 592)] + [DNAArrayAttribute(4, "char", 101, "_pad4[4]", "System.Char[]", 4, 592)] public char[] _pad4 = new System.Char[4]; [DNAFieldAttribute(4, "float", 102, "kink_axis_random", "float", false, 596)] public float kink_axis_random; @@ -249,7 +249,7 @@ namespace BlendFile.DNA { public float parting_max; [DNAFieldAttribute(4, "float", 116, "branch_thres", "float", false, 652)] public float branch_thres; - [DNAFieldAttribute(8, "float", 117, "draw_line[2]", "System.Single[]", false, 656)] + [DNAArrayAttribute(8, "float", 117, "draw_line[2]", "System.Single[]", 2, 656)] public float[] draw_line = new System.Single[2]; [DNAFieldAttribute(4, "float", 118, "path_start", "float", false, 664)] public float path_start; @@ -267,47 +267,47 @@ namespace BlendFile.DNA { public float clump_noise_size; [DNAFieldAttribute(4, "float", 125, "bending_random", "float", false, 700)] public float bending_random; - [DNAFieldAttribute(144, "MTex", 126, "*mtex[18]", "MTex[]", true, 704)] + [DNAArrayAttribute(3888, "MTex", 126, "*mtex[18]", "MTex[]", 18, 704)] public MTex[] mtex = new MTex[18]; - [DNAFieldAttribute(8, "Collection", 127, "*dup_group", "Collection", true, 848)] + [DNAFieldAttribute(8, "Collection", 127, "*dup_group", "Collection", true, 4592)] public Collection dup_group; - [DNAFieldAttribute(16, "ListBase", 128, "dupliweights", "ListBase", false, 856)] + [DNAFieldAttribute(16, "ListBase", 128, "dupliweights", "ListBase", false, 4600)] public ListBase dupliweights; - [DNAFieldAttribute(8, "Collection", 129, "*force_group", "Collection", true, 872)] + [DNAFieldAttribute(8, "Collection", 129, "*force_group", "Collection", true, 4616)] public Collection force_group; - [DNAFieldAttribute(8, "Object", 130, "*dup_ob", "Object", true, 880)] + [DNAFieldAttribute(8, "Object", 130, "*dup_ob", "Object", true, 4624)] public Object dup_ob; - [DNAFieldAttribute(8, "Object", 131, "*bb_ob", "Object", true, 888)] + [DNAFieldAttribute(8, "Object", 131, "*bb_ob", "Object", true, 4632)] public Object bb_ob; - [DNAFieldAttribute(8, "Ipo", 132, "*ipo", "Ipo", true, 896)] + [DNAFieldAttribute(8, "Ipo", 132, "*ipo", "Ipo", true, 4640)] public Ipo ipo; - [DNAFieldAttribute(8, "PartDeflect", 133, "*pd", "PartDeflect", true, 904)] + [DNAFieldAttribute(8, "PartDeflect", 133, "*pd", "PartDeflect", true, 4648)] public PartDeflect pd; - [DNAFieldAttribute(8, "PartDeflect", 134, "*pd2", "PartDeflect", true, 912)] + [DNAFieldAttribute(8, "PartDeflect", 134, "*pd2", "PartDeflect", true, 4656)] public PartDeflect pd2; - [DNAFieldAttribute(2, "short", 135, "use_modifier_stack", "short", false, 920)] + [DNAFieldAttribute(2, "short", 135, "use_modifier_stack", "short", false, 4664)] public short use_modifier_stack; - [DNAFieldAttribute(2, "char", 136, "_pad5[2]", "System.Char[]", false, 922)] + [DNAArrayAttribute(2, "char", 136, "_pad5[2]", "System.Char[]", 2, 4666)] public char[] _pad5 = new System.Char[2]; - [DNAFieldAttribute(2, "short", 137, "shape_flag", "short", false, 924)] + [DNAFieldAttribute(2, "short", 137, "shape_flag", "short", false, 4668)] public short shape_flag; - [DNAFieldAttribute(2, "char", 138, "_pad6[2]", "System.Char[]", false, 926)] + [DNAArrayAttribute(2, "char", 138, "_pad6[2]", "System.Char[]", 2, 4670)] public char[] _pad6 = new System.Char[2]; - [DNAFieldAttribute(4, "float", 139, "twist", "float", false, 928)] + [DNAFieldAttribute(4, "float", 139, "twist", "float", false, 4672)] public float twist; - [DNAFieldAttribute(4, "char", 140, "_pad8[4]", "System.Char[]", false, 932)] + [DNAArrayAttribute(4, "char", 140, "_pad8[4]", "System.Char[]", 4, 4676)] public char[] _pad8 = new System.Char[4]; - [DNAFieldAttribute(4, "float", 141, "shape", "float", false, 936)] + [DNAFieldAttribute(4, "float", 141, "shape", "float", false, 4680)] public float shape; - [DNAFieldAttribute(4, "float", 142, "rad_root", "float", false, 940)] + [DNAFieldAttribute(4, "float", 142, "rad_root", "float", false, 4684)] public float rad_root; - [DNAFieldAttribute(4, "float", 143, "rad_tip", "float", false, 944)] + [DNAFieldAttribute(4, "float", 143, "rad_tip", "float", false, 4688)] public float rad_tip; - [DNAFieldAttribute(4, "float", 144, "rad_scale", "float", false, 948)] + [DNAFieldAttribute(4, "float", 144, "rad_scale", "float", false, 4692)] public float rad_scale; - [DNAFieldAttribute(8, "CurveMapping", 145, "*twistcurve", "CurveMapping", true, 952)] + [DNAFieldAttribute(8, "CurveMapping", 145, "*twistcurve", "CurveMapping", true, 4696)] public CurveMapping twistcurve; - [DNAFieldAttribute(8, "void", 146, "*_pad7", "void", true, 960)] + [DNAFieldAttribute(8, "void", 146, "*_pad7", "void", true, 4704)] public object _pad7; public ParticleSettings() { this.id = default; diff --git a/BlendFile/DNA/ParticleSpring.cs b/BlendFile/DNA/ParticleSpring.cs index b5b5a29..59894b8 100644 --- a/BlendFile/DNA/ParticleSpring.cs +++ b/BlendFile/DNA/ParticleSpring.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class ParticleSpring { [DNAFieldAttribute(4, "float", 0, "rest_length", "float", false, 0)] public float rest_length; - [DNAFieldAttribute(8, "int", 1, "particle_index[2]", "System.Int32[]", false, 4)] + [DNAArrayAttribute(8, "int", 1, "particle_index[2]", "System.Int32[]", 2, 4)] public int[] particle_index = new System.Int32[2]; [DNAFieldAttribute(4, "int", 2, "delete_flag", "int", false, 12)] public int delete_flag; diff --git a/BlendFile/DNA/ParticleSystem.cs b/BlendFile/DNA/ParticleSystem.cs index 4af0199..5fdbef5 100644 --- a/BlendFile/DNA/ParticleSystem.cs +++ b/BlendFile/DNA/ParticleSystem.cs @@ -49,9 +49,9 @@ namespace BlendFile.DNA { public Object parent; [DNAFieldAttribute(16, "ListBase", 17, "targets", "ListBase", false, 144)] public ListBase targets; - [DNAFieldAttribute(64, "char", 18, "name[64]", "System.Char[]", false, 160)] + [DNAArrayAttribute(64, "char", 18, "name[64]", "System.Char[]", 64, 160)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(64, "float", 19, "imat[4][4]", "System.Single[,]", false, 224)] + [DNAArrayAttribute(64, "float", 19, "imat[4][4]", "System.Single[,]", 8, 224)] public float[,] imat = new System.Single[4,4]; [DNAFieldAttribute(4, "float", 20, "cfra", "float", false, 288)] public float cfra; @@ -83,19 +83,19 @@ namespace BlendFile.DNA { public short totkeyed; [DNAFieldAttribute(2, "short", 34, "bakespace", "short", false, 340)] public short bakespace; - [DNAFieldAttribute(6, "char", 35, "_pad1[6]", "System.Char[]", false, 342)] + [DNAArrayAttribute(6, "char", 35, "_pad1[6]", "System.Char[]", 6, 342)] public char[] _pad1 = new System.Char[6]; - [DNAFieldAttribute(204, "char", 36, "bb_uvname[3][68]", "System.Char[,]", false, 348)] + [DNAArrayAttribute(204, "char", 36, "bb_uvname[3][68]", "System.Char[,]", 71, 348)] public char[,] bb_uvname = new System.Char[3,68]; - [DNAFieldAttribute(4, "char", 37, "_pad2[4]", "System.Char[]", false, 552)] + [DNAArrayAttribute(4, "char", 37, "_pad2[4]", "System.Char[]", 4, 552)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(26, "short", 38, "vgroup[13]", "System.Int16[]", false, 556)] + [DNAArrayAttribute(26, "short", 38, "vgroup[13]", "System.Int16[]", 13, 556)] public short[] vgroup = new System.Int16[13]; [DNAFieldAttribute(2, "short", 39, "vg_neg", "short", false, 582)] public short vg_neg; [DNAFieldAttribute(2, "short", 40, "rt3", "short", false, 584)] public short rt3; - [DNAFieldAttribute(6, "char", 41, "_pad3[6]", "System.Char[]", false, 586)] + [DNAArrayAttribute(6, "char", 41, "_pad3[6]", "System.Char[]", 6, 586)] public char[] _pad3 = new System.Char[6]; [DNAFieldAttribute(8, "PointCache", 42, "*pointcache", "PointCache", true, 592)] public PointCache pointcache; diff --git a/BlendFile/DNA/ParticleSystemModifierData.cs b/BlendFile/DNA/ParticleSystemModifierData.cs index 3a9261b..ba69326 100644 --- a/BlendFile/DNA/ParticleSystemModifierData.cs +++ b/BlendFile/DNA/ParticleSystemModifierData.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public int totdmface; [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 156)] public short flag; - [DNAFieldAttribute(2, "char", 8, "_pad[2]", "System.Char[]", false, 158)] + [DNAArrayAttribute(2, "char", 8, "_pad[2]", "System.Char[]", 2, 158)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(8, "void", 9, "*_pad1", "void", true, 160)] public object _pad1; diff --git a/BlendFile/DNA/PhysicsSettings.cs b/BlendFile/DNA/PhysicsSettings.cs index 2c456a5..4f112a4 100644 --- a/BlendFile/DNA/PhysicsSettings.cs +++ b/BlendFile/DNA/PhysicsSettings.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(830, "PhysicsSettings", 24)] public class PhysicsSettings { - [DNAFieldAttribute(12, "float", 0, "gravity[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "gravity[3]", "System.Single[]", 3, 0)] public float[] gravity = new System.Single[3]; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 12)] public int flag; [DNAFieldAttribute(4, "int", 2, "quick_cache_step", "int", false, 16)] public int quick_cache_step; - [DNAFieldAttribute(4, "char", 3, "_pad0[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 3, "_pad0[4]", "System.Char[]", 4, 20)] public char[] _pad0 = new System.Char[4]; public PhysicsSettings() { this.gravity = default; diff --git a/BlendFile/DNA/PixelShaderFxData.cs b/BlendFile/DNA/PixelShaderFxData.cs index 8da3794..0a87c91 100644 --- a/BlendFile/DNA/PixelShaderFxData.cs +++ b/BlendFile/DNA/PixelShaderFxData.cs @@ -17,11 +17,11 @@ namespace BlendFile.DNA { public class PixelShaderFxData { [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(12, "int", 1, "size[3]", "System.Int32[]", false, 104)] + [DNAArrayAttribute(12, "int", 1, "size[3]", "System.Int32[]", 3, 104)] public int[] size = new System.Int32[3]; [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 116)] public int flag; - [DNAFieldAttribute(16, "float", 3, "rgba[4]", "System.Single[]", false, 120)] + [DNAArrayAttribute(16, "float", 3, "rgba[4]", "System.Single[]", 4, 120)] public float[] rgba = new System.Single[4]; [DNAFieldAttribute(40, "ShaderFxData_Runtime", 4, "runtime", "ShaderFxData_Runtime", false, 136)] public ShaderFxData_Runtime runtime; diff --git a/BlendFile/DNA/PointCache.cs b/BlendFile/DNA/PointCache.cs index 47936d4..1e1ea5c 100644 --- a/BlendFile/DNA/PointCache.cs +++ b/BlendFile/DNA/PointCache.cs @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public int last_exact; [DNAFieldAttribute(4, "int", 9, "last_valid", "int", false, 44)] public int last_valid; - [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 48)] + [DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, 48)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 11, "totpoint", "int", false, 52)] public int totpoint; @@ -43,21 +43,21 @@ namespace BlendFile.DNA { public int index; [DNAFieldAttribute(2, "short", 13, "compression", "short", false, 60)] public short compression; - [DNAFieldAttribute(2, "char", 14, "_pad0[2]", "System.Char[]", false, 62)] + [DNAArrayAttribute(2, "char", 14, "_pad0[2]", "System.Char[]", 2, 62)] public char[] _pad0 = new System.Char[2]; - [DNAFieldAttribute(64, "char", 15, "name[64]", "System.Char[]", false, 64)] + [DNAArrayAttribute(64, "char", 15, "name[64]", "System.Char[]", 64, 64)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(64, "char", 16, "prev_name[64]", "System.Char[]", false, 128)] + [DNAArrayAttribute(64, "char", 16, "prev_name[64]", "System.Char[]", 64, 128)] public char[] prev_name = new System.Char[64]; - [DNAFieldAttribute(128, "char", 17, "info[128]", "System.Char[]", false, 192)] + [DNAArrayAttribute(128, "char", 17, "info[128]", "System.Char[]", 128, 192)] public char[] info = new System.Char[128]; - [DNAFieldAttribute(1024, "char", 18, "path[1024]", "System.Char[]", false, 320)] + [DNAArrayAttribute(1024, "char", 18, "path[1024]", "System.Char[]", 1024, 320)] public char[] path = new System.Char[1024]; [DNAFieldAttribute(8, "char", 19, "*cached_frames", "char", true, 1344)] public char cached_frames; [DNAFieldAttribute(4, "int", 20, "cached_frames_len", "int", false, 1352)] public int cached_frames_len; - [DNAFieldAttribute(4, "char", 21, "_pad1[4]", "System.Char[]", false, 1356)] + [DNAArrayAttribute(4, "char", 21, "_pad1[4]", "System.Char[]", 4, 1356)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(16, "ListBase", 22, "mem_cache", "ListBase", false, 1360)] public ListBase mem_cache; diff --git a/BlendFile/DNA/PointCloud.cs b/BlendFile/DNA/PointCloud.cs index c2b8e11..7854e2a 100644 --- a/BlendFile/DNA/PointCloud.cs +++ b/BlendFile/DNA/PointCloud.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public Material mat; [DNAFieldAttribute(2, "short", 8, "totcol", "short", false, 488)] public short totcol; - [DNAFieldAttribute(6, "short", 9, "_pad3[3]", "System.Int16[]", false, 490)] + [DNAArrayAttribute(6, "short", 9, "_pad3[3]", "System.Int16[]", 3, 490)] public short[] _pad3 = new System.Int16[3]; [DNAFieldAttribute(8, "PointCloudRuntimeHandle", 10, "*runtime", "PointCloudRuntimeHandle", true, 496)] public PointCloudRuntimeHandle runtime; diff --git a/BlendFile/DNA/PointDensity.cs b/BlendFile/DNA/PointDensity.cs index 638e3a0..c419e7b 100644 --- a/BlendFile/DNA/PointDensity.cs +++ b/BlendFile/DNA/PointDensity.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float radius; [DNAFieldAttribute(2, "short", 4, "source", "short", false, 12)] public short source; - [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 14)] + [DNAArrayAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", 2, 14)] public char[] _pad0 = new System.Char[2]; [DNAFieldAttribute(2, "short", 6, "color_source", "short", false, 16)] public short color_source; @@ -41,9 +41,9 @@ namespace BlendFile.DNA { public short psys_cache_space; [DNAFieldAttribute(2, "short", 12, "ob_cache_space", "short", false, 38)] public short ob_cache_space; - [DNAFieldAttribute(68, "char", 13, "vertex_attribute_name[68]", "System.Char[]", false, 40)] + [DNAArrayAttribute(68, "char", 13, "vertex_attribute_name[68]", "System.Char[]", 68, 40)] public char[] vertex_attribute_name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 14, "_pad1[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 14, "_pad1[4]", "System.Char[]", 4, 108)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "void", 15, "*point_tree", "void", true, 112)] public object point_tree; @@ -57,7 +57,7 @@ namespace BlendFile.DNA { public short noise_influence; [DNAFieldAttribute(2, "short", 20, "noise_basis", "short", false, 136)] public short noise_basis; - [DNAFieldAttribute(6, "char", 21, "_pad2[6]", "System.Char[]", false, 138)] + [DNAArrayAttribute(6, "char", 21, "_pad2[6]", "System.Char[]", 6, 138)] public char[] _pad2 = new System.Char[6]; [DNAFieldAttribute(4, "float", 22, "noise_fac", "float", false, 144)] public float noise_fac; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { public float speed_scale; [DNAFieldAttribute(4, "float", 24, "falloff_speed_scale", "float", false, 152)] public float falloff_speed_scale; - [DNAFieldAttribute(4, "char", 25, "_pad3[4]", "System.Char[]", false, 156)] + [DNAArrayAttribute(4, "char", 25, "_pad3[4]", "System.Char[]", 4, 156)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(8, "ColorBand", 26, "*coba", "ColorBand", true, 160)] public ColorBand coba; diff --git a/BlendFile/DNA/PreviewImage.cs b/BlendFile/DNA/PreviewImage.cs index c4389ab..0e67b6d 100644 --- a/BlendFile/DNA/PreviewImage.cs +++ b/BlendFile/DNA/PreviewImage.cs @@ -13,19 +13,19 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(41, "PreviewImage", 48)] + [DNAClassAttribute(41, "PreviewImage", 40)] public class PreviewImage { - [DNAFieldAttribute(8, "int", 0, "w[2]", "System.Int32[]", false, 0)] + [DNAArrayAttribute(8, "int", 0, "w[2]", "System.Int32[]", 2, 0)] public int[] w = new System.Int32[2]; - [DNAFieldAttribute(8, "int", 1, "h[2]", "System.Int32[]", false, 8)] + [DNAArrayAttribute(8, "int", 1, "h[2]", "System.Int32[]", 2, 8)] public int[] h = new System.Int32[2]; - [DNAFieldAttribute(4, "short", 2, "flag[2]", "System.Int16[]", false, 16)] + [DNAArrayAttribute(4, "short", 2, "flag[2]", "System.Int16[]", 2, 16)] public short[] flag = new System.Int16[2]; - [DNAFieldAttribute(4, "short", 3, "changed_timestamp[2]", "System.Int16[]", false, 20)] + [DNAArrayAttribute(4, "short", 3, "changed_timestamp[2]", "System.Int16[]", 2, 20)] public short[] changed_timestamp = new System.Int16[2]; - [DNAFieldAttribute(16, "int", 4, "*rect[2]", "System.Int32[]", true, 24)] + [DNAArrayAttribute(8, "int", 4, "*rect[2]", "System.Int32[]", 2, 24)] public int[] rect = new System.Int32[2]; - [DNAFieldAttribute(8, "PreviewImageRuntimeHandle", 5, "*runtime", "PreviewImageRuntimeHandle", true, 40)] + [DNAFieldAttribute(8, "PreviewImageRuntimeHandle", 5, "*runtime", "PreviewImageRuntimeHandle", true, 32)] public PreviewImageRuntimeHandle runtime; public PreviewImage() { this.w = default; diff --git a/BlendFile/DNA/RegionView3D.cs b/BlendFile/DNA/RegionView3D.cs index ab906ad..50eec72 100644 --- a/BlendFile/DNA/RegionView3D.cs +++ b/BlendFile/DNA/RegionView3D.cs @@ -15,25 +15,25 @@ namespace BlendFile.DNA { [DNAClassAttribute(1024, "RegionView3D", 928)] public class RegionView3D { - [DNAFieldAttribute(64, "float", 0, "winmat[4][4]", "System.Single[,]", false, 0)] + [DNAArrayAttribute(64, "float", 0, "winmat[4][4]", "System.Single[,]", 8, 0)] public float[,] winmat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 1, "viewmat[4][4]", "System.Single[,]", false, 64)] + [DNAArrayAttribute(64, "float", 1, "viewmat[4][4]", "System.Single[,]", 8, 64)] public float[,] viewmat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 2, "viewinv[4][4]", "System.Single[,]", false, 128)] + [DNAArrayAttribute(64, "float", 2, "viewinv[4][4]", "System.Single[,]", 8, 128)] public float[,] viewinv = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 3, "persmat[4][4]", "System.Single[,]", false, 192)] + [DNAArrayAttribute(64, "float", 3, "persmat[4][4]", "System.Single[,]", 8, 192)] public float[,] persmat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 4, "persinv[4][4]", "System.Single[,]", false, 256)] + [DNAArrayAttribute(64, "float", 4, "persinv[4][4]", "System.Single[,]", 8, 256)] public float[,] persinv = new System.Single[4,4]; - [DNAFieldAttribute(16, "float", 5, "viewcamtexcofac[4]", "System.Single[]", false, 320)] + [DNAArrayAttribute(16, "float", 5, "viewcamtexcofac[4]", "System.Single[]", 4, 320)] public float[] viewcamtexcofac = new System.Single[4]; - [DNAFieldAttribute(64, "float", 6, "viewmatob[4][4]", "System.Single[,]", false, 336)] + [DNAArrayAttribute(64, "float", 6, "viewmatob[4][4]", "System.Single[,]", 8, 336)] public float[,] viewmatob = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 7, "persmatob[4][4]", "System.Single[,]", false, 400)] + [DNAArrayAttribute(64, "float", 7, "persmatob[4][4]", "System.Single[,]", 8, 400)] public float[,] persmatob = new System.Single[4,4]; - [DNAFieldAttribute(96, "float", 8, "clip[6][4]", "System.Single[,]", false, 464)] + [DNAArrayAttribute(96, "float", 8, "clip[6][4]", "System.Single[,]", 10, 464)] public float[,] clip = new System.Single[6,4]; - [DNAFieldAttribute(96, "float", 9, "clip_local[6][4]", "System.Single[,]", false, 560)] + [DNAArrayAttribute(96, "float", 9, "clip_local[6][4]", "System.Single[,]", 10, 560)] public float[,] clip_local = new System.Single[6,4]; [DNAFieldAttribute(8, "BoundBox", 10, "*clipbb", "BoundBox", true, 656)] public BoundBox clipbb; @@ -45,17 +45,17 @@ namespace BlendFile.DNA { public SmoothView3DStore sms; [DNAFieldAttribute(8, "wmTimer", 14, "*smooth_timer", "wmTimer", true, 688)] public wmTimer smooth_timer; - [DNAFieldAttribute(64, "float", 15, "twmat[4][4]", "System.Single[,]", false, 696)] + [DNAArrayAttribute(64, "float", 15, "twmat[4][4]", "System.Single[,]", 8, 696)] public float[,] twmat = new System.Single[4,4]; - [DNAFieldAttribute(12, "float", 16, "tw_axis_min[3]", "System.Single[]", false, 760)] + [DNAArrayAttribute(12, "float", 16, "tw_axis_min[3]", "System.Single[]", 3, 760)] public float[] tw_axis_min = new System.Single[3]; - [DNAFieldAttribute(12, "float", 17, "tw_axis_max[3]", "System.Single[]", false, 772)] + [DNAArrayAttribute(12, "float", 17, "tw_axis_max[3]", "System.Single[]", 3, 772)] public float[] tw_axis_max = new System.Single[3]; - [DNAFieldAttribute(36, "float", 18, "tw_axis_matrix[3][3]", "System.Single[,]", false, 784)] + [DNAArrayAttribute(36, "float", 18, "tw_axis_matrix[3][3]", "System.Single[,]", 6, 784)] public float[,] tw_axis_matrix = new System.Single[3,3]; [DNAFieldAttribute(4, "float", 19, "gridview", "float", false, 820)] public float gridview; - [DNAFieldAttribute(16, "float", 20, "viewquat[4]", "System.Single[]", false, 824)] + [DNAArrayAttribute(16, "float", 20, "viewquat[4]", "System.Single[]", 4, 824)] public float[] viewquat = new System.Single[4]; [DNAFieldAttribute(4, "float", 21, "dist", "float", false, 840)] public float dist; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { public float camdy; [DNAFieldAttribute(4, "float", 24, "pixsize", "float", false, 852)] public float pixsize; - [DNAFieldAttribute(12, "float", 25, "ofs[3]", "System.Single[]", false, 856)] + [DNAArrayAttribute(12, "float", 25, "ofs[3]", "System.Single[]", 3, 856)] public float[] ofs = new System.Single[3]; [DNAFieldAttribute(4, "float", 26, "camzoom", "float", false, 868)] public float camzoom; @@ -83,15 +83,15 @@ namespace BlendFile.DNA { public char runtime_viewlock; [DNAFieldAttribute(1, "char", 33, "viewlock_quad", "char", false, 878)] public char viewlock_quad; - [DNAFieldAttribute(1, "char", 34, "_pad[1]", "System.Char[]", false, 879)] + [DNAArrayAttribute(1, "char", 34, "_pad[1]", "System.Char[]", 1, 879)] public char[] _pad = new System.Char[1]; - [DNAFieldAttribute(8, "float", 35, "ofs_lock[2]", "System.Single[]", false, 880)] + [DNAArrayAttribute(8, "float", 35, "ofs_lock[2]", "System.Single[]", 2, 880)] public float[] ofs_lock = new System.Single[2]; [DNAFieldAttribute(2, "short", 36, "twdrawflag", "short", false, 888)] public short twdrawflag; [DNAFieldAttribute(2, "short", 37, "rflag", "short", false, 890)] public short rflag; - [DNAFieldAttribute(16, "float", 38, "lviewquat[4]", "System.Single[]", false, 892)] + [DNAArrayAttribute(16, "float", 38, "lviewquat[4]", "System.Single[]", 4, 892)] public float[] lviewquat = new System.Single[4]; [DNAFieldAttribute(1, "char", 39, "lpersp", "char", false, 908)] public char lpersp; @@ -99,11 +99,11 @@ namespace BlendFile.DNA { public char lview; [DNAFieldAttribute(1, "char", 41, "lview_axis_roll", "char", false, 910)] public char lview_axis_roll; - [DNAFieldAttribute(1, "char", 42, "_pad8[1]", "System.Char[]", false, 911)] + [DNAArrayAttribute(1, "char", 42, "_pad8[1]", "System.Char[]", 1, 911)] public char[] _pad8 = new System.Char[1]; [DNAFieldAttribute(4, "float", 43, "rot_angle", "float", false, 912)] public float rot_angle; - [DNAFieldAttribute(12, "float", 44, "rot_axis[3]", "System.Single[]", false, 916)] + [DNAArrayAttribute(12, "float", 44, "rot_axis[3]", "System.Single[]", 3, 916)] public float[] rot_axis = new System.Single[3]; public RegionView3D() { this.winmat = default; diff --git a/BlendFile/DNA/RenderData.cs b/BlendFile/DNA/RenderData.cs index ee8bb34..c0488d5 100644 --- a/BlendFile/DNA/RenderData.cs +++ b/BlendFile/DNA/RenderData.cs @@ -67,7 +67,7 @@ namespace BlendFile.DNA { public short quality; [DNAFieldAttribute(1, "char", 25, "use_lock_interface", "char", false, 496)] public char use_lock_interface; - [DNAFieldAttribute(3, "char", 26, "_pad7[3]", "System.Char[]", false, 497)] + [DNAArrayAttribute(3, "char", 26, "_pad7[3]", "System.Char[]", 3, 497)] public char[] _pad7 = new System.Char[3]; [DNAFieldAttribute(4, "int", 27, "scemode", "int", false, 500)] public int scemode; @@ -77,7 +77,7 @@ namespace BlendFile.DNA { public short frs_sec; [DNAFieldAttribute(1, "char", 30, "alphamode", "char", false, 510)] public char alphamode; - [DNAFieldAttribute(1, "char", 31, "_pad0[1]", "System.Char[]", false, 511)] + [DNAArrayAttribute(1, "char", 31, "_pad0[1]", "System.Char[]", 1, 511)] public char[] _pad0 = new System.Char[1]; [DNAFieldAttribute(16, "rctf", 32, "border", "rctf", false, 512)] public rctf border; @@ -85,7 +85,7 @@ namespace BlendFile.DNA { public ListBase layers; [DNAFieldAttribute(2, "short", 34, "actlay", "short", false, 544)] public short actlay; - [DNAFieldAttribute(2, "char", 35, "_pad1[2]", "System.Char[]", false, 546)] + [DNAArrayAttribute(2, "char", 35, "_pad1[2]", "System.Char[]", 2, 546)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(4, "float", 36, "xasp", "float", false, 548)] public float xasp; @@ -109,25 +109,25 @@ namespace BlendFile.DNA { public short bake_samples; [DNAFieldAttribute(2, "short", 46, "bake_margin_type", "short", false, 580)] public short bake_margin_type; - [DNAFieldAttribute(6, "char", 47, "_pad9[6]", "System.Char[]", false, 582)] + [DNAArrayAttribute(6, "char", 47, "_pad9[6]", "System.Char[]", 6, 582)] public char[] _pad9 = new System.Char[6]; [DNAFieldAttribute(4, "float", 48, "bake_biasdist", "float", false, 588)] public float bake_biasdist; [DNAFieldAttribute(4, "float", 49, "bake_user_scale", "float", false, 592)] public float bake_user_scale; - [DNAFieldAttribute(1024, "char", 50, "pic[1024]", "System.Char[]", false, 596)] + [DNAArrayAttribute(1024, "char", 50, "pic[1024]", "System.Char[]", 1024, 596)] public char[] pic = new System.Char[1024]; [DNAFieldAttribute(4, "int", 51, "stamp", "int", false, 1620)] public int stamp; [DNAFieldAttribute(2, "short", 52, "stamp_font_id", "short", false, 1624)] public short stamp_font_id; - [DNAFieldAttribute(2, "char", 53, "_pad3[2]", "System.Char[]", false, 1626)] + [DNAArrayAttribute(2, "char", 53, "_pad3[2]", "System.Char[]", 2, 1626)] public char[] _pad3 = new System.Char[2]; - [DNAFieldAttribute(768, "char", 54, "stamp_udata[768]", "System.Char[]", false, 1628)] + [DNAArrayAttribute(768, "char", 54, "stamp_udata[768]", "System.Char[]", 768, 1628)] public char[] stamp_udata = new System.Char[768]; - [DNAFieldAttribute(16, "float", 55, "fg_stamp[4]", "System.Single[]", false, 2396)] + [DNAArrayAttribute(16, "float", 55, "fg_stamp[4]", "System.Single[]", 4, 2396)] public float[] fg_stamp = new System.Single[4]; - [DNAFieldAttribute(16, "float", 56, "bg_stamp[4]", "System.Single[]", false, 2412)] + [DNAArrayAttribute(16, "float", 56, "bg_stamp[4]", "System.Single[]", 4, 2412)] public float[] bg_stamp = new System.Single[4]; [DNAFieldAttribute(1, "char", 57, "seq_prev_type", "char", false, 2428)] public char seq_prev_type; @@ -135,7 +135,7 @@ namespace BlendFile.DNA { public char seq_rend_type; [DNAFieldAttribute(1, "char", 59, "seq_flag", "char", false, 2430)] public char seq_flag; - [DNAFieldAttribute(3, "char", 60, "_pad5[3]", "System.Char[]", false, 2431)] + [DNAArrayAttribute(3, "char", 60, "_pad5[3]", "System.Char[]", 3, 2431)] public char[] _pad5 = new System.Char[3]; [DNAFieldAttribute(2, "short", 61, "simplify_subsurf", "short", false, 2434)] public short simplify_subsurf; @@ -153,9 +153,9 @@ namespace BlendFile.DNA { public int line_thickness_mode; [DNAFieldAttribute(4, "float", 68, "unit_line_thickness", "float", false, 2456)] public float unit_line_thickness; - [DNAFieldAttribute(32, "char", 69, "engine[32]", "System.Char[]", false, 2460)] + [DNAArrayAttribute(32, "char", 69, "engine[32]", "System.Char[]", 32, 2460)] public char[] engine = new System.Char[32]; - [DNAFieldAttribute(2, "char", 70, "_pad2[2]", "System.Char[]", false, 2492)] + [DNAArrayAttribute(2, "char", 70, "_pad2[2]", "System.Char[]", 2, 2492)] public char[] _pad2 = new System.Char[2]; [DNAFieldAttribute(2, "short", 71, "perf_flag", "short", false, 2494)] public short perf_flag; @@ -189,7 +189,7 @@ namespace BlendFile.DNA { public int compositor_precision; [DNAFieldAttribute(1, "char", 86, "use_old_cpu_compositor", "char", false, 4368)] public char use_old_cpu_compositor; - [DNAFieldAttribute(7, "char", 87, "_pad10[7]", "System.Char[]", false, 4369)] + [DNAArrayAttribute(7, "char", 87, "_pad10[7]", "System.Char[]", 7, 4369)] public char[] _pad10 = new System.Char[7]; public RenderData() { this.im_format = default; diff --git a/BlendFile/DNA/RenderSlot.cs b/BlendFile/DNA/RenderSlot.cs index d08004e..5617b62 100644 --- a/BlendFile/DNA/RenderSlot.cs +++ b/BlendFile/DNA/RenderSlot.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public RenderSlot next; [DNAFieldAttribute(8, "RenderSlot", 1, "*prev", "RenderSlot", true, 8)] public RenderSlot prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "RenderResult", 3, "*render", "RenderResult", true, 80)] public RenderResult render; diff --git a/BlendFile/DNA/ReportList.cs b/BlendFile/DNA/ReportList.cs index 109a4ca..6f17829 100644 --- a/BlendFile/DNA/ReportList.cs +++ b/BlendFile/DNA/ReportList.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public int storelevel; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "wmTimer", 5, "*reporttimer", "wmTimer", true, 16)] public wmTimer reporttimer; diff --git a/BlendFile/DNA/RigidBodyCon.cs b/BlendFile/DNA/RigidBodyCon.cs index 0c79b26..dea69b0 100644 --- a/BlendFile/DNA/RigidBodyCon.cs +++ b/BlendFile/DNA/RigidBodyCon.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public float breaking_threshold; [DNAFieldAttribute(1, "char", 6, "spring_type", "char", false, 28)] public char spring_type; - [DNAFieldAttribute(3, "char", 7, "_pad[3]", "System.Char[]", false, 29)] + [DNAArrayAttribute(3, "char", 7, "_pad[3]", "System.Char[]", 3, 29)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "float", 8, "limit_lin_x_lower", "float", false, 32)] public float limit_lin_x_lower; diff --git a/BlendFile/DNA/RigidBodyOb.cs b/BlendFile/DNA/RigidBodyOb.cs index 1eadca8..4e61b0b 100644 --- a/BlendFile/DNA/RigidBodyOb.cs +++ b/BlendFile/DNA/RigidBodyOb.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int col_groups; [DNAFieldAttribute(2, "short", 4, "mesh_source", "short", false, 12)] public short mesh_source; - [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 14)] + [DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, 14)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 6, "mass", "float", false, 16)] public float mass; @@ -43,11 +43,11 @@ namespace BlendFile.DNA { public float lin_sleep_thresh; [DNAFieldAttribute(4, "float", 13, "ang_sleep_thresh", "float", false, 44)] public float ang_sleep_thresh; - [DNAFieldAttribute(16, "float", 14, "orn[4]", "System.Single[]", false, 48)] + [DNAArrayAttribute(16, "float", 14, "orn[4]", "System.Single[]", 4, 48)] public float[] orn = new System.Single[4]; - [DNAFieldAttribute(12, "float", 15, "pos[3]", "System.Single[]", false, 64)] + [DNAArrayAttribute(12, "float", 15, "pos[3]", "System.Single[]", 3, 64)] public float[] pos = new System.Single[3]; - [DNAFieldAttribute(4, "char", 16, "_pad1[4]", "System.Char[]", false, 76)] + [DNAArrayAttribute(4, "char", 16, "_pad1[4]", "System.Char[]", 4, 76)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "RigidBodyOb_Shared", 17, "*shared", "RigidBodyOb_Shared", true, 80)] public RigidBodyOb_Shared shared; diff --git a/BlendFile/DNA/RigidBodyWorld.cs b/BlendFile/DNA/RigidBodyWorld.cs index 300bdd1..c089197 100644 --- a/BlendFile/DNA/RigidBodyWorld.cs +++ b/BlendFile/DNA/RigidBodyWorld.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public Object objects; [DNAFieldAttribute(8, "Collection", 3, "*constraints", "Collection", true, 24)] public Collection constraints; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 32)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 32)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "float", 5, "ltime", "float", false, 36)] public float ltime; diff --git a/BlendFile/DNA/RimShaderFxData.cs b/BlendFile/DNA/RimShaderFxData.cs index 68a489e..8388ac3 100644 --- a/BlendFile/DNA/RimShaderFxData.cs +++ b/BlendFile/DNA/RimShaderFxData.cs @@ -17,21 +17,21 @@ namespace BlendFile.DNA { public class RimShaderFxData { [DNAFieldAttribute(104, "ShaderFxData", 0, "shaderfx", "ShaderFxData", false, 0)] public ShaderFxData shaderfx; - [DNAFieldAttribute(8, "int", 1, "offset[2]", "System.Int32[]", false, 104)] + [DNAArrayAttribute(8, "int", 1, "offset[2]", "System.Int32[]", 2, 104)] public int[] offset = new System.Int32[2]; [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 112)] public int flag; - [DNAFieldAttribute(12, "float", 3, "rim_rgb[3]", "System.Single[]", false, 116)] + [DNAArrayAttribute(12, "float", 3, "rim_rgb[3]", "System.Single[]", 3, 116)] public float[] rim_rgb = new System.Single[3]; - [DNAFieldAttribute(12, "float", 4, "mask_rgb[3]", "System.Single[]", false, 128)] + [DNAArrayAttribute(12, "float", 4, "mask_rgb[3]", "System.Single[]", 3, 128)] public float[] mask_rgb = new System.Single[3]; [DNAFieldAttribute(4, "int", 5, "mode", "int", false, 140)] public int mode; - [DNAFieldAttribute(8, "int", 6, "blur[2]", "System.Int32[]", false, 144)] + [DNAArrayAttribute(8, "int", 6, "blur[2]", "System.Int32[]", 2, 144)] public int[] blur = new System.Int32[2]; [DNAFieldAttribute(4, "int", 7, "samples", "int", false, 152)] public int samples; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 156)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 156)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(40, "ShaderFxData_Runtime", 9, "runtime", "ShaderFxData_Runtime", false, 160)] public ShaderFxData_Runtime runtime; diff --git a/BlendFile/DNA/SBVertex.cs b/BlendFile/DNA/SBVertex.cs index e376449..5685f5d 100644 --- a/BlendFile/DNA/SBVertex.cs +++ b/BlendFile/DNA/SBVertex.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(758, "SBVertex", 16)] public class SBVertex { - [DNAFieldAttribute(16, "float", 0, "vec[4]", "System.Single[]", false, 0)] + [DNAArrayAttribute(16, "float", 0, "vec[4]", "System.Single[]", 4, 0)] public float[] vec = new System.Single[4]; public SBVertex() { this.vec = default; diff --git a/BlendFile/DNA/SPHFluidSettings.cs b/BlendFile/DNA/SPHFluidSettings.cs index 0698747..3968d68 100644 --- a/BlendFile/DNA/SPHFluidSettings.cs +++ b/BlendFile/DNA/SPHFluidSettings.cs @@ -47,7 +47,7 @@ namespace BlendFile.DNA { public int spring_frames; [DNAFieldAttribute(2, "short", 15, "solver", "short", false, 60)] public short solver; - [DNAFieldAttribute(6, "char", 16, "_pad[6]", "System.Char[]", false, 62)] + [DNAArrayAttribute(6, "char", 16, "_pad[6]", "System.Char[]", 6, 62)] public char[] _pad = new System.Char[6]; public SPHFluidSettings() { this.radius = default; diff --git a/BlendFile/DNA/Scene.cs b/BlendFile/DNA/Scene.cs index 072800b..ceb5b63 100644 --- a/BlendFile/DNA/Scene.cs +++ b/BlendFile/DNA/Scene.cs @@ -39,13 +39,13 @@ namespace BlendFile.DNA { public int lay; [DNAFieldAttribute(4, "int", 11, "layact", "int", false, 356)] public int layact; - [DNAFieldAttribute(4, "char", 12, "_pad2[4]", "System.Char[]", false, 360)] + [DNAArrayAttribute(4, "char", 12, "_pad2[4]", "System.Char[]", 4, 360)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(2, "short", 13, "flag", "short", false, 364)] public short flag; [DNAFieldAttribute(1, "char", 14, "use_nodes", "char", false, 366)] public char use_nodes; - [DNAFieldAttribute(1, "char", 15, "_pad3[1]", "System.Char[]", false, 367)] + [DNAArrayAttribute(1, "char", 15, "_pad3[1]", "System.Char[]", 1, 367)] public char[] _pad3 = new System.Char[1]; [DNAFieldAttribute(8, "bNodeTree", 16, "*nodetree", "bNodeTree", true, 368)] public bNodeTree nodetree; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { public ListBase markers; [DNAFieldAttribute(16, "ListBase", 24, "transform_spaces", "ListBase", false, 4856)] public ListBase transform_spaces; - [DNAFieldAttribute(64, "TransformOrientationSlot", 25, "orientation_slots[4]", "TransformOrientationSlot[]", false, 4872)] + [DNAArrayAttribute(64, "TransformOrientationSlot", 25, "orientation_slots[4]", "TransformOrientationSlot[]", 4, 4872)] public TransformOrientationSlot[] orientation_slots = new TransformOrientationSlot[4]; [DNAFieldAttribute(8, "void", 26, "*sound_scene", "void", true, 4936)] public object sound_scene; @@ -79,7 +79,7 @@ namespace BlendFile.DNA { public object fps_info; [DNAFieldAttribute(8, "GHash", 31, "*depsgraph_hash", "GHash", true, 4976)] public GHash depsgraph_hash; - [DNAFieldAttribute(4, "char", 32, "_pad7[4]", "System.Char[]", false, 4984)] + [DNAArrayAttribute(4, "char", 32, "_pad7[4]", "System.Char[]", 4, 4984)] public char[] _pad7 = new System.Char[4]; [DNAFieldAttribute(4, "int", 33, "active_keyingset", "int", false, 4988)] public int active_keyingset; diff --git a/BlendFile/DNA/SceneDisplay.cs b/BlendFile/DNA/SceneDisplay.cs index af7d4c9..6d7de40 100644 --- a/BlendFile/DNA/SceneDisplay.cs +++ b/BlendFile/DNA/SceneDisplay.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(832, "SceneDisplay", 984)] public class SceneDisplay { - [DNAFieldAttribute(12, "float", 0, "light_direction[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "light_direction[3]", "System.Single[]", 3, 0)] public float[] light_direction = new System.Single[3]; [DNAFieldAttribute(4, "float", 1, "shadow_shift", "float", false, 12)] public float shadow_shift; @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public char viewport_aa; [DNAFieldAttribute(1, "char", 7, "render_aa", "char", false, 33)] public char render_aa; - [DNAFieldAttribute(6, "char", 8, "_pad[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 8, "_pad[6]", "System.Char[]", 6, 34)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(944, "View3DShading", 9, "shading", "View3DShading", false, 40)] public View3DShading shading; diff --git a/BlendFile/DNA/SceneEEVEE.cs b/BlendFile/DNA/SceneEEVEE.cs index 98050b5..2e112dd 100644 --- a/BlendFile/DNA/SceneEEVEE.cs +++ b/BlendFile/DNA/SceneEEVEE.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public float gi_glossy_clamp; [DNAFieldAttribute(4, "int", 5, "gi_irradiance_pool_size", "int", false, 20)] public int gi_irradiance_pool_size; - [DNAFieldAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", false, 24)] + [DNAArrayAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", 4, 24)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(4, "int", 7, "taa_samples", "int", false, 28)] public int taa_samples; @@ -71,7 +71,7 @@ namespace BlendFile.DNA { public float fast_gi_thickness_far; [DNAFieldAttribute(1, "char", 27, "fast_gi_method", "char", false, 108)] public char fast_gi_method; - [DNAFieldAttribute(3, "char", 28, "_pad1[3]", "System.Char[]", false, 109)] + [DNAArrayAttribute(3, "char", 28, "_pad1[3]", "System.Char[]", 3, 109)] public char[] _pad1 = new System.Char[3]; [DNAFieldAttribute(4, "float", 29, "bokeh_overblur", "float", false, 112)] public float bokeh_overblur; diff --git a/BlendFile/DNA/SceneGpencil.cs b/BlendFile/DNA/SceneGpencil.cs index a6cd2b0..c2d0567 100644 --- a/BlendFile/DNA/SceneGpencil.cs +++ b/BlendFile/DNA/SceneGpencil.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class SceneGpencil { [DNAFieldAttribute(4, "float", 0, "smaa_threshold", "float", false, 0)] public float smaa_threshold; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 4)] public char[] _pad = new System.Char[4]; public SceneGpencil() { this.smaa_threshold = default; diff --git a/BlendFile/DNA/SceneRenderLayer.cs b/BlendFile/DNA/SceneRenderLayer.cs index 1840d09..3e742f2 100644 --- a/BlendFile/DNA/SceneRenderLayer.cs +++ b/BlendFile/DNA/SceneRenderLayer.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public SceneRenderLayer next; [DNAFieldAttribute(8, "SceneRenderLayer", 1, "*prev", "SceneRenderLayer", true, 8)] public SceneRenderLayer prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "Material", 3, "*mat_override", "Material", true, 80)] public Material mat_override; diff --git a/BlendFile/DNA/SceneRenderView.cs b/BlendFile/DNA/SceneRenderView.cs index 43f5fa5..0c1e15a 100644 --- a/BlendFile/DNA/SceneRenderView.cs +++ b/BlendFile/DNA/SceneRenderView.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public SceneRenderView next; [DNAFieldAttribute(8, "SceneRenderView", 1, "*prev", "SceneRenderView", true, 8)] public SceneRenderView prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "suffix[64]", "System.Char[]", false, 80)] + [DNAArrayAttribute(64, "char", 3, "suffix[64]", "System.Char[]", 64, 80)] public char[] suffix = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "viewflag", "int", false, 144)] public int viewflag; - [DNAFieldAttribute(4, "char", 5, "_pad2[4]", "System.Char[]", false, 148)] + [DNAArrayAttribute(4, "char", 5, "_pad2[4]", "System.Char[]", 4, 148)] public char[] _pad2 = new System.Char[4]; public SceneRenderView() { this.next = default; diff --git a/BlendFile/DNA/Scopes.cs b/BlendFile/DNA/Scopes.cs index b61661c..a50d5a3 100644 --- a/BlendFile/DNA/Scopes.cs +++ b/BlendFile/DNA/Scopes.cs @@ -39,7 +39,7 @@ namespace BlendFile.DNA { public float wavefrm_yfac; [DNAFieldAttribute(4, "float", 11, "vecscope_alpha", "float", false, 44)] public float vecscope_alpha; - [DNAFieldAttribute(24, "float", 12, "minmax[3][2]", "System.Single[,]", false, 48)] + [DNAArrayAttribute(24, "float", 12, "minmax[3][2]", "System.Single[,]", 5, 48)] public float[,] minmax = new System.Single[3,2]; [DNAFieldAttribute(5160, "Histogram", 13, "hist", "Histogram", false, 72)] public Histogram hist; diff --git a/BlendFile/DNA/ScrArea.cs b/BlendFile/DNA/ScrArea.cs index d273801..18f4435 100644 --- a/BlendFile/DNA/ScrArea.cs +++ b/BlendFile/DNA/ScrArea.cs @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 16, "region_active_win", "short", false, 84)] public short region_active_win; - [DNAFieldAttribute(2, "char", 17, "_pad[2]", "System.Char[]", false, 86)] + [DNAArrayAttribute(2, "char", 17, "_pad[2]", "System.Char[]", 2, 86)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(8, "SpaceType", 18, "*type", "SpaceType", true, 88)] public SpaceType type; diff --git a/BlendFile/DNA/ScrArea_Runtime.cs b/BlendFile/DNA/ScrArea_Runtime.cs index 4125081..6978e69 100644 --- a/BlendFile/DNA/ScrArea_Runtime.cs +++ b/BlendFile/DNA/ScrArea_Runtime.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public bToolRef tool; [DNAFieldAttribute(1, "char", 1, "is_tool_set", "char", false, 8)] public char is_tool_set; - [DNAFieldAttribute(7, "char", 2, "_pad0[7]", "System.Char[]", false, 9)] + [DNAArrayAttribute(7, "char", 2, "_pad0[7]", "System.Char[]", 7, 9)] public char[] _pad0 = new System.Char[7]; public ScrArea_Runtime() { this.tool = default; diff --git a/BlendFile/DNA/ScrEdge.cs b/BlendFile/DNA/ScrEdge.cs index 72a7564..49ca943 100644 --- a/BlendFile/DNA/ScrEdge.cs +++ b/BlendFile/DNA/ScrEdge.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public short border; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 34)] public short flag; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 36)] public char[] _pad = new System.Char[4]; public ScrEdge() { this.next = default; diff --git a/BlendFile/DNA/ScrGlobalAreaData.cs b/BlendFile/DNA/ScrGlobalAreaData.cs index caa3fe4..6e4c80a 100644 --- a/BlendFile/DNA/ScrGlobalAreaData.cs +++ b/BlendFile/DNA/ScrGlobalAreaData.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public short align; [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 8)] public short flag; - [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 10)] + [DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, 10)] public char[] _pad = new System.Char[2]; public ScrGlobalAreaData() { this.cur_fixed_height = default; diff --git a/BlendFile/DNA/ScrewModifierData.cs b/BlendFile/DNA/ScrewModifierData.cs index bb36fa4..32fb4d5 100644 --- a/BlendFile/DNA/ScrewModifierData.cs +++ b/BlendFile/DNA/ScrewModifierData.cs @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(1, "char", 9, "axis", "char", false, 154)] public char axis; - [DNAFieldAttribute(5, "char", 10, "_pad[5]", "System.Char[]", false, 155)] + [DNAArrayAttribute(5, "char", 10, "_pad[5]", "System.Char[]", 5, 155)] public char[] _pad = new System.Char[5]; [DNAFieldAttribute(8, "void", 11, "*_pad1", "void", true, 160)] public object _pad1; diff --git a/BlendFile/DNA/Script.cs b/BlendFile/DNA/Script.cs index d7bceb2..31ea3fb 100644 --- a/BlendFile/DNA/Script.cs +++ b/BlendFile/DNA/Script.cs @@ -31,9 +31,9 @@ namespace BlendFile.DNA { public int flags; [DNAFieldAttribute(4, "int", 7, "lastspace", "int", false, 252)] public int lastspace; - [DNAFieldAttribute(1024, "char", 8, "scriptname[1024]", "System.Char[]", false, 256)] + [DNAArrayAttribute(1024, "char", 8, "scriptname[1024]", "System.Char[]", 1024, 256)] public char[] scriptname = new System.Char[1024]; - [DNAFieldAttribute(256, "char", 9, "scriptarg[256]", "System.Char[]", false, 1280)] + [DNAArrayAttribute(256, "char", 9, "scriptarg[256]", "System.Char[]", 256, 1280)] public char[] scriptarg = new System.Char[256]; public Script() { this.id = default; diff --git a/BlendFile/DNA/Sculpt.cs b/BlendFile/DNA/Sculpt.cs index 578e505..151bc0d 100644 --- a/BlendFile/DNA/Sculpt.cs +++ b/BlendFile/DNA/Sculpt.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int transform_mode; [DNAFieldAttribute(4, "int", 3, "automasking_flags", "int", false, 128)] public int automasking_flags; - [DNAFieldAttribute(12, "int", 4, "radial_symm[3]", "System.Int32[]", false, 132)] + [DNAArrayAttribute(12, "int", 4, "radial_symm[3]", "System.Int32[]", 3, 132)] public int[] radial_symm = new System.Int32[3]; [DNAFieldAttribute(4, "float", 5, "detail_size", "float", false, 144)] public float detail_size; diff --git a/BlendFile/DNA/SeqRetimingHandle.cs b/BlendFile/DNA/SeqRetimingHandle.cs index 2486ef1..756e946 100644 --- a/BlendFile/DNA/SeqRetimingHandle.cs +++ b/BlendFile/DNA/SeqRetimingHandle.cs @@ -23,13 +23,13 @@ namespace BlendFile.DNA { public int _pad0; [DNAFieldAttribute(4, "float", 3, "retiming_factor", "float", false, 16)] public float retiming_factor; - [DNAFieldAttribute(4, "char", 4, "_pad1[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 4, "_pad1[4]", "System.Char[]", 4, 20)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "double", 5, "original_strip_frame_index", "double", false, 24)] public double original_strip_frame_index; [DNAFieldAttribute(4, "float", 6, "original_retiming_factor", "float", false, 32)] public float original_retiming_factor; - [DNAFieldAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", 4, 36)] public char[] _pad2 = new System.Char[4]; public SeqRetimingHandle() { this.strip_frame_index = default; diff --git a/BlendFile/DNA/SeqTimelineChannel.cs b/BlendFile/DNA/SeqTimelineChannel.cs index 48f8fb2..cb7e910 100644 --- a/BlendFile/DNA/SeqTimelineChannel.cs +++ b/BlendFile/DNA/SeqTimelineChannel.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public SeqTimelineChannel next; [DNAFieldAttribute(8, "SeqTimelineChannel", 1, "*prev", "SeqTimelineChannel", true, 8)] public SeqTimelineChannel prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "index", "int", false, 80)] public int index; diff --git a/BlendFile/DNA/Sequence.cs b/BlendFile/DNA/Sequence.cs index fd249e0..b9eee56 100644 --- a/BlendFile/DNA/Sequence.cs +++ b/BlendFile/DNA/Sequence.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public object tmp; [DNAFieldAttribute(8, "void", 3, "*lib", "void", true, 24)] public object lib; - [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 4, "name[64]", "System.Char[]", 64, 32)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 96)] public int flag; @@ -83,7 +83,7 @@ namespace BlendFile.DNA { public Sequence seq2; [DNAFieldAttribute(8, "void", 33, "*_pad7", "void", true, 248)] public object _pad7; - [DNAFieldAttribute(8, "int", 34, "_pad8[2]", "System.Int32[]", false, 256)] + [DNAArrayAttribute(8, "int", 34, "_pad8[2]", "System.Int32[]", 2, 256)] public int[] _pad8 = new System.Int32[2]; [DNAFieldAttribute(16, "ListBase", 35, "seqbase", "ListBase", false, 264)] public ListBase seqbase; @@ -105,7 +105,7 @@ namespace BlendFile.DNA { public float strobe; [DNAFieldAttribute(4, "float", 44, "sound_offset", "float", false, 344)] public float sound_offset; - [DNAFieldAttribute(4, "char", 45, "_pad4[4]", "System.Char[]", false, 348)] + [DNAArrayAttribute(4, "char", 45, "_pad4[4]", "System.Char[]", 4, 348)] public char[] _pad4 = new System.Char[4]; [DNAFieldAttribute(8, "void", 46, "*effectdata", "void", true, 352)] public object effectdata; @@ -121,7 +121,7 @@ namespace BlendFile.DNA { public sbyte color_tag; [DNAFieldAttribute(1, "char", 52, "alpha_mode", "char", false, 377)] public char alpha_mode; - [DNAFieldAttribute(2, "char", 53, "_pad2[2]", "System.Char[]", false, 378)] + [DNAArrayAttribute(2, "char", 53, "_pad2[2]", "System.Char[]", 2, 378)] public char[] _pad2 = new System.Char[2]; [DNAFieldAttribute(4, "int", 54, "cache_flag", "int", false, 380)] public int cache_flag; @@ -129,7 +129,7 @@ namespace BlendFile.DNA { public int sfra; [DNAFieldAttribute(1, "char", 56, "views_format", "char", false, 388)] public char views_format; - [DNAFieldAttribute(3, "char", 57, "_pad3[3]", "System.Char[]", false, 389)] + [DNAArrayAttribute(3, "char", 57, "_pad3[3]", "System.Char[]", 3, 389)] public char[] _pad3 = new System.Char[3]; [DNAFieldAttribute(8, "Stereo3dFormat", 58, "*stereo3d_format", "Stereo3dFormat", true, 392)] public Stereo3dFormat stereo3d_format; @@ -147,7 +147,7 @@ namespace BlendFile.DNA { public object _pad5; [DNAFieldAttribute(4, "int", 65, "retiming_handle_num", "int", false, 448)] public int retiming_handle_num; - [DNAFieldAttribute(4, "char", 66, "_pad6[4]", "System.Char[]", false, 452)] + [DNAArrayAttribute(4, "char", 66, "_pad6[4]", "System.Char[]", 4, 452)] public char[] _pad6 = new System.Char[4]; [DNAFieldAttribute(8, "SequenceRuntime", 67, "runtime", "SequenceRuntime", false, 456)] public SequenceRuntime runtime; diff --git a/BlendFile/DNA/SequenceModifierData.cs b/BlendFile/DNA/SequenceModifierData.cs index a5f2280..f3e1254 100644 --- a/BlendFile/DNA/SequenceModifierData.cs +++ b/BlendFile/DNA/SequenceModifierData.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 20)] public int flag; - [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 24)] + [DNAArrayAttribute(64, "char", 4, "name[64]", "System.Char[]", 64, 24)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "mask_input_type", "int", false, 88)] public int mask_input_type; diff --git a/BlendFile/DNA/SequencerCacheOverlay.cs b/BlendFile/DNA/SequencerCacheOverlay.cs index 0b59846..37ac71d 100644 --- a/BlendFile/DNA/SequencerCacheOverlay.cs +++ b/BlendFile/DNA/SequencerCacheOverlay.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class SequencerCacheOverlay { [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(4, "char", 1, "_pad0[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad0[4]", "System.Char[]", 4, 4)] public char[] _pad0 = new System.Char[4]; public SequencerCacheOverlay() { this.flag = default; diff --git a/BlendFile/DNA/SequencerPreviewOverlay.cs b/BlendFile/DNA/SequencerPreviewOverlay.cs index d5a84c4..d01a914 100644 --- a/BlendFile/DNA/SequencerPreviewOverlay.cs +++ b/BlendFile/DNA/SequencerPreviewOverlay.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class SequencerPreviewOverlay { [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(4, "char", 1, "_pad0[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad0[4]", "System.Char[]", 4, 4)] public char[] _pad0 = new System.Char[4]; public SequencerPreviewOverlay() { this.flag = default; diff --git a/BlendFile/DNA/SequencerTimelineOverlay.cs b/BlendFile/DNA/SequencerTimelineOverlay.cs index e748dbb..c3ba7f3 100644 --- a/BlendFile/DNA/SequencerTimelineOverlay.cs +++ b/BlendFile/DNA/SequencerTimelineOverlay.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class SequencerTimelineOverlay { [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(4, "char", 1, "_pad0[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad0[4]", "System.Char[]", 4, 4)] public char[] _pad0 = new System.Char[4]; public SequencerTimelineOverlay() { this.flag = default; diff --git a/BlendFile/DNA/ShaderFxData.cs b/BlendFile/DNA/ShaderFxData.cs index 1784a07..6594852 100644 --- a/BlendFile/DNA/ShaderFxData.cs +++ b/BlendFile/DNA/ShaderFxData.cs @@ -23,13 +23,13 @@ namespace BlendFile.DNA { public int type; [DNAFieldAttribute(4, "int", 3, "mode", "int", false, 20)] public int mode; - [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 24)] + [DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, 24)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 28)] public short flag; [DNAFieldAttribute(2, "short", 6, "ui_expand_flag", "short", false, 30)] public short ui_expand_flag; - [DNAFieldAttribute(64, "char", 7, "name[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 7, "name[64]", "System.Char[]", 64, 32)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "char", 8, "*error", "char", true, 96)] public char error; diff --git a/BlendFile/DNA/ShaderFxData_Runtime.cs b/BlendFile/DNA/ShaderFxData_Runtime.cs index e552d17..5b30a8c 100644 --- a/BlendFile/DNA/ShaderFxData_Runtime.cs +++ b/BlendFile/DNA/ShaderFxData_Runtime.cs @@ -15,9 +15,9 @@ namespace BlendFile.DNA { [DNAClassAttribute(915, "ShaderFxData_Runtime", 40)] public class ShaderFxData_Runtime { - [DNAFieldAttribute(12, "float", 0, "loc[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "loc[3]", "System.Single[]", 3, 0)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "DRWShadingGroup", 2, "*fx_sh", "DRWShadingGroup", true, 16)] public DRWShadingGroup fx_sh; diff --git a/BlendFile/DNA/ShadowShaderFxData.cs b/BlendFile/DNA/ShadowShaderFxData.cs index 930de21..3cefd9b 100644 --- a/BlendFile/DNA/ShadowShaderFxData.cs +++ b/BlendFile/DNA/ShadowShaderFxData.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public ShaderFxData shaderfx; [DNAFieldAttribute(8, "Object", 1, "*object", "Object", true, 104)] public Object @object; - [DNAFieldAttribute(8, "int", 2, "offset[2]", "System.Int32[]", false, 112)] + [DNAArrayAttribute(8, "int", 2, "offset[2]", "System.Int32[]", 2, 112)] public int[] offset = new System.Int32[2]; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(16, "float", 4, "shadow_rgba[4]", "System.Single[]", false, 124)] + [DNAArrayAttribute(16, "float", 4, "shadow_rgba[4]", "System.Single[]", 4, 124)] public float[] shadow_rgba = new System.Single[4]; [DNAFieldAttribute(4, "float", 5, "amplitude", "float", false, 140)] public float amplitude; @@ -33,15 +33,15 @@ namespace BlendFile.DNA { public float phase; [DNAFieldAttribute(4, "int", 8, "orientation", "int", false, 152)] public int orientation; - [DNAFieldAttribute(8, "float", 9, "scale[2]", "System.Single[]", false, 156)] + [DNAArrayAttribute(8, "float", 9, "scale[2]", "System.Single[]", 2, 156)] public float[] scale = new System.Single[2]; [DNAFieldAttribute(4, "float", 10, "rotation", "float", false, 164)] public float rotation; - [DNAFieldAttribute(8, "int", 11, "blur[2]", "System.Int32[]", false, 168)] + [DNAArrayAttribute(8, "int", 11, "blur[2]", "System.Int32[]", 2, 168)] public int[] blur = new System.Int32[2]; [DNAFieldAttribute(4, "int", 12, "samples", "int", false, 176)] public int samples; - [DNAFieldAttribute(4, "char", 13, "_pad[4]", "System.Char[]", false, 180)] + [DNAArrayAttribute(4, "char", 13, "_pad[4]", "System.Char[]", 4, 180)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(40, "ShaderFxData_Runtime", 14, "runtime", "ShaderFxData_Runtime", false, 184)] public ShaderFxData_Runtime runtime; diff --git a/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs b/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs index 08e6ea6..3801615 100644 --- a/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs +++ b/BlendFile/DNA/ShrinkwrapGpencilModifierData.cs @@ -23,9 +23,9 @@ namespace BlendFile.DNA { public Object aux_target; [DNAFieldAttribute(8, "Material", 3, "*material", "Material", true, 120)] public Material material; - [DNAFieldAttribute(64, "char", 4, "layername[64]", "System.Char[]", false, 128)] + [DNAArrayAttribute(64, "char", 4, "layername[64]", "System.Char[]", 64, 128)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 5, "vgname[64]", "System.Char[]", false, 192)] + [DNAArrayAttribute(64, "char", 5, "vgname[64]", "System.Char[]", 64, 192)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 6, "pass_index", "int", false, 256)] public int pass_index; @@ -47,7 +47,7 @@ namespace BlendFile.DNA { public char proj_axis; [DNAFieldAttribute(1, "char", 15, "subsurf_levels", "char", false, 281)] public char subsurf_levels; - [DNAFieldAttribute(6, "char", 16, "_pad[6]", "System.Char[]", false, 282)] + [DNAArrayAttribute(6, "char", 16, "_pad[6]", "System.Char[]", 6, 282)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(4, "float", 17, "smooth_factor", "float", false, 288)] public float smooth_factor; diff --git a/BlendFile/DNA/ShrinkwrapModifierData.cs b/BlendFile/DNA/ShrinkwrapModifierData.cs index 203ed6a..c181874 100644 --- a/BlendFile/DNA/ShrinkwrapModifierData.cs +++ b/BlendFile/DNA/ShrinkwrapModifierData.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public Object target; [DNAFieldAttribute(8, "Object", 2, "*auxTarget", "Object", true, 128)] public Object auxTarget; - [DNAFieldAttribute(64, "char", 3, "vgroup_name[64]", "System.Char[]", false, 136)] + [DNAArrayAttribute(64, "char", 3, "vgroup_name[64]", "System.Char[]", 64, 136)] public char[] vgroup_name = new System.Char[64]; [DNAFieldAttribute(4, "float", 4, "keepDist", "float", false, 200)] public float keepDist; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public char projAxis; [DNAFieldAttribute(1, "char", 10, "subsurfLevels", "char", false, 213)] public char subsurfLevels; - [DNAFieldAttribute(2, "char", 11, "_pad[2]", "System.Char[]", false, 214)] + [DNAArrayAttribute(2, "char", 11, "_pad[2]", "System.Char[]", 2, 214)] public char[] _pad = new System.Char[2]; public ShrinkwrapModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SimpleDeformModifierData.cs b/BlendFile/DNA/SimpleDeformModifierData.cs index b9af4d5..9251c66 100644 --- a/BlendFile/DNA/SimpleDeformModifierData.cs +++ b/BlendFile/DNA/SimpleDeformModifierData.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(8, "Object", 1, "*origin", "Object", true, 120)] public Object origin; - [DNAFieldAttribute(64, "char", 2, "vgroup_name[64]", "System.Char[]", false, 128)] + [DNAArrayAttribute(64, "char", 2, "vgroup_name[64]", "System.Char[]", 64, 128)] public char[] vgroup_name = new System.Char[64]; [DNAFieldAttribute(4, "float", 3, "factor", "float", false, 192)] public float factor; - [DNAFieldAttribute(8, "float", 4, "limit[2]", "System.Single[]", false, 196)] + [DNAArrayAttribute(8, "float", 4, "limit[2]", "System.Single[]", 2, 196)] public float[] limit = new System.Single[2]; [DNAFieldAttribute(1, "char", 5, "mode", "char", false, 204)] public char mode; diff --git a/BlendFile/DNA/SimplifyGpencilModifierData.cs b/BlendFile/DNA/SimplifyGpencilModifierData.cs index af073de..20e6e34 100644 --- a/BlendFile/DNA/SimplifyGpencilModifierData.cs +++ b/BlendFile/DNA/SimplifyGpencilModifierData.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; diff --git a/BlendFile/DNA/SimulationZoneViewerPathElem.cs b/BlendFile/DNA/SimulationZoneViewerPathElem.cs index f6354fa..fce1d2a 100644 --- a/BlendFile/DNA/SimulationZoneViewerPathElem.cs +++ b/BlendFile/DNA/SimulationZoneViewerPathElem.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public ViewerPathElem @base; [DNAFieldAttribute(4, "int", 1, "sim_output_node_id", "int", false, 32)] public int sim_output_node_id; - [DNAFieldAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", 4, 36)] public char[] _pad1 = new System.Char[4]; public SimulationZoneViewerPathElem() { this.@base = default; diff --git a/BlendFile/DNA/SkinModifierData.cs b/BlendFile/DNA/SkinModifierData.cs index 004076f..fd85437 100644 --- a/BlendFile/DNA/SkinModifierData.cs +++ b/BlendFile/DNA/SkinModifierData.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(1, "char", 3, "symmetry_axes", "char", false, 125)] public char symmetry_axes; - [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 126)] + [DNAArrayAttribute(2, "char", 4, "_pad[2]", "System.Char[]", 2, 126)] public char[] _pad = new System.Char[2]; public SkinModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SmoothGpencilModifierData.cs b/BlendFile/DNA/SmoothGpencilModifierData.cs index d88943e..e096f5d 100644 --- a/BlendFile/DNA/SmoothGpencilModifierData.cs +++ b/BlendFile/DNA/SmoothGpencilModifierData.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] + [DNAArrayAttribute(64, "char", 4, "vgname[64]", "System.Char[]", 64, 240)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public int step; [DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 320)] public int layer_pass; - [DNAFieldAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", false, 324)] + [DNAArrayAttribute(4, "char", 10, "_pad1[4]", "System.Char[]", 4, 324)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "CurveMapping", 11, "*curve_intensity", "CurveMapping", true, 328)] public CurveMapping curve_intensity; diff --git a/BlendFile/DNA/SmoothModifierData.cs b/BlendFile/DNA/SmoothModifierData.cs index 96bd17d..d2a7019 100644 --- a/BlendFile/DNA/SmoothModifierData.cs +++ b/BlendFile/DNA/SmoothModifierData.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(4, "float", 1, "fac", "float", false, 120)] public float fac; - [DNAFieldAttribute(64, "char", 2, "defgrp_name[64]", "System.Char[]", false, 124)] + [DNAArrayAttribute(64, "char", 2, "defgrp_name[64]", "System.Char[]", 64, 124)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 188)] public short flag; diff --git a/BlendFile/DNA/SoftBody.cs b/BlendFile/DNA/SoftBody.cs index 3afc3a1..63fda72 100644 --- a/BlendFile/DNA/SoftBody.cs +++ b/BlendFile/DNA/SoftBody.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public short msg_value; [DNAFieldAttribute(4, "float", 7, "nodemass", "float", false, 28)] public float nodemass; - [DNAFieldAttribute(64, "char", 8, "namedVG_Mass[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 8, "namedVG_Mass[64]", "System.Char[]", 64, 32)] public char[] namedVG_Mass = new System.Char[64]; [DNAFieldAttribute(4, "float", 9, "grav", "float", false, 96)] public float grav; @@ -53,7 +53,7 @@ namespace BlendFile.DNA { public float defgoal; [DNAFieldAttribute(2, "short", 18, "vertgroup", "short", false, 132)] public short vertgroup; - [DNAFieldAttribute(64, "char", 19, "namedVG_Softgoal[64]", "System.Char[]", false, 134)] + [DNAArrayAttribute(64, "char", 19, "namedVG_Softgoal[64]", "System.Char[]", 64, 134)] public char[] namedVG_Softgoal = new System.Char[64]; [DNAFieldAttribute(2, "short", 20, "fuzzyness", "short", false, 198)] public short fuzzyness; @@ -61,9 +61,9 @@ namespace BlendFile.DNA { public float inspring; [DNAFieldAttribute(4, "float", 22, "infrict", "float", false, 204)] public float infrict; - [DNAFieldAttribute(64, "char", 23, "namedVG_Spring_K[64]", "System.Char[]", false, 208)] + [DNAArrayAttribute(64, "char", 23, "namedVG_Spring_K[64]", "System.Char[]", 64, 208)] public char[] namedVG_Spring_K = new System.Char[64]; - [DNAFieldAttribute(6, "char", 24, "_pad1[6]", "System.Char[]", false, 272)] + [DNAArrayAttribute(6, "char", 24, "_pad1[6]", "System.Char[]", 6, 272)] public char[] _pad1 = new System.Char[6]; [DNAFieldAttribute(1, "char", 25, "local", "char", false, 278)] public char local; @@ -115,11 +115,11 @@ namespace BlendFile.DNA { public Collection collision_group; [DNAFieldAttribute(8, "EffectorWeights", 49, "*effector_weights", "EffectorWeights", true, 384)] public EffectorWeights effector_weights; - [DNAFieldAttribute(12, "float", 50, "lcom[3]", "System.Single[]", false, 392)] + [DNAArrayAttribute(12, "float", 50, "lcom[3]", "System.Single[]", 3, 392)] public float[] lcom = new System.Single[3]; - [DNAFieldAttribute(36, "float", 51, "lrot[3][3]", "System.Single[,]", false, 404)] + [DNAArrayAttribute(36, "float", 51, "lrot[3][3]", "System.Single[,]", 6, 404)] public float[,] lrot = new System.Single[3,3]; - [DNAFieldAttribute(36, "float", 52, "lscale[3][3]", "System.Single[,]", false, 440)] + [DNAArrayAttribute(36, "float", 52, "lscale[3][3]", "System.Single[,]", 6, 440)] public float[,] lscale = new System.Single[3,3]; [DNAFieldAttribute(4, "int", 53, "last_frame", "int", false, 476)] public int last_frame; diff --git a/BlendFile/DNA/SolidColorVars.cs b/BlendFile/DNA/SolidColorVars.cs index b4afb8f..2653e0c 100644 --- a/BlendFile/DNA/SolidColorVars.cs +++ b/BlendFile/DNA/SolidColorVars.cs @@ -15,9 +15,9 @@ namespace BlendFile.DNA { [DNAClassAttribute(899, "SolidColorVars", 16)] public class SolidColorVars { - [DNAFieldAttribute(12, "float", 0, "col[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "col[3]", "System.Single[]", 3, 0)] public float[] col = new System.Single[3]; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; public SolidColorVars() { this.col = default; diff --git a/BlendFile/DNA/SolidLight.cs b/BlendFile/DNA/SolidLight.cs index 2bed5a0..69aeea2 100644 --- a/BlendFile/DNA/SolidLight.cs +++ b/BlendFile/DNA/SolidLight.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "float", 1, "smooth", "float", false, 4)] public float smooth; - [DNAFieldAttribute(16, "float", 2, "col[4]", "System.Single[]", false, 8)] + [DNAArrayAttribute(16, "float", 2, "col[4]", "System.Single[]", 4, 8)] public float[] col = new System.Single[4]; - [DNAFieldAttribute(16, "float", 3, "spec[4]", "System.Single[]", false, 24)] + [DNAArrayAttribute(16, "float", 3, "spec[4]", "System.Single[]", 4, 24)] public float[] spec = new System.Single[4]; - [DNAFieldAttribute(16, "float", 4, "vec[4]", "System.Single[]", false, 40)] + [DNAArrayAttribute(16, "float", 4, "vec[4]", "System.Single[]", 4, 40)] public float[] vec = new System.Single[4]; public SolidLight() { this.flag = default; diff --git a/BlendFile/DNA/SolidifyModifierData.cs b/BlendFile/DNA/SolidifyModifierData.cs index 50eb8ae..b8460b3 100644 --- a/BlendFile/DNA/SolidifyModifierData.cs +++ b/BlendFile/DNA/SolidifyModifierData.cs @@ -17,11 +17,11 @@ namespace BlendFile.DNA { public class SolidifyModifierData { [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", 64, 120)] public char[] defgrp_name = new System.Char[64]; - [DNAFieldAttribute(64, "char", 2, "shell_defgrp_name[64]", "System.Char[]", false, 184)] + [DNAArrayAttribute(64, "char", 2, "shell_defgrp_name[64]", "System.Char[]", 64, 184)] public char[] shell_defgrp_name = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "rim_defgrp_name[64]", "System.Char[]", false, 248)] + [DNAArrayAttribute(64, "char", 3, "rim_defgrp_name[64]", "System.Char[]", 64, 248)] public char[] rim_defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "float", 4, "offset", "float", false, 312)] public float offset; diff --git a/BlendFile/DNA/SpaceAction.cs b/BlendFile/DNA/SpaceAction.cs index 79826be..2770a85 100644 --- a/BlendFile/DNA/SpaceAction.cs +++ b/BlendFile/DNA/SpaceAction.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public bAction action; [DNAFieldAttribute(4, "int", 8, "action_slot_handle", "int", false, 200)] public int action_slot_handle; - [DNAFieldAttribute(4, "char", 9, "_pad2[4]", "System.Char[]", false, 204)] + [DNAArrayAttribute(4, "char", 9, "_pad2[4]", "System.Char[]", 4, 204)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(112, "bDopeSheet", 10, "ads", "bDopeSheet", false, 208)] public bDopeSheet ads; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public char autosnap; [DNAFieldAttribute(1, "char", 16, "cache_display", "char", false, 329)] public char cache_display; - [DNAFieldAttribute(6, "char", 17, "_pad1[6]", "System.Char[]", false, 330)] + [DNAArrayAttribute(6, "char", 17, "_pad1[6]", "System.Char[]", 6, 330)] public char[] _pad1 = new System.Char[6]; [DNAFieldAttribute(8, "SpaceAction_Runtime", 18, "runtime", "SpaceAction_Runtime", false, 336)] public SpaceAction_Runtime runtime; diff --git a/BlendFile/DNA/SpaceAction_Runtime.cs b/BlendFile/DNA/SpaceAction_Runtime.cs index fb3619e..3a9a4a5 100644 --- a/BlendFile/DNA/SpaceAction_Runtime.cs +++ b/BlendFile/DNA/SpaceAction_Runtime.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class SpaceAction_Runtime { [DNAFieldAttribute(1, "char", 0, "flag", "char", false, 0)] public char flag; - [DNAFieldAttribute(7, "char", 1, "_pad0[7]", "System.Char[]", false, 1)] + [DNAArrayAttribute(7, "char", 1, "_pad0[7]", "System.Char[]", 7, 1)] public char[] _pad0 = new System.Char[7]; public SpaceAction_Runtime() { this.flag = default; diff --git a/BlendFile/DNA/SpaceButs.cs b/BlendFile/DNA/SpaceButs.cs index 3a24a93..b82ebf7 100644 --- a/BlendFile/DNA/SpaceButs.cs +++ b/BlendFile/DNA/SpaceButs.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; @@ -39,7 +39,7 @@ namespace BlendFile.DNA { public short mainbuser; [DNAFieldAttribute(2, "short", 11, "preview", "short", false, 200)] public short preview; - [DNAFieldAttribute(4, "char", 12, "_pad[4]", "System.Char[]", false, 202)] + [DNAArrayAttribute(4, "char", 12, "_pad[4]", "System.Char[]", 4, 202)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(1, "char", 13, "flag", "char", false, 206)] public char flag; diff --git a/BlendFile/DNA/SpaceClip.cs b/BlendFile/DNA/SpaceClip.cs index c56bb7f..7cc7336 100644 --- a/BlendFile/DNA/SpaceClip.cs +++ b/BlendFile/DNA/SpaceClip.cs @@ -25,11 +25,11 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(1, "char", 6, "gizmo_flag", "char", false, 40)] public char gizmo_flag; - [DNAFieldAttribute(3, "char", 7, "_pad1[3]", "System.Char[]", false, 41)] + [DNAArrayAttribute(3, "char", 7, "_pad1[3]", "System.Char[]", 3, 41)] public char[] _pad1 = new System.Char[3]; [DNAFieldAttribute(4, "float", 8, "xof", "float", false, 44)] public float xof; @@ -55,29 +55,29 @@ namespace BlendFile.DNA { public short view; [DNAFieldAttribute(4, "int", 19, "path_length", "int", false, 224)] public int path_length; - [DNAFieldAttribute(8, "float", 20, "loc[2]", "System.Single[]", false, 228)] + [DNAArrayAttribute(8, "float", 20, "loc[2]", "System.Single[]", 2, 228)] public float[] loc = new System.Single[2]; [DNAFieldAttribute(4, "float", 21, "scale", "float", false, 236)] public float scale; [DNAFieldAttribute(4, "float", 22, "angle", "float", false, 240)] public float angle; - [DNAFieldAttribute(4, "char", 23, "_pad[4]", "System.Char[]", false, 244)] + [DNAArrayAttribute(4, "char", 23, "_pad[4]", "System.Char[]", 4, 244)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(64, "float", 24, "stabmat[4][4]", "System.Single[,]", false, 248)] + [DNAArrayAttribute(64, "float", 24, "stabmat[4][4]", "System.Single[,]", 8, 248)] public float[,] stabmat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 25, "unistabmat[4][4]", "System.Single[,]", false, 312)] + [DNAArrayAttribute(64, "float", 25, "unistabmat[4][4]", "System.Single[,]", 8, 312)] public float[,] unistabmat = new System.Single[4,4]; [DNAFieldAttribute(4, "int", 26, "postproc_flag", "int", false, 376)] public int postproc_flag; [DNAFieldAttribute(2, "short", 27, "gpencil_src", "short", false, 380)] public short gpencil_src; - [DNAFieldAttribute(2, "char", 28, "_pad2[2]", "System.Char[]", false, 382)] + [DNAArrayAttribute(2, "char", 28, "_pad2[2]", "System.Char[]", 2, 382)] public char[] _pad2 = new System.Char[2]; [DNAFieldAttribute(4, "int", 29, "around", "int", false, 384)] public int around; - [DNAFieldAttribute(4, "char", 30, "_pad4[4]", "System.Char[]", false, 388)] + [DNAArrayAttribute(4, "char", 30, "_pad4[4]", "System.Char[]", 4, 388)] public char[] _pad4 = new System.Char[4]; - [DNAFieldAttribute(8, "float", 31, "cursor[2]", "System.Single[]", false, 392)] + [DNAArrayAttribute(8, "float", 31, "cursor[2]", "System.Single[]", 2, 392)] public float[] cursor = new System.Single[2]; [DNAFieldAttribute(16, "MaskSpaceInfo", 32, "mask_info", "MaskSpaceInfo", false, 400)] public MaskSpaceInfo mask_info; diff --git a/BlendFile/DNA/SpaceConsole.cs b/BlendFile/DNA/SpaceConsole.cs index 0617a75..e8daec9 100644 --- a/BlendFile/DNA/SpaceConsole.cs +++ b/BlendFile/DNA/SpaceConsole.cs @@ -25,15 +25,15 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(16, "ListBase", 6, "scrollback", "ListBase", false, 40)] public ListBase scrollback; [DNAFieldAttribute(16, "ListBase", 7, "history", "ListBase", false, 56)] public ListBase history; - [DNAFieldAttribute(256, "char", 8, "prompt[256]", "System.Char[]", false, 72)] + [DNAArrayAttribute(256, "char", 8, "prompt[256]", "System.Char[]", 256, 72)] public char[] prompt = new System.Char[256]; - [DNAFieldAttribute(32, "char", 9, "language[32]", "System.Char[]", false, 328)] + [DNAArrayAttribute(32, "char", 9, "language[32]", "System.Char[]", 32, 328)] public char[] language = new System.Char[32]; [DNAFieldAttribute(4, "int", 10, "lheight", "int", false, 360)] public int lheight; diff --git a/BlendFile/DNA/SpaceFile.cs b/BlendFile/DNA/SpaceFile.cs index c1434cf..07b5b7e 100644 --- a/BlendFile/DNA/SpaceFile.cs +++ b/BlendFile/DNA/SpaceFile.cs @@ -25,11 +25,11 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(1, "char", 6, "browse_mode", "char", false, 40)] public char browse_mode; - [DNAFieldAttribute(1, "char", 7, "_pad1[1]", "System.Char[]", false, 41)] + [DNAArrayAttribute(1, "char", 7, "_pad1[1]", "System.Char[]", 1, 41)] public char[] _pad1 = new System.Char[1]; [DNAFieldAttribute(2, "short", 8, "tags", "short", false, 42)] public short tags; diff --git a/BlendFile/DNA/SpaceGraph_Runtime.cs b/BlendFile/DNA/SpaceGraph_Runtime.cs index 3554262..5e6666d 100644 --- a/BlendFile/DNA/SpaceGraph_Runtime.cs +++ b/BlendFile/DNA/SpaceGraph_Runtime.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class SpaceGraph_Runtime { [DNAFieldAttribute(1, "char", 0, "flag", "char", false, 0)] public char flag; - [DNAFieldAttribute(7, "char", 1, "_pad[7]", "System.Char[]", false, 1)] + [DNAArrayAttribute(7, "char", 1, "_pad[7]", "System.Char[]", 7, 1)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(16, "ListBase", 2, "ghost_curves", "ListBase", false, 8)] public ListBase ghost_curves; diff --git a/BlendFile/DNA/SpaceImage.cs b/BlendFile/DNA/SpaceImage.cs index 59120f8..242d43e 100644 --- a/BlendFile/DNA/SpaceImage.cs +++ b/BlendFile/DNA/SpaceImage.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(8, "Image", 6, "*image", "Image", true, 40)] public Image image; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public Histogram sample_line_hist; [DNAFieldAttribute(8, "bGPdata", 10, "*gpd", "bGPdata", true, 10520)] public bGPdata gpd; - [DNAFieldAttribute(8, "float", 11, "cursor[2]", "System.Single[]", false, 10528)] + [DNAArrayAttribute(8, "float", 11, "cursor[2]", "System.Single[]", 2, 10528)] public float[] cursor = new System.Single[2]; [DNAFieldAttribute(4, "float", 12, "xof", "float", false, 10536)] public float xof; @@ -69,7 +69,7 @@ namespace BlendFile.DNA { public char gizmo_flag; [DNAFieldAttribute(1, "char", 26, "grid_shape_source", "char", false, 10565)] public char grid_shape_source; - [DNAFieldAttribute(6, "char", 27, "_pad1[6]", "System.Char[]", false, 10566)] + [DNAArrayAttribute(6, "char", 27, "_pad1[6]", "System.Char[]", 6, 10566)] public char[] _pad1 = new System.Char[6]; [DNAFieldAttribute(4, "int", 28, "flag", "int", false, 10572)] public int flag; @@ -77,9 +77,9 @@ namespace BlendFile.DNA { public float uv_opacity; [DNAFieldAttribute(4, "float", 30, "stretch_opacity", "float", false, 10580)] public float stretch_opacity; - [DNAFieldAttribute(8, "int", 31, "tile_grid_shape[2]", "System.Int32[]", false, 10584)] + [DNAArrayAttribute(8, "int", 31, "tile_grid_shape[2]", "System.Int32[]", 2, 10584)] public int[] tile_grid_shape = new System.Int32[2]; - [DNAFieldAttribute(8, "int", 32, "custom_grid_subdiv[2]", "System.Int32[]", false, 10592)] + [DNAArrayAttribute(8, "int", 32, "custom_grid_subdiv[2]", "System.Int32[]", 2, 10592)] public int[] custom_grid_subdiv = new System.Int32[2]; [DNAFieldAttribute(16, "MaskSpaceInfo", 33, "mask_info", "MaskSpaceInfo", false, 10600)] public MaskSpaceInfo mask_info; diff --git a/BlendFile/DNA/SpaceImageOverlay.cs b/BlendFile/DNA/SpaceImageOverlay.cs index 62393d7..38d11ab 100644 --- a/BlendFile/DNA/SpaceImageOverlay.cs +++ b/BlendFile/DNA/SpaceImageOverlay.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class SpaceImageOverlay { [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 4)] public char[] _pad = new System.Char[4]; public SpaceImageOverlay() { this.flag = default; diff --git a/BlendFile/DNA/SpaceInfo.cs b/BlendFile/DNA/SpaceInfo.cs index f4a8667..2c59f0f 100644 --- a/BlendFile/DNA/SpaceInfo.cs +++ b/BlendFile/DNA/SpaceInfo.cs @@ -25,11 +25,11 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(1, "char", 6, "rpt_mask", "char", false, 40)] public char rpt_mask; - [DNAFieldAttribute(7, "char", 7, "_pad[7]", "System.Char[]", false, 41)] + [DNAArrayAttribute(7, "char", 7, "_pad[7]", "System.Char[]", 7, 41)] public char[] _pad = new System.Char[7]; public SpaceInfo() { this.next = default; diff --git a/BlendFile/DNA/SpaceIpo.cs b/BlendFile/DNA/SpaceIpo.cs index ce746c6..0e0571d 100644 --- a/BlendFile/DNA/SpaceIpo.cs +++ b/BlendFile/DNA/SpaceIpo.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public float cursorVal; [DNAFieldAttribute(4, "int", 13, "around", "int", false, 216)] public int around; - [DNAFieldAttribute(4, "char", 14, "_pad[4]", "System.Char[]", false, 220)] + [DNAArrayAttribute(4, "char", 14, "_pad[4]", "System.Char[]", 4, 220)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(24, "SpaceGraph_Runtime", 15, "runtime", "SpaceGraph_Runtime", false, 224)] public SpaceGraph_Runtime runtime; diff --git a/BlendFile/DNA/SpaceLink.cs b/BlendFile/DNA/SpaceLink.cs index 596e5d5..de23232 100644 --- a/BlendFile/DNA/SpaceLink.cs +++ b/BlendFile/DNA/SpaceLink.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; public SpaceLink() { this.next = default; diff --git a/BlendFile/DNA/SpaceNla.cs b/BlendFile/DNA/SpaceNla.cs index c2bae80..5db96a7 100644 --- a/BlendFile/DNA/SpaceNla.cs +++ b/BlendFile/DNA/SpaceNla.cs @@ -25,13 +25,13 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(2, "short", 6, "autosnap", "short", false, 40)] public short autosnap; [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 42)] public short flag; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 44)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 44)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "bDopeSheet", 9, "*ads", "bDopeSheet", true, 48)] public bDopeSheet ads; diff --git a/BlendFile/DNA/SpaceNode.cs b/BlendFile/DNA/SpaceNode.cs index 76e80d9..bc83d29 100644 --- a/BlendFile/DNA/SpaceNode.cs +++ b/BlendFile/DNA/SpaceNode.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public bNodeTree edittree; [DNAFieldAttribute(8, "bNodeTree", 17, "*nodetree", "bNodeTree", true, 248)] public bNodeTree nodetree; - [DNAFieldAttribute(64, "char", 18, "tree_idname[64]", "System.Char[]", false, 256)] + [DNAArrayAttribute(64, "char", 18, "tree_idname[64]", "System.Char[]", 64, 256)] public char[] tree_idname = new System.Char[64]; [DNAFieldAttribute(4, "int", 19, "treetype", "int", false, 320)] public int treetype; diff --git a/BlendFile/DNA/SpaceOops.cs b/BlendFile/DNA/SpaceOops.cs index 08a1884..e0e06dd 100644 --- a/BlendFile/DNA/SpaceOops.cs +++ b/BlendFile/DNA/SpaceOops.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public ListBase tree; [DNAFieldAttribute(8, "BLI_mempool", 8, "*treestore", "BLI_mempool", true, 208)] public BLI_mempool treestore; - [DNAFieldAttribute(64, "char", 9, "search_string[64]", "System.Char[]", false, 216)] + [DNAArrayAttribute(64, "char", 9, "search_string[64]", "System.Char[]", 64, 216)] public char[] search_string = new System.Char[64]; [DNAFieldAttribute(2, "short", 10, "flag", "short", false, 280)] public short flag; @@ -45,7 +45,7 @@ namespace BlendFile.DNA { public short storeflag; [DNAFieldAttribute(1, "char", 14, "search_flags", "char", false, 288)] public char search_flags; - [DNAFieldAttribute(6, "char", 15, "_pad[6]", "System.Char[]", false, 289)] + [DNAArrayAttribute(6, "char", 15, "_pad[6]", "System.Char[]", 6, 289)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(1, "char", 16, "sync_select_dirty", "char", false, 295)] public char sync_select_dirty; diff --git a/BlendFile/DNA/SpaceScript.cs b/BlendFile/DNA/SpaceScript.cs index f01cfac..7fb6688 100644 --- a/BlendFile/DNA/SpaceScript.cs +++ b/BlendFile/DNA/SpaceScript.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(8, "Script", 6, "*script", "Script", true, 40)] public Script script; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public short flags; [DNAFieldAttribute(2, "short", 8, "menunr", "short", false, 50)] public short menunr; - [DNAFieldAttribute(4, "char", 9, "_pad1[4]", "System.Char[]", false, 52)] + [DNAArrayAttribute(4, "char", 9, "_pad1[4]", "System.Char[]", 4, 52)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "void", 10, "*but_refs", "void", true, 56)] public object but_refs; diff --git a/BlendFile/DNA/SpaceSeq.cs b/BlendFile/DNA/SpaceSeq.cs index b744d35..a633b53 100644 --- a/BlendFile/DNA/SpaceSeq.cs +++ b/BlendFile/DNA/SpaceSeq.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(152, "View2D", 6, "v2d", "View2D", false, 40)] public View2D v2d; @@ -53,9 +53,9 @@ namespace BlendFile.DNA { public char draw_flag; [DNAFieldAttribute(1, "char", 18, "gizmo_flag", "char", false, 219)] public char gizmo_flag; - [DNAFieldAttribute(4, "char", 19, "_pad[4]", "System.Char[]", false, 220)] + [DNAArrayAttribute(4, "char", 19, "_pad[4]", "System.Char[]", 4, 220)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(8, "float", 20, "cursor[2]", "System.Single[]", false, 224)] + [DNAArrayAttribute(8, "float", 20, "cursor[2]", "System.Single[]", 2, 224)] public float[] cursor = new System.Single[2]; [DNAFieldAttribute(8, "bGPdata", 21, "*gpd", "bGPdata", true, 232)] public bGPdata gpd; @@ -67,7 +67,7 @@ namespace BlendFile.DNA { public SequencerCacheOverlay cache_overlay; [DNAFieldAttribute(1, "char", 25, "multiview_eye", "char", false, 264)] public char multiview_eye; - [DNAFieldAttribute(7, "char", 26, "_pad2[7]", "System.Char[]", false, 265)] + [DNAArrayAttribute(7, "char", 26, "_pad2[7]", "System.Char[]", 7, 265)] public char[] _pad2 = new System.Char[7]; [DNAFieldAttribute(8, "SpaceSeq_Runtime", 27, "*runtime", "SpaceSeq_Runtime", true, 272)] public SpaceSeq_Runtime runtime; diff --git a/BlendFile/DNA/SpaceSpreadsheet.cs b/BlendFile/DNA/SpaceSpreadsheet.cs index c860202..af344a9 100644 --- a/BlendFile/DNA/SpaceSpreadsheet.cs +++ b/BlendFile/DNA/SpaceSpreadsheet.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(16, "ListBase", 6, "columns", "ListBase", false, 40)] public ListBase columns; diff --git a/BlendFile/DNA/SpaceStatusBar.cs b/BlendFile/DNA/SpaceStatusBar.cs index ace6712..cb0e6e8 100644 --- a/BlendFile/DNA/SpaceStatusBar.cs +++ b/BlendFile/DNA/SpaceStatusBar.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; public SpaceStatusBar() { this.next = default; diff --git a/BlendFile/DNA/SpaceText.cs b/BlendFile/DNA/SpaceText.cs index 3249140..331ee30 100644 --- a/BlendFile/DNA/SpaceText.cs +++ b/BlendFile/DNA/SpaceText.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(8, "Text", 6, "*text", "Text", true, 40)] public Text text; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public int top; [DNAFieldAttribute(4, "int", 8, "left", "int", false, 52)] public int left; - [DNAFieldAttribute(4, "char", 9, "_pad1[4]", "System.Char[]", false, 56)] + [DNAArrayAttribute(4, "char", 9, "_pad1[4]", "System.Char[]", 4, 56)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(2, "short", 10, "flags", "short", false, 60)] public short flags; @@ -55,15 +55,15 @@ namespace BlendFile.DNA { public char overwrite; [DNAFieldAttribute(1, "char", 19, "live_edit", "char", false, 74)] public char live_edit; - [DNAFieldAttribute(1, "char", 20, "_pad2[1]", "System.Char[]", false, 75)] + [DNAArrayAttribute(1, "char", 20, "_pad2[1]", "System.Char[]", 1, 75)] public char[] _pad2 = new System.Char[1]; - [DNAFieldAttribute(256, "char", 21, "findstr[256]", "System.Char[]", false, 76)] + [DNAArrayAttribute(256, "char", 21, "findstr[256]", "System.Char[]", 256, 76)] public char[] findstr = new System.Char[256]; - [DNAFieldAttribute(256, "char", 22, "replacestr[256]", "System.Char[]", false, 332)] + [DNAArrayAttribute(256, "char", 22, "replacestr[256]", "System.Char[]", 256, 332)] public char[] replacestr = new System.Char[256]; [DNAFieldAttribute(2, "short", 23, "margin_column", "short", false, 588)] public short margin_column; - [DNAFieldAttribute(2, "char", 24, "_pad3[2]", "System.Char[]", false, 590)] + [DNAArrayAttribute(2, "char", 24, "_pad3[2]", "System.Char[]", 2, 590)] public char[] _pad3 = new System.Char[2]; [DNAFieldAttribute(8, "SpaceText_Runtime", 25, "*runtime", "SpaceText_Runtime", true, 592)] public SpaceText_Runtime runtime; diff --git a/BlendFile/DNA/SpaceTopBar.cs b/BlendFile/DNA/SpaceTopBar.cs index a635e56..b68e36d 100644 --- a/BlendFile/DNA/SpaceTopBar.cs +++ b/BlendFile/DNA/SpaceTopBar.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; public SpaceTopBar() { this.next = default; diff --git a/BlendFile/DNA/SpaceUserPref.cs b/BlendFile/DNA/SpaceUserPref.cs index e56aaa9..14f7183 100644 --- a/BlendFile/DNA/SpaceUserPref.cs +++ b/BlendFile/DNA/SpaceUserPref.cs @@ -25,13 +25,13 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(7, "char", 6, "_pad1[7]", "System.Char[]", false, 40)] + [DNAArrayAttribute(7, "char", 6, "_pad1[7]", "System.Char[]", 7, 40)] public char[] _pad1 = new System.Char[7]; [DNAFieldAttribute(1, "char", 7, "filter_type", "char", false, 47)] public char filter_type; - [DNAFieldAttribute(64, "char", 8, "filter[64]", "System.Char[]", false, 48)] + [DNAArrayAttribute(64, "char", 8, "filter[64]", "System.Char[]", 64, 48)] public char[] filter = new System.Char[64]; public SpaceUserPref() { this.next = default; diff --git a/BlendFile/DNA/Speaker.cs b/BlendFile/DNA/Speaker.cs index 633e043..bd1977d 100644 --- a/BlendFile/DNA/Speaker.cs +++ b/BlendFile/DNA/Speaker.cs @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public float pitch; [DNAFieldAttribute(2, "short", 13, "flag", "short", false, 264)] public short flag; - [DNAFieldAttribute(6, "char", 14, "_pad1[6]", "System.Char[]", false, 266)] + [DNAArrayAttribute(6, "char", 14, "_pad1[6]", "System.Char[]", 6, 266)] public char[] _pad1 = new System.Char[6]; public Speaker() { this.id = default; diff --git a/BlendFile/DNA/SpreadsheetColumn.cs b/BlendFile/DNA/SpreadsheetColumn.cs index 382fccb..c9be0b5 100644 --- a/BlendFile/DNA/SpreadsheetColumn.cs +++ b/BlendFile/DNA/SpreadsheetColumn.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public SpreadsheetColumnID id; [DNAFieldAttribute(1, "uchar", 3, "data_type", "uchar", false, 24)] public byte data_type; - [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 25)] + [DNAArrayAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", 7, 25)] public char[] _pad0 = new System.Char[7]; [DNAFieldAttribute(8, "char", 5, "*display_name", "char", true, 32)] public char display_name; diff --git a/BlendFile/DNA/SpreadsheetRowFilter.cs b/BlendFile/DNA/SpreadsheetRowFilter.cs index dac345c..d33be15 100644 --- a/BlendFile/DNA/SpreadsheetRowFilter.cs +++ b/BlendFile/DNA/SpreadsheetRowFilter.cs @@ -19,17 +19,17 @@ namespace BlendFile.DNA { public SpreadsheetRowFilter next; [DNAFieldAttribute(8, "SpreadsheetRowFilter", 1, "*prev", "SpreadsheetRowFilter", true, 8)] public SpreadsheetRowFilter prev; - [DNAFieldAttribute(64, "char", 2, "column_name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "column_name[64]", "System.Char[]", 64, 16)] public char[] column_name = new System.Char[64]; [DNAFieldAttribute(1, "uchar", 3, "operation", "uchar", false, 80)] public byte operation; [DNAFieldAttribute(1, "uchar", 4, "flag", "uchar", false, 81)] public byte flag; - [DNAFieldAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", false, 82)] + [DNAArrayAttribute(2, "char", 5, "_pad0[2]", "System.Char[]", 2, 82)] public char[] _pad0 = new System.Char[2]; [DNAFieldAttribute(4, "int", 6, "value_int", "int", false, 84)] public int value_int; - [DNAFieldAttribute(8, "int", 7, "value_int2[2]", "System.Int32[]", false, 88)] + [DNAArrayAttribute(8, "int", 7, "value_int2[2]", "System.Int32[]", 2, 88)] public int[] value_int2 = new System.Int32[2]; [DNAFieldAttribute(8, "char", 8, "*value_string", "char", true, 96)] public char value_string; @@ -37,13 +37,13 @@ namespace BlendFile.DNA { public float value_float; [DNAFieldAttribute(4, "float", 10, "threshold", "float", false, 108)] public float threshold; - [DNAFieldAttribute(8, "float", 11, "value_float2[2]", "System.Single[]", false, 112)] + [DNAArrayAttribute(8, "float", 11, "value_float2[2]", "System.Single[]", 2, 112)] public float[] value_float2 = new System.Single[2]; - [DNAFieldAttribute(12, "float", 12, "value_float3[3]", "System.Single[]", false, 120)] + [DNAArrayAttribute(12, "float", 12, "value_float3[3]", "System.Single[]", 3, 120)] public float[] value_float3 = new System.Single[3]; - [DNAFieldAttribute(16, "float", 13, "value_color[4]", "System.Single[]", false, 132)] + [DNAArrayAttribute(16, "float", 13, "value_color[4]", "System.Single[]", 4, 132)] public float[] value_color = new System.Single[4]; - [DNAFieldAttribute(4, "char", 14, "_pad1[4]", "System.Char[]", false, 148)] + [DNAArrayAttribute(4, "char", 14, "_pad1[4]", "System.Char[]", 4, 148)] public char[] _pad1 = new System.Char[4]; public SpreadsheetRowFilter() { this.next = default; diff --git a/BlendFile/DNA/Stereo3dFormat.cs b/BlendFile/DNA/Stereo3dFormat.cs index 8c95346..ef35378 100644 --- a/BlendFile/DNA/Stereo3dFormat.cs +++ b/BlendFile/DNA/Stereo3dFormat.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public char anaglyph_type; [DNAFieldAttribute(1, "char", 3, "interlace_type", "char", false, 4)] public char interlace_type; - [DNAFieldAttribute(3, "char", 4, "_pad[3]", "System.Char[]", false, 5)] + [DNAArrayAttribute(3, "char", 4, "_pad[3]", "System.Char[]", 3, 5)] public char[] _pad = new System.Char[3]; public Stereo3dFormat() { this.flag = default; diff --git a/BlendFile/DNA/Strip.cs b/BlendFile/DNA/Strip.cs index 8d8eb6c..30addf6 100644 --- a/BlendFile/DNA/Strip.cs +++ b/BlendFile/DNA/Strip.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public int endstill; [DNAFieldAttribute(8, "StripElem", 6, "*stripdata", "StripElem", true, 32)] public StripElem stripdata; - [DNAFieldAttribute(768, "char", 7, "dir[768]", "System.Char[]", false, 40)] + [DNAArrayAttribute(768, "char", 7, "dir[768]", "System.Char[]", 768, 40)] public char[] dir = new System.Char[768]; [DNAFieldAttribute(8, "StripProxy", 8, "*proxy", "StripProxy", true, 808)] public StripProxy proxy; diff --git a/BlendFile/DNA/StripColorBalance.cs b/BlendFile/DNA/StripColorBalance.cs index e6c6fc9..63fbb67 100644 --- a/BlendFile/DNA/StripColorBalance.cs +++ b/BlendFile/DNA/StripColorBalance.cs @@ -17,21 +17,21 @@ namespace BlendFile.DNA { public class StripColorBalance { [DNAFieldAttribute(4, "int", 0, "method", "int", false, 0)] public int method; - [DNAFieldAttribute(12, "float", 1, "lift[3]", "System.Single[]", false, 4)] + [DNAArrayAttribute(12, "float", 1, "lift[3]", "System.Single[]", 3, 4)] public float[] lift = new System.Single[3]; - [DNAFieldAttribute(12, "float", 2, "gamma[3]", "System.Single[]", false, 16)] + [DNAArrayAttribute(12, "float", 2, "gamma[3]", "System.Single[]", 3, 16)] public float[] gamma = new System.Single[3]; - [DNAFieldAttribute(12, "float", 3, "gain[3]", "System.Single[]", false, 28)] + [DNAArrayAttribute(12, "float", 3, "gain[3]", "System.Single[]", 3, 28)] public float[] gain = new System.Single[3]; - [DNAFieldAttribute(12, "float", 4, "slope[3]", "System.Single[]", false, 40)] + [DNAArrayAttribute(12, "float", 4, "slope[3]", "System.Single[]", 3, 40)] public float[] slope = new System.Single[3]; - [DNAFieldAttribute(12, "float", 5, "offset[3]", "System.Single[]", false, 52)] + [DNAArrayAttribute(12, "float", 5, "offset[3]", "System.Single[]", 3, 52)] public float[] offset = new System.Single[3]; - [DNAFieldAttribute(12, "float", 6, "power[3]", "System.Single[]", false, 64)] + [DNAArrayAttribute(12, "float", 6, "power[3]", "System.Single[]", 3, 64)] public float[] power = new System.Single[3]; [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 76)] public int flag; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 80)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 80)] public char[] _pad = new System.Char[4]; public StripColorBalance() { this.method = default; diff --git a/BlendFile/DNA/StripElem.cs b/BlendFile/DNA/StripElem.cs index f471915..0ed5e2d 100644 --- a/BlendFile/DNA/StripElem.cs +++ b/BlendFile/DNA/StripElem.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(877, "StripElem", 268)] public class StripElem { - [DNAFieldAttribute(256, "char", 0, "name[256]", "System.Char[]", false, 0)] + [DNAArrayAttribute(256, "char", 0, "name[256]", "System.Char[]", 256, 0)] public char[] name = new System.Char[256]; [DNAFieldAttribute(4, "int", 1, "orig_width", "int", false, 256)] public int orig_width; diff --git a/BlendFile/DNA/StripProxy.cs b/BlendFile/DNA/StripProxy.cs index e3bd08e..50e197a 100644 --- a/BlendFile/DNA/StripProxy.cs +++ b/BlendFile/DNA/StripProxy.cs @@ -15,9 +15,9 @@ namespace BlendFile.DNA { [DNAClassAttribute(881, "StripProxy", 1048)] public class StripProxy { - [DNAFieldAttribute(768, "char", 0, "dir[768]", "System.Char[]", false, 0)] + [DNAArrayAttribute(768, "char", 0, "dir[768]", "System.Char[]", 768, 0)] public char[] dir = new System.Char[768]; - [DNAFieldAttribute(256, "char", 1, "file[256]", "System.Char[]", false, 768)] + [DNAArrayAttribute(256, "char", 1, "file[256]", "System.Char[]", 256, 768)] public char[] file = new System.Char[256]; [DNAFieldAttribute(8, "ImBufAnim", 2, "*anim", "ImBufAnim", true, 1024)] public ImBufAnim anim; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public short build_flags; [DNAFieldAttribute(1, "char", 8, "storage", "char", false, 1042)] public char storage; - [DNAFieldAttribute(5, "char", 9, "_pad[5]", "System.Char[]", false, 1043)] + [DNAArrayAttribute(5, "char", 9, "_pad[5]", "System.Char[]", 5, 1043)] public char[] _pad = new System.Char[5]; public StripProxy() { this.dir = default; diff --git a/BlendFile/DNA/StripTransform.cs b/BlendFile/DNA/StripTransform.cs index 0033a39..d319a98 100644 --- a/BlendFile/DNA/StripTransform.cs +++ b/BlendFile/DNA/StripTransform.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public float scale_y; [DNAFieldAttribute(4, "float", 4, "rotation", "float", false, 16)] public float rotation; - [DNAFieldAttribute(8, "float", 5, "origin[2]", "System.Single[]", false, 20)] + [DNAArrayAttribute(8, "float", 5, "origin[2]", "System.Single[]", 2, 20)] public float[] origin = new System.Single[2]; [DNAFieldAttribute(4, "int", 6, "filter", "int", false, 28)] public int filter; diff --git a/BlendFile/DNA/SubdivGpencilModifierData.cs b/BlendFile/DNA/SubdivGpencilModifierData.cs index 4725fbb..9d1a026 100644 --- a/BlendFile/DNA/SubdivGpencilModifierData.cs +++ b/BlendFile/DNA/SubdivGpencilModifierData.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "pass_index", "int", false, 240)] public int pass_index; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public int layer_pass; [DNAFieldAttribute(2, "short", 8, "type", "short", false, 256)] public short type; - [DNAFieldAttribute(6, "char", 9, "_pad[6]", "System.Char[]", false, 258)] + [DNAArrayAttribute(6, "char", 9, "_pad[6]", "System.Char[]", 6, 258)] public char[] _pad = new System.Char[6]; public SubdivGpencilModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/SubsurfModifierData.cs b/BlendFile/DNA/SubsurfModifierData.cs index 7373a1b..94d1a06 100644 --- a/BlendFile/DNA/SubsurfModifierData.cs +++ b/BlendFile/DNA/SubsurfModifierData.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public short quality; [DNAFieldAttribute(2, "short", 7, "boundary_smooth", "short", false, 132)] public short boundary_smooth; - [DNAFieldAttribute(2, "char", 8, "_pad[2]", "System.Char[]", false, 134)] + [DNAArrayAttribute(2, "char", 8, "_pad[2]", "System.Char[]", 2, 134)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(8, "void", 9, "*emCache", "void", true, 136)] public object emCache; diff --git a/BlendFile/DNA/SurfaceDeformModifierData.cs b/BlendFile/DNA/SurfaceDeformModifierData.cs index 0298c9b..859bfb4 100644 --- a/BlendFile/DNA/SurfaceDeformModifierData.cs +++ b/BlendFile/DNA/SurfaceDeformModifierData.cs @@ -37,11 +37,11 @@ namespace BlendFile.DNA { public int numpoly; [DNAFieldAttribute(4, "int", 10, "flags", "int", false, 172)] public int flags; - [DNAFieldAttribute(64, "float", 11, "mat[4][4]", "System.Single[,]", false, 176)] + [DNAArrayAttribute(64, "float", 11, "mat[4][4]", "System.Single[,]", 8, 176)] public float[,] mat = new System.Single[4,4]; [DNAFieldAttribute(4, "float", 12, "strength", "float", false, 240)] public float strength; - [DNAFieldAttribute(64, "char", 13, "defgrp_name[64]", "System.Char[]", false, 244)] + [DNAArrayAttribute(64, "char", 13, "defgrp_name[64]", "System.Char[]", 64, 244)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "int", 14, "_pad2", "int", false, 308)] public int _pad2; diff --git a/BlendFile/DNA/TFace.cs b/BlendFile/DNA/TFace.cs index 211b98e..de8e9c5 100644 --- a/BlendFile/DNA/TFace.cs +++ b/BlendFile/DNA/TFace.cs @@ -17,9 +17,9 @@ namespace BlendFile.DNA { public class TFace { [DNAFieldAttribute(8, "void", 0, "*tpage", "void", true, 0)] public object tpage; - [DNAFieldAttribute(32, "float", 1, "uv[4][2]", "System.Single[,]", false, 8)] + [DNAArrayAttribute(32, "float", 1, "uv[4][2]", "System.Single[,]", 6, 8)] public float[,] uv = new System.Single[4,2]; - [DNAFieldAttribute(16, "int", 2, "col[4]", "System.Int32[]", false, 40)] + [DNAArrayAttribute(16, "int", 2, "col[4]", "System.Int32[]", 4, 40)] public int[] col = new System.Int32[4]; [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 56)] public char flag; diff --git a/BlendFile/DNA/Tex.cs b/BlendFile/DNA/Tex.cs index 82d1374..9294af6 100644 --- a/BlendFile/DNA/Tex.cs +++ b/BlendFile/DNA/Tex.cs @@ -39,7 +39,7 @@ namespace BlendFile.DNA { public float bfac; [DNAFieldAttribute(4, "float", 11, "filtersize", "float", false, 264)] public float filtersize; - [DNAFieldAttribute(4, "char", 12, "_pad2[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 12, "_pad2[4]", "System.Char[]", 4, 268)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(4, "float", 13, "mg_H", "float", false, 272)] public float mg_H; @@ -117,7 +117,7 @@ namespace BlendFile.DNA { public float checkerdist; [DNAFieldAttribute(4, "float", 50, "nabla", "float", false, 392)] public float nabla; - [DNAFieldAttribute(4, "char", 51, "_pad1[4]", "System.Char[]", false, 396)] + [DNAArrayAttribute(4, "char", 51, "_pad1[4]", "System.Char[]", 4, 396)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(40, "ImageUser", 52, "iuser", "ImageUser", false, 400)] public ImageUser iuser; @@ -133,7 +133,7 @@ namespace BlendFile.DNA { public PreviewImage preview; [DNAFieldAttribute(1, "char", 58, "use_nodes", "char", false, 480)] public char use_nodes; - [DNAFieldAttribute(7, "char", 59, "_pad[7]", "System.Char[]", false, 481)] + [DNAArrayAttribute(7, "char", 59, "_pad[7]", "System.Char[]", 7, 481)] public char[] _pad = new System.Char[7]; public Tex() { this.id = default; diff --git a/BlendFile/DNA/TexMapping.cs b/BlendFile/DNA/TexMapping.cs index 13ad7df..4b4ea8e 100644 --- a/BlendFile/DNA/TexMapping.cs +++ b/BlendFile/DNA/TexMapping.cs @@ -15,11 +15,11 @@ namespace BlendFile.DNA { [DNAClassAttribute(635, "TexMapping", 144)] public class TexMapping { - [DNAFieldAttribute(12, "float", 0, "loc[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "loc[3]", "System.Single[]", 3, 0)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 1, "rot[3]", "System.Single[]", false, 12)] + [DNAArrayAttribute(12, "float", 1, "rot[3]", "System.Single[]", 3, 12)] public float[] rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 2, "size[3]", "System.Single[]", false, 24)] + [DNAArrayAttribute(12, "float", 2, "size[3]", "System.Single[]", 3, 24)] public float[] size = new System.Single[3]; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 36)] public int flag; @@ -33,11 +33,11 @@ namespace BlendFile.DNA { public char mapping; [DNAFieldAttribute(4, "int", 8, "type", "int", false, 44)] public int type; - [DNAFieldAttribute(64, "float", 9, "mat[4][4]", "System.Single[,]", false, 48)] + [DNAArrayAttribute(64, "float", 9, "mat[4][4]", "System.Single[,]", 8, 48)] public float[,] mat = new System.Single[4,4]; - [DNAFieldAttribute(12, "float", 10, "min[3]", "System.Single[]", false, 112)] + [DNAArrayAttribute(12, "float", 10, "min[3]", "System.Single[]", 3, 112)] public float[] min = new System.Single[3]; - [DNAFieldAttribute(12, "float", 11, "max[3]", "System.Single[]", false, 124)] + [DNAArrayAttribute(12, "float", 11, "max[3]", "System.Single[]", 3, 124)] public float[] max = new System.Single[3]; [DNAFieldAttribute(8, "Object", 12, "*ob", "Object", true, 136)] public Object ob; diff --git a/BlendFile/DNA/TexNodeOutput.cs b/BlendFile/DNA/TexNodeOutput.cs index 0e826b9..e82b6fe 100644 --- a/BlendFile/DNA/TexNodeOutput.cs +++ b/BlendFile/DNA/TexNodeOutput.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(655, "TexNodeOutput", 64)] public class TexNodeOutput { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; public TexNodeOutput() { this.name = default; diff --git a/BlendFile/DNA/Text.cs b/BlendFile/DNA/Text.cs index e4e9531..b748ac0 100644 --- a/BlendFile/DNA/Text.cs +++ b/BlendFile/DNA/Text.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public object compiled; [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 224)] public int flags; - [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 228)] + [DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, 228)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(16, "ListBase", 5, "lines", "ListBase", false, 232)] public ListBase lines; diff --git a/BlendFile/DNA/TextLine.cs b/BlendFile/DNA/TextLine.cs index 7e4e778..6dab7c4 100644 --- a/BlendFile/DNA/TextLine.cs +++ b/BlendFile/DNA/TextLine.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public char format; [DNAFieldAttribute(4, "int", 4, "len", "int", false, 32)] public int len; - [DNAFieldAttribute(4, "char", 5, "_pad0[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 5, "_pad0[4]", "System.Char[]", 4, 36)] public char[] _pad0 = new System.Char[4]; public TextLine() { this.next = default; diff --git a/BlendFile/DNA/TextVars.cs b/BlendFile/DNA/TextVars.cs index 05a4f2f..eee6e82 100644 --- a/BlendFile/DNA/TextVars.cs +++ b/BlendFile/DNA/TextVars.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(902, "TextVars", 632)] public class TextVars { - [DNAFieldAttribute(512, "char", 0, "text[512]", "System.Char[]", false, 0)] + [DNAArrayAttribute(512, "char", 0, "text[512]", "System.Char[]", 512, 0)] public char[] text = new System.Char[512]; [DNAFieldAttribute(8, "VFont", 1, "*text_font", "VFont", true, 512)] public VFont text_font; @@ -23,15 +23,15 @@ namespace BlendFile.DNA { public int text_blf_id; [DNAFieldAttribute(4, "float", 3, "text_size", "float", false, 524)] public float text_size; - [DNAFieldAttribute(16, "float", 4, "color[4]", "System.Single[]", false, 528)] + [DNAArrayAttribute(16, "float", 4, "color[4]", "System.Single[]", 4, 528)] public float[] color = new System.Single[4]; - [DNAFieldAttribute(16, "float", 5, "shadow_color[4]", "System.Single[]", false, 544)] + [DNAArrayAttribute(16, "float", 5, "shadow_color[4]", "System.Single[]", 4, 544)] public float[] shadow_color = new System.Single[4]; - [DNAFieldAttribute(16, "float", 6, "box_color[4]", "System.Single[]", false, 560)] + [DNAArrayAttribute(16, "float", 6, "box_color[4]", "System.Single[]", 4, 560)] public float[] box_color = new System.Single[4]; - [DNAFieldAttribute(16, "float", 7, "outline_color[4]", "System.Single[]", false, 576)] + [DNAArrayAttribute(16, "float", 7, "outline_color[4]", "System.Single[]", 4, 576)] public float[] outline_color = new System.Single[4]; - [DNAFieldAttribute(8, "float", 8, "loc[2]", "System.Single[]", false, 592)] + [DNAArrayAttribute(8, "float", 8, "loc[2]", "System.Single[]", 2, 592)] public float[] loc = new System.Single[2]; [DNAFieldAttribute(4, "float", 9, "wrap_width", "float", false, 600)] public float wrap_width; @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public char align; [DNAFieldAttribute(1, "char", 17, "align_y", "char", false, 626)] public char align_y; - [DNAFieldAttribute(5, "char", 18, "_pad[5]", "System.Char[]", false, 627)] + [DNAArrayAttribute(5, "char", 18, "_pad[5]", "System.Char[]", 5, 627)] public char[] _pad = new System.Char[5]; public TextVars() { this.text = default; diff --git a/BlendFile/DNA/TextureGpencilModifierData.cs b/BlendFile/DNA/TextureGpencilModifierData.cs index 90e3feb..615dc0e 100644 --- a/BlendFile/DNA/TextureGpencilModifierData.cs +++ b/BlendFile/DNA/TextureGpencilModifierData.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] + [DNAArrayAttribute(64, "char", 4, "vgname[64]", "System.Char[]", 64, 240)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public float uv_scale; [DNAFieldAttribute(4, "float", 9, "fill_rotation", "float", false, 320)] public float fill_rotation; - [DNAFieldAttribute(8, "float", 10, "fill_offset[2]", "System.Single[]", false, 324)] + [DNAArrayAttribute(8, "float", 10, "fill_offset[2]", "System.Single[]", 2, 324)] public float[] fill_offset = new System.Single[2]; [DNAFieldAttribute(4, "float", 11, "fill_scale", "float", false, 332)] public float fill_scale; @@ -47,7 +47,7 @@ namespace BlendFile.DNA { public short mode; [DNAFieldAttribute(4, "float", 15, "alignment_rotation", "float", false, 344)] public float alignment_rotation; - [DNAFieldAttribute(4, "char", 16, "_pad[4]", "System.Char[]", false, 348)] + [DNAArrayAttribute(4, "char", 16, "_pad[4]", "System.Char[]", 4, 348)] public char[] _pad = new System.Char[4]; public TextureGpencilModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/ThemeAssetShelf.cs b/BlendFile/DNA/ThemeAssetShelf.cs index e95c688..be434b9 100644 --- a/BlendFile/DNA/ThemeAssetShelf.cs +++ b/BlendFile/DNA/ThemeAssetShelf.cs @@ -15,9 +15,9 @@ namespace BlendFile.DNA { [DNAClassAttribute(993, "ThemeAssetShelf", 8)] public class ThemeAssetShelf { - [DNAFieldAttribute(4, "char", 0, "header_back[4]", "System.Char[]", false, 0)] + [DNAArrayAttribute(4, "char", 0, "header_back[4]", "System.Char[]", 4, 0)] public char[] header_back = new System.Char[4]; - [DNAFieldAttribute(4, "char", 1, "back[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "back[4]", "System.Char[]", 4, 4)] public char[] back = new System.Char[4]; public ThemeAssetShelf() { this.header_back = default; diff --git a/BlendFile/DNA/ThemeCollectionColor.cs b/BlendFile/DNA/ThemeCollectionColor.cs index 2216fb7..116eb5d 100644 --- a/BlendFile/DNA/ThemeCollectionColor.cs +++ b/BlendFile/DNA/ThemeCollectionColor.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(995, "ThemeCollectionColor", 4)] public class ThemeCollectionColor { - [DNAFieldAttribute(4, "char", 0, "color[4]", "System.Char[]", false, 0)] + [DNAArrayAttribute(4, "char", 0, "color[4]", "System.Char[]", 4, 0)] public char[] color = new System.Char[4]; public ThemeCollectionColor() { this.color = default; diff --git a/BlendFile/DNA/ThemeSpace.cs b/BlendFile/DNA/ThemeSpace.cs index 549c6b9..035f087 100644 --- a/BlendFile/DNA/ThemeSpace.cs +++ b/BlendFile/DNA/ThemeSpace.cs @@ -15,249 +15,249 @@ namespace BlendFile.DNA { [DNAClassAttribute(994, "ThemeSpace", 920)] public class ThemeSpace { - [DNAFieldAttribute(4, "char", 0, "back[4]", "System.Char[]", false, 0)] + [DNAArrayAttribute(4, "char", 0, "back[4]", "System.Char[]", 4, 0)] public char[] back = new System.Char[4]; - [DNAFieldAttribute(4, "char", 1, "back_grad[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "back_grad[4]", "System.Char[]", 4, 4)] public char[] back_grad = new System.Char[4]; [DNAFieldAttribute(1, "char", 2, "show_back_grad", "char", false, 8)] public char show_back_grad; - [DNAFieldAttribute(3, "char", 3, "_pad0[3]", "System.Char[]", false, 9)] + [DNAArrayAttribute(3, "char", 3, "_pad0[3]", "System.Char[]", 3, 9)] public char[] _pad0 = new System.Char[3]; - [DNAFieldAttribute(4, "char", 4, "title[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 4, "title[4]", "System.Char[]", 4, 12)] public char[] title = new System.Char[4]; - [DNAFieldAttribute(4, "char", 5, "text[4]", "System.Char[]", false, 16)] + [DNAArrayAttribute(4, "char", 5, "text[4]", "System.Char[]", 4, 16)] public char[] text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 6, "text_hi[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 6, "text_hi[4]", "System.Char[]", 4, 20)] public char[] text_hi = new System.Char[4]; - [DNAFieldAttribute(4, "char", 7, "header[4]", "System.Char[]", false, 24)] + [DNAArrayAttribute(4, "char", 7, "header[4]", "System.Char[]", 4, 24)] public char[] header = new System.Char[4]; - [DNAFieldAttribute(4, "char", 8, "header_title[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 8, "header_title[4]", "System.Char[]", 4, 28)] public char[] header_title = new System.Char[4]; - [DNAFieldAttribute(4, "char", 9, "header_text[4]", "System.Char[]", false, 32)] + [DNAArrayAttribute(4, "char", 9, "header_text[4]", "System.Char[]", 4, 32)] public char[] header_text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 10, "header_text_hi[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 10, "header_text_hi[4]", "System.Char[]", 4, 36)] public char[] header_text_hi = new System.Char[4]; - [DNAFieldAttribute(4, "char", 11, "tab_active[4]", "System.Char[]", false, 40)] + [DNAArrayAttribute(4, "char", 11, "tab_active[4]", "System.Char[]", 4, 40)] public char[] tab_active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 12, "tab_inactive[4]", "System.Char[]", false, 44)] + [DNAArrayAttribute(4, "char", 12, "tab_inactive[4]", "System.Char[]", 4, 44)] public char[] tab_inactive = new System.Char[4]; - [DNAFieldAttribute(4, "char", 13, "tab_back[4]", "System.Char[]", false, 48)] + [DNAArrayAttribute(4, "char", 13, "tab_back[4]", "System.Char[]", 4, 48)] public char[] tab_back = new System.Char[4]; - [DNAFieldAttribute(4, "char", 14, "tab_outline[4]", "System.Char[]", false, 52)] + [DNAArrayAttribute(4, "char", 14, "tab_outline[4]", "System.Char[]", 4, 52)] public char[] tab_outline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 15, "button[4]", "System.Char[]", false, 56)] + [DNAArrayAttribute(4, "char", 15, "button[4]", "System.Char[]", 4, 56)] public char[] button = new System.Char[4]; - [DNAFieldAttribute(4, "char", 16, "button_title[4]", "System.Char[]", false, 60)] + [DNAArrayAttribute(4, "char", 16, "button_title[4]", "System.Char[]", 4, 60)] public char[] button_title = new System.Char[4]; - [DNAFieldAttribute(4, "char", 17, "button_text[4]", "System.Char[]", false, 64)] + [DNAArrayAttribute(4, "char", 17, "button_text[4]", "System.Char[]", 4, 64)] public char[] button_text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 18, "button_text_hi[4]", "System.Char[]", false, 68)] + [DNAArrayAttribute(4, "char", 18, "button_text_hi[4]", "System.Char[]", 4, 68)] public char[] button_text_hi = new System.Char[4]; - [DNAFieldAttribute(4, "char", 23, "navigation_bar[4]", "System.Char[]", false, 72)] + [DNAArrayAttribute(4, "char", 23, "navigation_bar[4]", "System.Char[]", 4, 72)] public char[] navigation_bar = new System.Char[4]; - [DNAFieldAttribute(4, "char", 24, "execution_buts[4]", "System.Char[]", false, 76)] + [DNAArrayAttribute(4, "char", 24, "execution_buts[4]", "System.Char[]", 4, 76)] public char[] execution_buts = new System.Char[4]; [DNAFieldAttribute(16, "uiPanelColors", 25, "panelcolors", "uiPanelColors", false, 80)] public uiPanelColors panelcolors; [DNAFieldAttribute(8, "ThemeAssetShelf", 26, "asset_shelf", "ThemeAssetShelf", false, 96)] public ThemeAssetShelf asset_shelf; - [DNAFieldAttribute(4, "char", 27, "shade1[4]", "System.Char[]", false, 104)] + [DNAArrayAttribute(4, "char", 27, "shade1[4]", "System.Char[]", 4, 104)] public char[] shade1 = new System.Char[4]; - [DNAFieldAttribute(4, "char", 28, "shade2[4]", "System.Char[]", false, 108)] + [DNAArrayAttribute(4, "char", 28, "shade2[4]", "System.Char[]", 4, 108)] public char[] shade2 = new System.Char[4]; - [DNAFieldAttribute(4, "char", 29, "hilite[4]", "System.Char[]", false, 112)] + [DNAArrayAttribute(4, "char", 29, "hilite[4]", "System.Char[]", 4, 112)] public char[] hilite = new System.Char[4]; - [DNAFieldAttribute(4, "char", 30, "grid[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 30, "grid[4]", "System.Char[]", 4, 116)] public char[] grid = new System.Char[4]; - [DNAFieldAttribute(4, "char", 31, "view_overlay[4]", "System.Char[]", false, 120)] + [DNAArrayAttribute(4, "char", 31, "view_overlay[4]", "System.Char[]", 4, 120)] public char[] view_overlay = new System.Char[4]; - [DNAFieldAttribute(4, "char", 32, "wire[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 32, "wire[4]", "System.Char[]", 4, 124)] public char[] wire = new System.Char[4]; - [DNAFieldAttribute(4, "char", 33, "wire_edit[4]", "System.Char[]", false, 128)] + [DNAArrayAttribute(4, "char", 33, "wire_edit[4]", "System.Char[]", 4, 128)] public char[] wire_edit = new System.Char[4]; - [DNAFieldAttribute(4, "char", 34, "select[4]", "System.Char[]", false, 132)] + [DNAArrayAttribute(4, "char", 34, "select[4]", "System.Char[]", 4, 132)] public char[] select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 35, "lamp[4]", "System.Char[]", false, 136)] + [DNAArrayAttribute(4, "char", 35, "lamp[4]", "System.Char[]", 4, 136)] public char[] lamp = new System.Char[4]; - [DNAFieldAttribute(4, "char", 36, "speaker[4]", "System.Char[]", false, 140)] + [DNAArrayAttribute(4, "char", 36, "speaker[4]", "System.Char[]", 4, 140)] public char[] speaker = new System.Char[4]; - [DNAFieldAttribute(4, "char", 37, "empty[4]", "System.Char[]", false, 144)] + [DNAArrayAttribute(4, "char", 37, "empty[4]", "System.Char[]", 4, 144)] public char[] empty = new System.Char[4]; - [DNAFieldAttribute(4, "char", 38, "camera[4]", "System.Char[]", false, 148)] + [DNAArrayAttribute(4, "char", 38, "camera[4]", "System.Char[]", 4, 148)] public char[] camera = new System.Char[4]; - [DNAFieldAttribute(4, "char", 39, "active[4]", "System.Char[]", false, 152)] + [DNAArrayAttribute(4, "char", 39, "active[4]", "System.Char[]", 4, 152)] public char[] active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 40, "group[4]", "System.Char[]", false, 156)] + [DNAArrayAttribute(4, "char", 40, "group[4]", "System.Char[]", 4, 156)] public char[] group = new System.Char[4]; - [DNAFieldAttribute(4, "char", 41, "group_active[4]", "System.Char[]", false, 160)] + [DNAArrayAttribute(4, "char", 41, "group_active[4]", "System.Char[]", 4, 160)] public char[] group_active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 42, "transform[4]", "System.Char[]", false, 164)] + [DNAArrayAttribute(4, "char", 42, "transform[4]", "System.Char[]", 4, 164)] public char[] transform = new System.Char[4]; - [DNAFieldAttribute(4, "char", 43, "vertex[4]", "System.Char[]", false, 168)] + [DNAArrayAttribute(4, "char", 43, "vertex[4]", "System.Char[]", 4, 168)] public char[] vertex = new System.Char[4]; - [DNAFieldAttribute(4, "char", 44, "vertex_select[4]", "System.Char[]", false, 172)] + [DNAArrayAttribute(4, "char", 44, "vertex_select[4]", "System.Char[]", 4, 172)] public char[] vertex_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 45, "vertex_active[4]", "System.Char[]", false, 176)] + [DNAArrayAttribute(4, "char", 45, "vertex_active[4]", "System.Char[]", 4, 176)] public char[] vertex_active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 46, "vertex_bevel[4]", "System.Char[]", false, 180)] + [DNAArrayAttribute(4, "char", 46, "vertex_bevel[4]", "System.Char[]", 4, 180)] public char[] vertex_bevel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 47, "vertex_unreferenced[4]", "System.Char[]", false, 184)] + [DNAArrayAttribute(4, "char", 47, "vertex_unreferenced[4]", "System.Char[]", 4, 184)] public char[] vertex_unreferenced = new System.Char[4]; - [DNAFieldAttribute(4, "char", 48, "edge[4]", "System.Char[]", false, 188)] + [DNAArrayAttribute(4, "char", 48, "edge[4]", "System.Char[]", 4, 188)] public char[] edge = new System.Char[4]; - [DNAFieldAttribute(4, "char", 49, "edge_select[4]", "System.Char[]", false, 192)] + [DNAArrayAttribute(4, "char", 49, "edge_select[4]", "System.Char[]", 4, 192)] public char[] edge_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 50, "edge_mode_select[4]", "System.Char[]", false, 196)] + [DNAArrayAttribute(4, "char", 50, "edge_mode_select[4]", "System.Char[]", 4, 196)] public char[] edge_mode_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 51, "edge_seam[4]", "System.Char[]", false, 200)] + [DNAArrayAttribute(4, "char", 51, "edge_seam[4]", "System.Char[]", 4, 200)] public char[] edge_seam = new System.Char[4]; - [DNAFieldAttribute(4, "char", 52, "edge_sharp[4]", "System.Char[]", false, 204)] + [DNAArrayAttribute(4, "char", 52, "edge_sharp[4]", "System.Char[]", 4, 204)] public char[] edge_sharp = new System.Char[4]; - [DNAFieldAttribute(4, "char", 53, "edge_facesel[4]", "System.Char[]", false, 208)] + [DNAArrayAttribute(4, "char", 53, "edge_facesel[4]", "System.Char[]", 4, 208)] public char[] edge_facesel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 54, "edge_crease[4]", "System.Char[]", false, 212)] + [DNAArrayAttribute(4, "char", 54, "edge_crease[4]", "System.Char[]", 4, 212)] public char[] edge_crease = new System.Char[4]; - [DNAFieldAttribute(4, "char", 55, "edge_bevel[4]", "System.Char[]", false, 216)] + [DNAArrayAttribute(4, "char", 55, "edge_bevel[4]", "System.Char[]", 4, 216)] public char[] edge_bevel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 56, "face[4]", "System.Char[]", false, 220)] + [DNAArrayAttribute(4, "char", 56, "face[4]", "System.Char[]", 4, 220)] public char[] face = new System.Char[4]; - [DNAFieldAttribute(4, "char", 57, "face_select[4]", "System.Char[]", false, 224)] + [DNAArrayAttribute(4, "char", 57, "face_select[4]", "System.Char[]", 4, 224)] public char[] face_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 58, "face_mode_select[4]", "System.Char[]", false, 228)] + [DNAArrayAttribute(4, "char", 58, "face_mode_select[4]", "System.Char[]", 4, 228)] public char[] face_mode_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 59, "face_retopology[4]", "System.Char[]", false, 232)] + [DNAArrayAttribute(4, "char", 59, "face_retopology[4]", "System.Char[]", 4, 232)] public char[] face_retopology = new System.Char[4]; - [DNAFieldAttribute(4, "char", 60, "face_back[4]", "System.Char[]", false, 236)] + [DNAArrayAttribute(4, "char", 60, "face_back[4]", "System.Char[]", 4, 236)] public char[] face_back = new System.Char[4]; - [DNAFieldAttribute(4, "char", 61, "face_front[4]", "System.Char[]", false, 240)] + [DNAArrayAttribute(4, "char", 61, "face_front[4]", "System.Char[]", 4, 240)] public char[] face_front = new System.Char[4]; - [DNAFieldAttribute(4, "char", 62, "face_dot[4]", "System.Char[]", false, 244)] + [DNAArrayAttribute(4, "char", 62, "face_dot[4]", "System.Char[]", 4, 244)] public char[] face_dot = new System.Char[4]; - [DNAFieldAttribute(4, "char", 63, "extra_edge_len[4]", "System.Char[]", false, 248)] + [DNAArrayAttribute(4, "char", 63, "extra_edge_len[4]", "System.Char[]", 4, 248)] public char[] extra_edge_len = new System.Char[4]; - [DNAFieldAttribute(4, "char", 64, "extra_edge_angle[4]", "System.Char[]", false, 252)] + [DNAArrayAttribute(4, "char", 64, "extra_edge_angle[4]", "System.Char[]", 4, 252)] public char[] extra_edge_angle = new System.Char[4]; - [DNAFieldAttribute(4, "char", 65, "extra_face_angle[4]", "System.Char[]", false, 256)] + [DNAArrayAttribute(4, "char", 65, "extra_face_angle[4]", "System.Char[]", 4, 256)] public char[] extra_face_angle = new System.Char[4]; - [DNAFieldAttribute(4, "char", 66, "extra_face_area[4]", "System.Char[]", false, 260)] + [DNAArrayAttribute(4, "char", 66, "extra_face_area[4]", "System.Char[]", 4, 260)] public char[] extra_face_area = new System.Char[4]; - [DNAFieldAttribute(4, "char", 67, "normal[4]", "System.Char[]", false, 264)] + [DNAArrayAttribute(4, "char", 67, "normal[4]", "System.Char[]", 4, 264)] public char[] normal = new System.Char[4]; - [DNAFieldAttribute(4, "char", 68, "vertex_normal[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 68, "vertex_normal[4]", "System.Char[]", 4, 268)] public char[] vertex_normal = new System.Char[4]; - [DNAFieldAttribute(4, "char", 69, "loop_normal[4]", "System.Char[]", false, 272)] + [DNAArrayAttribute(4, "char", 69, "loop_normal[4]", "System.Char[]", 4, 272)] public char[] loop_normal = new System.Char[4]; - [DNAFieldAttribute(4, "char", 70, "bone_solid[4]", "System.Char[]", false, 276)] + [DNAArrayAttribute(4, "char", 70, "bone_solid[4]", "System.Char[]", 4, 276)] public char[] bone_solid = new System.Char[4]; - [DNAFieldAttribute(4, "char", 71, "bone_pose[4]", "System.Char[]", false, 280)] + [DNAArrayAttribute(4, "char", 71, "bone_pose[4]", "System.Char[]", 4, 280)] public char[] bone_pose = new System.Char[4]; - [DNAFieldAttribute(4, "char", 72, "bone_pose_active[4]", "System.Char[]", false, 284)] + [DNAArrayAttribute(4, "char", 72, "bone_pose_active[4]", "System.Char[]", 4, 284)] public char[] bone_pose_active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 73, "bone_locked_weight[4]", "System.Char[]", false, 288)] + [DNAArrayAttribute(4, "char", 73, "bone_locked_weight[4]", "System.Char[]", 4, 288)] public char[] bone_locked_weight = new System.Char[4]; - [DNAFieldAttribute(4, "char", 74, "strip[4]", "System.Char[]", false, 292)] + [DNAArrayAttribute(4, "char", 74, "strip[4]", "System.Char[]", 4, 292)] public char[] strip = new System.Char[4]; - [DNAFieldAttribute(4, "char", 75, "strip_select[4]", "System.Char[]", false, 296)] + [DNAArrayAttribute(4, "char", 75, "strip_select[4]", "System.Char[]", 4, 296)] public char[] strip_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 76, "cframe[4]", "System.Char[]", false, 300)] + [DNAArrayAttribute(4, "char", 76, "cframe[4]", "System.Char[]", 4, 300)] public char[] cframe = new System.Char[4]; - [DNAFieldAttribute(4, "char", 77, "before_current_frame[4]", "System.Char[]", false, 304)] + [DNAArrayAttribute(4, "char", 77, "before_current_frame[4]", "System.Char[]", 4, 304)] public char[] before_current_frame = new System.Char[4]; - [DNAFieldAttribute(4, "char", 78, "after_current_frame[4]", "System.Char[]", false, 308)] + [DNAArrayAttribute(4, "char", 78, "after_current_frame[4]", "System.Char[]", 4, 308)] public char[] after_current_frame = new System.Char[4]; - [DNAFieldAttribute(4, "char", 79, "time_keyframe[4]", "System.Char[]", false, 312)] + [DNAArrayAttribute(4, "char", 79, "time_keyframe[4]", "System.Char[]", 4, 312)] public char[] time_keyframe = new System.Char[4]; - [DNAFieldAttribute(4, "char", 80, "time_gp_keyframe[4]", "System.Char[]", false, 316)] + [DNAArrayAttribute(4, "char", 80, "time_gp_keyframe[4]", "System.Char[]", 4, 316)] public char[] time_gp_keyframe = new System.Char[4]; - [DNAFieldAttribute(4, "char", 81, "freestyle_edge_mark[4]", "System.Char[]", false, 320)] + [DNAArrayAttribute(4, "char", 81, "freestyle_edge_mark[4]", "System.Char[]", 4, 320)] public char[] freestyle_edge_mark = new System.Char[4]; - [DNAFieldAttribute(4, "char", 82, "freestyle_face_mark[4]", "System.Char[]", false, 324)] + [DNAArrayAttribute(4, "char", 82, "freestyle_face_mark[4]", "System.Char[]", 4, 324)] public char[] freestyle_face_mark = new System.Char[4]; - [DNAFieldAttribute(4, "char", 83, "scrubbing_background[4]", "System.Char[]", false, 328)] + [DNAArrayAttribute(4, "char", 83, "scrubbing_background[4]", "System.Char[]", 4, 328)] public char[] scrubbing_background = new System.Char[4]; - [DNAFieldAttribute(4, "char", 84, "time_marker_line[4]", "System.Char[]", false, 332)] + [DNAArrayAttribute(4, "char", 84, "time_marker_line[4]", "System.Char[]", 4, 332)] public char[] time_marker_line = new System.Char[4]; - [DNAFieldAttribute(4, "char", 85, "time_marker_line_selected[4]", "System.Char[]", false, 336)] + [DNAArrayAttribute(4, "char", 85, "time_marker_line_selected[4]", "System.Char[]", 4, 336)] public char[] time_marker_line_selected = new System.Char[4]; - [DNAFieldAttribute(4, "char", 86, "nurb_uline[4]", "System.Char[]", false, 340)] + [DNAArrayAttribute(4, "char", 86, "nurb_uline[4]", "System.Char[]", 4, 340)] public char[] nurb_uline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 87, "nurb_vline[4]", "System.Char[]", false, 344)] + [DNAArrayAttribute(4, "char", 87, "nurb_vline[4]", "System.Char[]", 4, 344)] public char[] nurb_vline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 88, "act_spline[4]", "System.Char[]", false, 348)] + [DNAArrayAttribute(4, "char", 88, "act_spline[4]", "System.Char[]", 4, 348)] public char[] act_spline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 89, "nurb_sel_uline[4]", "System.Char[]", false, 352)] + [DNAArrayAttribute(4, "char", 89, "nurb_sel_uline[4]", "System.Char[]", 4, 352)] public char[] nurb_sel_uline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 90, "nurb_sel_vline[4]", "System.Char[]", false, 356)] + [DNAArrayAttribute(4, "char", 90, "nurb_sel_vline[4]", "System.Char[]", 4, 356)] public char[] nurb_sel_vline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 91, "lastsel_point[4]", "System.Char[]", false, 360)] + [DNAArrayAttribute(4, "char", 91, "lastsel_point[4]", "System.Char[]", 4, 360)] public char[] lastsel_point = new System.Char[4]; - [DNAFieldAttribute(4, "char", 92, "handle_free[4]", "System.Char[]", false, 364)] + [DNAArrayAttribute(4, "char", 92, "handle_free[4]", "System.Char[]", 4, 364)] public char[] handle_free = new System.Char[4]; - [DNAFieldAttribute(4, "char", 93, "handle_auto[4]", "System.Char[]", false, 368)] + [DNAArrayAttribute(4, "char", 93, "handle_auto[4]", "System.Char[]", 4, 368)] public char[] handle_auto = new System.Char[4]; - [DNAFieldAttribute(4, "char", 94, "handle_vect[4]", "System.Char[]", false, 372)] + [DNAArrayAttribute(4, "char", 94, "handle_vect[4]", "System.Char[]", 4, 372)] public char[] handle_vect = new System.Char[4]; - [DNAFieldAttribute(4, "char", 95, "handle_align[4]", "System.Char[]", false, 376)] + [DNAArrayAttribute(4, "char", 95, "handle_align[4]", "System.Char[]", 4, 376)] public char[] handle_align = new System.Char[4]; - [DNAFieldAttribute(4, "char", 96, "handle_auto_clamped[4]", "System.Char[]", false, 380)] + [DNAArrayAttribute(4, "char", 96, "handle_auto_clamped[4]", "System.Char[]", 4, 380)] public char[] handle_auto_clamped = new System.Char[4]; - [DNAFieldAttribute(4, "char", 97, "handle_sel_free[4]", "System.Char[]", false, 384)] + [DNAArrayAttribute(4, "char", 97, "handle_sel_free[4]", "System.Char[]", 4, 384)] public char[] handle_sel_free = new System.Char[4]; - [DNAFieldAttribute(4, "char", 98, "handle_sel_auto[4]", "System.Char[]", false, 388)] + [DNAArrayAttribute(4, "char", 98, "handle_sel_auto[4]", "System.Char[]", 4, 388)] public char[] handle_sel_auto = new System.Char[4]; - [DNAFieldAttribute(4, "char", 99, "handle_sel_vect[4]", "System.Char[]", false, 392)] + [DNAArrayAttribute(4, "char", 99, "handle_sel_vect[4]", "System.Char[]", 4, 392)] public char[] handle_sel_vect = new System.Char[4]; - [DNAFieldAttribute(4, "char", 100, "handle_sel_align[4]", "System.Char[]", false, 396)] + [DNAArrayAttribute(4, "char", 100, "handle_sel_align[4]", "System.Char[]", 4, 396)] public char[] handle_sel_align = new System.Char[4]; - [DNAFieldAttribute(4, "char", 101, "handle_sel_auto_clamped[4]", "System.Char[]", false, 400)] + [DNAArrayAttribute(4, "char", 101, "handle_sel_auto_clamped[4]", "System.Char[]", 4, 400)] public char[] handle_sel_auto_clamped = new System.Char[4]; - [DNAFieldAttribute(4, "char", 102, "ds_channel[4]", "System.Char[]", false, 404)] + [DNAArrayAttribute(4, "char", 102, "ds_channel[4]", "System.Char[]", 4, 404)] public char[] ds_channel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 103, "ds_subchannel[4]", "System.Char[]", false, 408)] + [DNAArrayAttribute(4, "char", 103, "ds_subchannel[4]", "System.Char[]", 4, 408)] public char[] ds_subchannel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 104, "ds_ipoline[4]", "System.Char[]", false, 412)] + [DNAArrayAttribute(4, "char", 104, "ds_ipoline[4]", "System.Char[]", 4, 412)] public char[] ds_ipoline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 105, "keytype_keyframe[4]", "System.Char[]", false, 416)] + [DNAArrayAttribute(4, "char", 105, "keytype_keyframe[4]", "System.Char[]", 4, 416)] public char[] keytype_keyframe = new System.Char[4]; - [DNAFieldAttribute(4, "char", 106, "keytype_extreme[4]", "System.Char[]", false, 420)] + [DNAArrayAttribute(4, "char", 106, "keytype_extreme[4]", "System.Char[]", 4, 420)] public char[] keytype_extreme = new System.Char[4]; - [DNAFieldAttribute(4, "char", 107, "keytype_breakdown[4]", "System.Char[]", false, 424)] + [DNAArrayAttribute(4, "char", 107, "keytype_breakdown[4]", "System.Char[]", 4, 424)] public char[] keytype_breakdown = new System.Char[4]; - [DNAFieldAttribute(4, "char", 108, "keytype_jitter[4]", "System.Char[]", false, 428)] + [DNAArrayAttribute(4, "char", 108, "keytype_jitter[4]", "System.Char[]", 4, 428)] public char[] keytype_jitter = new System.Char[4]; - [DNAFieldAttribute(4, "char", 109, "keytype_movehold[4]", "System.Char[]", false, 432)] + [DNAArrayAttribute(4, "char", 109, "keytype_movehold[4]", "System.Char[]", 4, 432)] public char[] keytype_movehold = new System.Char[4]; - [DNAFieldAttribute(4, "char", 110, "keytype_generated[4]", "System.Char[]", false, 436)] + [DNAArrayAttribute(4, "char", 110, "keytype_generated[4]", "System.Char[]", 4, 436)] public char[] keytype_generated = new System.Char[4]; - [DNAFieldAttribute(4, "char", 111, "keytype_keyframe_select[4]", "System.Char[]", false, 440)] + [DNAArrayAttribute(4, "char", 111, "keytype_keyframe_select[4]", "System.Char[]", 4, 440)] public char[] keytype_keyframe_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 112, "keytype_extreme_select[4]", "System.Char[]", false, 444)] + [DNAArrayAttribute(4, "char", 112, "keytype_extreme_select[4]", "System.Char[]", 4, 444)] public char[] keytype_extreme_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 113, "keytype_breakdown_select[4]", "System.Char[]", false, 448)] + [DNAArrayAttribute(4, "char", 113, "keytype_breakdown_select[4]", "System.Char[]", 4, 448)] public char[] keytype_breakdown_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 114, "keytype_jitter_select[4]", "System.Char[]", false, 452)] + [DNAArrayAttribute(4, "char", 114, "keytype_jitter_select[4]", "System.Char[]", 4, 452)] public char[] keytype_jitter_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 115, "keytype_movehold_select[4]", "System.Char[]", false, 456)] + [DNAArrayAttribute(4, "char", 115, "keytype_movehold_select[4]", "System.Char[]", 4, 456)] public char[] keytype_movehold_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 116, "keytype_generated_select[4]", "System.Char[]", false, 460)] + [DNAArrayAttribute(4, "char", 116, "keytype_generated_select[4]", "System.Char[]", 4, 460)] public char[] keytype_generated_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 117, "keyborder[4]", "System.Char[]", false, 464)] + [DNAArrayAttribute(4, "char", 117, "keyborder[4]", "System.Char[]", 4, 464)] public char[] keyborder = new System.Char[4]; - [DNAFieldAttribute(4, "char", 118, "keyborder_select[4]", "System.Char[]", false, 468)] + [DNAArrayAttribute(4, "char", 118, "keyborder_select[4]", "System.Char[]", 4, 468)] public char[] keyborder_select = new System.Char[4]; - [DNAFieldAttribute(3, "char", 119, "_pad4[3]", "System.Char[]", false, 472)] + [DNAArrayAttribute(3, "char", 119, "_pad4[3]", "System.Char[]", 3, 472)] public char[] _pad4 = new System.Char[3]; - [DNAFieldAttribute(4, "char", 120, "console_output[4]", "System.Char[]", false, 475)] + [DNAArrayAttribute(4, "char", 120, "console_output[4]", "System.Char[]", 4, 475)] public char[] console_output = new System.Char[4]; - [DNAFieldAttribute(4, "char", 121, "console_input[4]", "System.Char[]", false, 479)] + [DNAArrayAttribute(4, "char", 121, "console_input[4]", "System.Char[]", 4, 479)] public char[] console_input = new System.Char[4]; - [DNAFieldAttribute(4, "char", 122, "console_info[4]", "System.Char[]", false, 483)] + [DNAArrayAttribute(4, "char", 122, "console_info[4]", "System.Char[]", 4, 483)] public char[] console_info = new System.Char[4]; - [DNAFieldAttribute(4, "char", 123, "console_error[4]", "System.Char[]", false, 487)] + [DNAArrayAttribute(4, "char", 123, "console_error[4]", "System.Char[]", 4, 487)] public char[] console_error = new System.Char[4]; - [DNAFieldAttribute(4, "char", 124, "console_cursor[4]", "System.Char[]", false, 491)] + [DNAArrayAttribute(4, "char", 124, "console_cursor[4]", "System.Char[]", 4, 491)] public char[] console_cursor = new System.Char[4]; - [DNAFieldAttribute(4, "char", 125, "console_select[4]", "System.Char[]", false, 495)] + [DNAArrayAttribute(4, "char", 125, "console_select[4]", "System.Char[]", 4, 495)] public char[] console_select = new System.Char[4]; [DNAFieldAttribute(1, "char", 126, "vertex_size", "char", false, 499)] public char vertex_size; @@ -273,217 +273,217 @@ namespace BlendFile.DNA { public char noodle_curving; [DNAFieldAttribute(1, "char", 132, "grid_levels", "char", false, 505)] public char grid_levels; - [DNAFieldAttribute(2, "char", 133, "_pad5[2]", "System.Char[]", false, 506)] + [DNAArrayAttribute(2, "char", 133, "_pad5[2]", "System.Char[]", 2, 506)] public char[] _pad5 = new System.Char[2]; [DNAFieldAttribute(4, "float", 134, "dash_alpha", "float", false, 508)] public float dash_alpha; - [DNAFieldAttribute(4, "char", 135, "syntaxl[4]", "System.Char[]", false, 512)] + [DNAArrayAttribute(4, "char", 135, "syntaxl[4]", "System.Char[]", 4, 512)] public char[] syntaxl = new System.Char[4]; - [DNAFieldAttribute(4, "char", 136, "syntaxs[4]", "System.Char[]", false, 516)] + [DNAArrayAttribute(4, "char", 136, "syntaxs[4]", "System.Char[]", 4, 516)] public char[] syntaxs = new System.Char[4]; - [DNAFieldAttribute(4, "char", 137, "syntaxb[4]", "System.Char[]", false, 520)] + [DNAArrayAttribute(4, "char", 137, "syntaxb[4]", "System.Char[]", 4, 520)] public char[] syntaxb = new System.Char[4]; - [DNAFieldAttribute(4, "char", 138, "syntaxn[4]", "System.Char[]", false, 524)] + [DNAArrayAttribute(4, "char", 138, "syntaxn[4]", "System.Char[]", 4, 524)] public char[] syntaxn = new System.Char[4]; - [DNAFieldAttribute(4, "char", 139, "syntaxv[4]", "System.Char[]", false, 528)] + [DNAArrayAttribute(4, "char", 139, "syntaxv[4]", "System.Char[]", 4, 528)] public char[] syntaxv = new System.Char[4]; - [DNAFieldAttribute(4, "char", 140, "syntaxc[4]", "System.Char[]", false, 532)] + [DNAArrayAttribute(4, "char", 140, "syntaxc[4]", "System.Char[]", 4, 532)] public char[] syntaxc = new System.Char[4]; - [DNAFieldAttribute(4, "char", 141, "syntaxd[4]", "System.Char[]", false, 536)] + [DNAArrayAttribute(4, "char", 141, "syntaxd[4]", "System.Char[]", 4, 536)] public char[] syntaxd = new System.Char[4]; - [DNAFieldAttribute(4, "char", 142, "syntaxr[4]", "System.Char[]", false, 540)] + [DNAArrayAttribute(4, "char", 142, "syntaxr[4]", "System.Char[]", 4, 540)] public char[] syntaxr = new System.Char[4]; - [DNAFieldAttribute(4, "char", 143, "line_numbers[4]", "System.Char[]", false, 544)] + [DNAArrayAttribute(4, "char", 143, "line_numbers[4]", "System.Char[]", 4, 544)] public char[] line_numbers = new System.Char[4]; - [DNAFieldAttribute(4, "char", 144, "nodeclass_output[4]", "System.Char[]", false, 548)] + [DNAArrayAttribute(4, "char", 144, "nodeclass_output[4]", "System.Char[]", 4, 548)] public char[] nodeclass_output = new System.Char[4]; - [DNAFieldAttribute(4, "char", 145, "nodeclass_filter[4]", "System.Char[]", false, 552)] + [DNAArrayAttribute(4, "char", 145, "nodeclass_filter[4]", "System.Char[]", 4, 552)] public char[] nodeclass_filter = new System.Char[4]; - [DNAFieldAttribute(4, "char", 146, "nodeclass_vector[4]", "System.Char[]", false, 556)] + [DNAArrayAttribute(4, "char", 146, "nodeclass_vector[4]", "System.Char[]", 4, 556)] public char[] nodeclass_vector = new System.Char[4]; - [DNAFieldAttribute(4, "char", 147, "nodeclass_texture[4]", "System.Char[]", false, 560)] + [DNAArrayAttribute(4, "char", 147, "nodeclass_texture[4]", "System.Char[]", 4, 560)] public char[] nodeclass_texture = new System.Char[4]; - [DNAFieldAttribute(4, "char", 148, "nodeclass_shader[4]", "System.Char[]", false, 564)] + [DNAArrayAttribute(4, "char", 148, "nodeclass_shader[4]", "System.Char[]", 4, 564)] public char[] nodeclass_shader = new System.Char[4]; - [DNAFieldAttribute(4, "char", 149, "nodeclass_script[4]", "System.Char[]", false, 568)] + [DNAArrayAttribute(4, "char", 149, "nodeclass_script[4]", "System.Char[]", 4, 568)] public char[] nodeclass_script = new System.Char[4]; - [DNAFieldAttribute(4, "char", 150, "nodeclass_pattern[4]", "System.Char[]", false, 572)] + [DNAArrayAttribute(4, "char", 150, "nodeclass_pattern[4]", "System.Char[]", 4, 572)] public char[] nodeclass_pattern = new System.Char[4]; - [DNAFieldAttribute(4, "char", 151, "nodeclass_layout[4]", "System.Char[]", false, 576)] + [DNAArrayAttribute(4, "char", 151, "nodeclass_layout[4]", "System.Char[]", 4, 576)] public char[] nodeclass_layout = new System.Char[4]; - [DNAFieldAttribute(4, "char", 152, "nodeclass_geometry[4]", "System.Char[]", false, 580)] + [DNAArrayAttribute(4, "char", 152, "nodeclass_geometry[4]", "System.Char[]", 4, 580)] public char[] nodeclass_geometry = new System.Char[4]; - [DNAFieldAttribute(4, "char", 153, "nodeclass_attribute[4]", "System.Char[]", false, 584)] + [DNAArrayAttribute(4, "char", 153, "nodeclass_attribute[4]", "System.Char[]", 4, 584)] public char[] nodeclass_attribute = new System.Char[4]; - [DNAFieldAttribute(4, "char", 154, "node_zone_simulation[4]", "System.Char[]", false, 588)] + [DNAArrayAttribute(4, "char", 154, "node_zone_simulation[4]", "System.Char[]", 4, 588)] public char[] node_zone_simulation = new System.Char[4]; - [DNAFieldAttribute(4, "char", 155, "node_zone_repeat[4]", "System.Char[]", false, 592)] + [DNAArrayAttribute(4, "char", 155, "node_zone_repeat[4]", "System.Char[]", 4, 592)] public char[] node_zone_repeat = new System.Char[4]; - [DNAFieldAttribute(4, "char", 156, "node_zone_foreach_geometry_element[4]", "System.Char[]", false, 596)] + [DNAArrayAttribute(4, "char", 156, "node_zone_foreach_geometry_element[4]", "System.Char[]", 4, 596)] public char[] node_zone_foreach_geometry_element = new System.Char[4]; - [DNAFieldAttribute(4, "char", 157, "simulated_frames[4]", "System.Char[]", false, 600)] + [DNAArrayAttribute(4, "char", 157, "simulated_frames[4]", "System.Char[]", 4, 600)] public char[] simulated_frames = new System.Char[4]; - [DNAFieldAttribute(4, "char", 158, "movie[4]", "System.Char[]", false, 604)] + [DNAArrayAttribute(4, "char", 158, "movie[4]", "System.Char[]", 4, 604)] public char[] movie = new System.Char[4]; - [DNAFieldAttribute(4, "char", 159, "movieclip[4]", "System.Char[]", false, 608)] + [DNAArrayAttribute(4, "char", 159, "movieclip[4]", "System.Char[]", 4, 608)] public char[] movieclip = new System.Char[4]; - [DNAFieldAttribute(4, "char", 160, "mask[4]", "System.Char[]", false, 612)] + [DNAArrayAttribute(4, "char", 160, "mask[4]", "System.Char[]", 4, 612)] public char[] mask = new System.Char[4]; - [DNAFieldAttribute(4, "char", 161, "image[4]", "System.Char[]", false, 616)] + [DNAArrayAttribute(4, "char", 161, "image[4]", "System.Char[]", 4, 616)] public char[] image = new System.Char[4]; - [DNAFieldAttribute(4, "char", 162, "scene[4]", "System.Char[]", false, 620)] + [DNAArrayAttribute(4, "char", 162, "scene[4]", "System.Char[]", 4, 620)] public char[] scene = new System.Char[4]; - [DNAFieldAttribute(4, "char", 163, "audio[4]", "System.Char[]", false, 624)] + [DNAArrayAttribute(4, "char", 163, "audio[4]", "System.Char[]", 4, 624)] public char[] audio = new System.Char[4]; - [DNAFieldAttribute(4, "char", 164, "effect[4]", "System.Char[]", false, 628)] + [DNAArrayAttribute(4, "char", 164, "effect[4]", "System.Char[]", 4, 628)] public char[] effect = new System.Char[4]; - [DNAFieldAttribute(4, "char", 165, "transition[4]", "System.Char[]", false, 632)] + [DNAArrayAttribute(4, "char", 165, "transition[4]", "System.Char[]", 4, 632)] public char[] transition = new System.Char[4]; - [DNAFieldAttribute(4, "char", 166, "meta[4]", "System.Char[]", false, 636)] + [DNAArrayAttribute(4, "char", 166, "meta[4]", "System.Char[]", 4, 636)] public char[] meta = new System.Char[4]; - [DNAFieldAttribute(4, "char", 167, "text_strip[4]", "System.Char[]", false, 640)] + [DNAArrayAttribute(4, "char", 167, "text_strip[4]", "System.Char[]", 4, 640)] public char[] text_strip = new System.Char[4]; - [DNAFieldAttribute(4, "char", 168, "color_strip[4]", "System.Char[]", false, 644)] + [DNAArrayAttribute(4, "char", 168, "color_strip[4]", "System.Char[]", 4, 644)] public char[] color_strip = new System.Char[4]; - [DNAFieldAttribute(4, "char", 169, "active_strip[4]", "System.Char[]", false, 648)] + [DNAArrayAttribute(4, "char", 169, "active_strip[4]", "System.Char[]", 4, 648)] public char[] active_strip = new System.Char[4]; - [DNAFieldAttribute(4, "char", 170, "selected_strip[4]", "System.Char[]", false, 652)] + [DNAArrayAttribute(4, "char", 170, "selected_strip[4]", "System.Char[]", 4, 652)] public char[] selected_strip = new System.Char[4]; [DNAFieldAttribute(4, "float", 171, "keyframe_scale_fac", "float", false, 656)] public float keyframe_scale_fac; - [DNAFieldAttribute(4, "char", 172, "editmesh_active[4]", "System.Char[]", false, 660)] + [DNAArrayAttribute(4, "char", 172, "editmesh_active[4]", "System.Char[]", 4, 660)] public char[] editmesh_active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 173, "handle_vertex[4]", "System.Char[]", false, 664)] + [DNAArrayAttribute(4, "char", 173, "handle_vertex[4]", "System.Char[]", 4, 664)] public char[] handle_vertex = new System.Char[4]; - [DNAFieldAttribute(4, "char", 174, "handle_vertex_select[4]", "System.Char[]", false, 668)] + [DNAArrayAttribute(4, "char", 174, "handle_vertex_select[4]", "System.Char[]", 4, 668)] public char[] handle_vertex_select = new System.Char[4]; [DNAFieldAttribute(1, "char", 175, "handle_vertex_size", "char", false, 672)] public char handle_vertex_size; - [DNAFieldAttribute(4, "char", 176, "clipping_border_3d[4]", "System.Char[]", false, 673)] + [DNAArrayAttribute(4, "char", 176, "clipping_border_3d[4]", "System.Char[]", 4, 673)] public char[] clipping_border_3d = new System.Char[4]; - [DNAFieldAttribute(4, "char", 177, "marker_outline[4]", "System.Char[]", false, 677)] + [DNAArrayAttribute(4, "char", 177, "marker_outline[4]", "System.Char[]", 4, 677)] public char[] marker_outline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 178, "marker[4]", "System.Char[]", false, 681)] + [DNAArrayAttribute(4, "char", 178, "marker[4]", "System.Char[]", 4, 681)] public char[] marker = new System.Char[4]; - [DNAFieldAttribute(4, "char", 179, "act_marker[4]", "System.Char[]", false, 685)] + [DNAArrayAttribute(4, "char", 179, "act_marker[4]", "System.Char[]", 4, 685)] public char[] act_marker = new System.Char[4]; - [DNAFieldAttribute(4, "char", 180, "sel_marker[4]", "System.Char[]", false, 689)] + [DNAArrayAttribute(4, "char", 180, "sel_marker[4]", "System.Char[]", 4, 689)] public char[] sel_marker = new System.Char[4]; - [DNAFieldAttribute(4, "char", 181, "dis_marker[4]", "System.Char[]", false, 693)] + [DNAArrayAttribute(4, "char", 181, "dis_marker[4]", "System.Char[]", 4, 693)] public char[] dis_marker = new System.Char[4]; - [DNAFieldAttribute(4, "char", 182, "lock_marker[4]", "System.Char[]", false, 697)] + [DNAArrayAttribute(4, "char", 182, "lock_marker[4]", "System.Char[]", 4, 697)] public char[] lock_marker = new System.Char[4]; - [DNAFieldAttribute(4, "char", 183, "bundle_solid[4]", "System.Char[]", false, 701)] + [DNAArrayAttribute(4, "char", 183, "bundle_solid[4]", "System.Char[]", 4, 701)] public char[] bundle_solid = new System.Char[4]; - [DNAFieldAttribute(4, "char", 184, "path_before[4]", "System.Char[]", false, 705)] + [DNAArrayAttribute(4, "char", 184, "path_before[4]", "System.Char[]", 4, 705)] public char[] path_before = new System.Char[4]; - [DNAFieldAttribute(4, "char", 185, "path_after[4]", "System.Char[]", false, 709)] + [DNAArrayAttribute(4, "char", 185, "path_after[4]", "System.Char[]", 4, 709)] public char[] path_after = new System.Char[4]; - [DNAFieldAttribute(4, "char", 186, "path_keyframe_before[4]", "System.Char[]", false, 713)] + [DNAArrayAttribute(4, "char", 186, "path_keyframe_before[4]", "System.Char[]", 4, 713)] public char[] path_keyframe_before = new System.Char[4]; - [DNAFieldAttribute(4, "char", 187, "path_keyframe_after[4]", "System.Char[]", false, 717)] + [DNAArrayAttribute(4, "char", 187, "path_keyframe_after[4]", "System.Char[]", 4, 717)] public char[] path_keyframe_after = new System.Char[4]; - [DNAFieldAttribute(4, "char", 188, "camera_path[4]", "System.Char[]", false, 721)] + [DNAArrayAttribute(4, "char", 188, "camera_path[4]", "System.Char[]", 4, 721)] public char[] camera_path = new System.Char[4]; - [DNAFieldAttribute(4, "char", 189, "camera_passepartout[4]", "System.Char[]", false, 725)] + [DNAArrayAttribute(4, "char", 189, "camera_passepartout[4]", "System.Char[]", 4, 725)] public char[] camera_passepartout = new System.Char[4]; - [DNAFieldAttribute(2, "char", 190, "_pad1[2]", "System.Char[]", false, 729)] + [DNAArrayAttribute(2, "char", 190, "_pad1[2]", "System.Char[]", 2, 729)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(1, "char", 191, "gp_vertex_size", "char", false, 731)] public char gp_vertex_size; - [DNAFieldAttribute(4, "char", 192, "gp_vertex[4]", "System.Char[]", false, 732)] + [DNAArrayAttribute(4, "char", 192, "gp_vertex[4]", "System.Char[]", 4, 732)] public char[] gp_vertex = new System.Char[4]; - [DNAFieldAttribute(4, "char", 193, "gp_vertex_select[4]", "System.Char[]", false, 736)] + [DNAArrayAttribute(4, "char", 193, "gp_vertex_select[4]", "System.Char[]", 4, 736)] public char[] gp_vertex_select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 194, "preview_back[4]", "System.Char[]", false, 740)] + [DNAArrayAttribute(4, "char", 194, "preview_back[4]", "System.Char[]", 4, 740)] public char[] preview_back = new System.Char[4]; - [DNAFieldAttribute(4, "char", 195, "preview_stitch_face[4]", "System.Char[]", false, 744)] + [DNAArrayAttribute(4, "char", 195, "preview_stitch_face[4]", "System.Char[]", 4, 744)] public char[] preview_stitch_face = new System.Char[4]; - [DNAFieldAttribute(4, "char", 196, "preview_stitch_edge[4]", "System.Char[]", false, 748)] + [DNAArrayAttribute(4, "char", 196, "preview_stitch_edge[4]", "System.Char[]", 4, 748)] public char[] preview_stitch_edge = new System.Char[4]; - [DNAFieldAttribute(4, "char", 197, "preview_stitch_vert[4]", "System.Char[]", false, 752)] + [DNAArrayAttribute(4, "char", 197, "preview_stitch_vert[4]", "System.Char[]", 4, 752)] public char[] preview_stitch_vert = new System.Char[4]; - [DNAFieldAttribute(4, "char", 198, "preview_stitch_stitchable[4]", "System.Char[]", false, 756)] + [DNAArrayAttribute(4, "char", 198, "preview_stitch_stitchable[4]", "System.Char[]", 4, 756)] public char[] preview_stitch_stitchable = new System.Char[4]; - [DNAFieldAttribute(4, "char", 199, "preview_stitch_unstitchable[4]", "System.Char[]", false, 760)] + [DNAArrayAttribute(4, "char", 199, "preview_stitch_unstitchable[4]", "System.Char[]", 4, 760)] public char[] preview_stitch_unstitchable = new System.Char[4]; - [DNAFieldAttribute(4, "char", 200, "preview_stitch_active[4]", "System.Char[]", false, 764)] + [DNAArrayAttribute(4, "char", 200, "preview_stitch_active[4]", "System.Char[]", 4, 764)] public char[] preview_stitch_active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 201, "uv_shadow[4]", "System.Char[]", false, 768)] + [DNAArrayAttribute(4, "char", 201, "uv_shadow[4]", "System.Char[]", 4, 768)] public char[] uv_shadow = new System.Char[4]; - [DNAFieldAttribute(4, "char", 202, "match[4]", "System.Char[]", false, 772)] + [DNAArrayAttribute(4, "char", 202, "match[4]", "System.Char[]", 4, 772)] public char[] match = new System.Char[4]; - [DNAFieldAttribute(4, "char", 203, "selected_highlight[4]", "System.Char[]", false, 776)] + [DNAArrayAttribute(4, "char", 203, "selected_highlight[4]", "System.Char[]", 4, 776)] public char[] selected_highlight = new System.Char[4]; - [DNAFieldAttribute(4, "char", 204, "selected_object[4]", "System.Char[]", false, 780)] + [DNAArrayAttribute(4, "char", 204, "selected_object[4]", "System.Char[]", 4, 780)] public char[] selected_object = new System.Char[4]; - [DNAFieldAttribute(4, "char", 205, "active_object[4]", "System.Char[]", false, 784)] + [DNAArrayAttribute(4, "char", 205, "active_object[4]", "System.Char[]", 4, 784)] public char[] active_object = new System.Char[4]; - [DNAFieldAttribute(4, "char", 206, "edited_object[4]", "System.Char[]", false, 788)] + [DNAArrayAttribute(4, "char", 206, "edited_object[4]", "System.Char[]", 4, 788)] public char[] edited_object = new System.Char[4]; - [DNAFieldAttribute(4, "char", 207, "row_alternate[4]", "System.Char[]", false, 792)] + [DNAArrayAttribute(4, "char", 207, "row_alternate[4]", "System.Char[]", 4, 792)] public char[] row_alternate = new System.Char[4]; - [DNAFieldAttribute(4, "char", 208, "skin_root[4]", "System.Char[]", false, 796)] + [DNAArrayAttribute(4, "char", 208, "skin_root[4]", "System.Char[]", 4, 796)] public char[] skin_root = new System.Char[4]; - [DNAFieldAttribute(4, "char", 209, "anim_active[4]", "System.Char[]", false, 800)] + [DNAArrayAttribute(4, "char", 209, "anim_active[4]", "System.Char[]", 4, 800)] public char[] anim_active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 210, "anim_non_active[4]", "System.Char[]", false, 804)] + [DNAArrayAttribute(4, "char", 210, "anim_non_active[4]", "System.Char[]", 4, 804)] public char[] anim_non_active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 211, "anim_preview_range[4]", "System.Char[]", false, 808)] + [DNAArrayAttribute(4, "char", 211, "anim_preview_range[4]", "System.Char[]", 4, 808)] public char[] anim_preview_range = new System.Char[4]; - [DNAFieldAttribute(4, "char", 212, "nla_tweaking[4]", "System.Char[]", false, 812)] + [DNAArrayAttribute(4, "char", 212, "nla_tweaking[4]", "System.Char[]", 4, 812)] public char[] nla_tweaking = new System.Char[4]; - [DNAFieldAttribute(4, "char", 213, "nla_tweakdupli[4]", "System.Char[]", false, 816)] + [DNAArrayAttribute(4, "char", 213, "nla_tweakdupli[4]", "System.Char[]", 4, 816)] public char[] nla_tweakdupli = new System.Char[4]; - [DNAFieldAttribute(4, "char", 214, "nla_track[4]", "System.Char[]", false, 820)] + [DNAArrayAttribute(4, "char", 214, "nla_track[4]", "System.Char[]", 4, 820)] public char[] nla_track = new System.Char[4]; - [DNAFieldAttribute(4, "char", 215, "nla_transition[4]", "System.Char[]", false, 824)] + [DNAArrayAttribute(4, "char", 215, "nla_transition[4]", "System.Char[]", 4, 824)] public char[] nla_transition = new System.Char[4]; - [DNAFieldAttribute(4, "char", 216, "nla_transition_sel[4]", "System.Char[]", false, 828)] + [DNAArrayAttribute(4, "char", 216, "nla_transition_sel[4]", "System.Char[]", 4, 828)] public char[] nla_transition_sel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 217, "nla_meta[4]", "System.Char[]", false, 832)] + [DNAArrayAttribute(4, "char", 217, "nla_meta[4]", "System.Char[]", 4, 832)] public char[] nla_meta = new System.Char[4]; - [DNAFieldAttribute(4, "char", 218, "nla_meta_sel[4]", "System.Char[]", false, 836)] + [DNAArrayAttribute(4, "char", 218, "nla_meta_sel[4]", "System.Char[]", 4, 836)] public char[] nla_meta_sel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 219, "nla_sound[4]", "System.Char[]", false, 840)] + [DNAArrayAttribute(4, "char", 219, "nla_sound[4]", "System.Char[]", 4, 840)] public char[] nla_sound = new System.Char[4]; - [DNAFieldAttribute(4, "char", 220, "nla_sound_sel[4]", "System.Char[]", false, 844)] + [DNAArrayAttribute(4, "char", 220, "nla_sound_sel[4]", "System.Char[]", 4, 844)] public char[] nla_sound_sel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 221, "info_selected[4]", "System.Char[]", false, 848)] + [DNAArrayAttribute(4, "char", 221, "info_selected[4]", "System.Char[]", 4, 848)] public char[] info_selected = new System.Char[4]; - [DNAFieldAttribute(4, "char", 222, "info_selected_text[4]", "System.Char[]", false, 852)] + [DNAArrayAttribute(4, "char", 222, "info_selected_text[4]", "System.Char[]", 4, 852)] public char[] info_selected_text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 223, "info_error[4]", "System.Char[]", false, 856)] + [DNAArrayAttribute(4, "char", 223, "info_error[4]", "System.Char[]", 4, 856)] public char[] info_error = new System.Char[4]; - [DNAFieldAttribute(4, "char", 224, "info_error_text[4]", "System.Char[]", false, 860)] + [DNAArrayAttribute(4, "char", 224, "info_error_text[4]", "System.Char[]", 4, 860)] public char[] info_error_text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 225, "info_warning[4]", "System.Char[]", false, 864)] + [DNAArrayAttribute(4, "char", 225, "info_warning[4]", "System.Char[]", 4, 864)] public char[] info_warning = new System.Char[4]; - [DNAFieldAttribute(4, "char", 226, "info_warning_text[4]", "System.Char[]", false, 868)] + [DNAArrayAttribute(4, "char", 226, "info_warning_text[4]", "System.Char[]", 4, 868)] public char[] info_warning_text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 227, "info_info[4]", "System.Char[]", false, 872)] + [DNAArrayAttribute(4, "char", 227, "info_info[4]", "System.Char[]", 4, 872)] public char[] info_info = new System.Char[4]; - [DNAFieldAttribute(4, "char", 228, "info_info_text[4]", "System.Char[]", false, 876)] + [DNAArrayAttribute(4, "char", 228, "info_info_text[4]", "System.Char[]", 4, 876)] public char[] info_info_text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 229, "info_debug[4]", "System.Char[]", false, 880)] + [DNAArrayAttribute(4, "char", 229, "info_debug[4]", "System.Char[]", 4, 880)] public char[] info_debug = new System.Char[4]; - [DNAFieldAttribute(4, "char", 230, "info_debug_text[4]", "System.Char[]", false, 884)] + [DNAArrayAttribute(4, "char", 230, "info_debug_text[4]", "System.Char[]", 4, 884)] public char[] info_debug_text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 231, "info_property[4]", "System.Char[]", false, 888)] + [DNAArrayAttribute(4, "char", 231, "info_property[4]", "System.Char[]", 4, 888)] public char[] info_property = new System.Char[4]; - [DNAFieldAttribute(4, "char", 232, "info_property_text[4]", "System.Char[]", false, 892)] + [DNAArrayAttribute(4, "char", 232, "info_property_text[4]", "System.Char[]", 4, 892)] public char[] info_property_text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 233, "info_operator[4]", "System.Char[]", false, 896)] + [DNAArrayAttribute(4, "char", 233, "info_operator[4]", "System.Char[]", 4, 896)] public char[] info_operator = new System.Char[4]; - [DNAFieldAttribute(4, "char", 234, "info_operator_text[4]", "System.Char[]", false, 900)] + [DNAArrayAttribute(4, "char", 234, "info_operator_text[4]", "System.Char[]", 4, 900)] public char[] info_operator_text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 235, "paint_curve_pivot[4]", "System.Char[]", false, 904)] + [DNAArrayAttribute(4, "char", 235, "paint_curve_pivot[4]", "System.Char[]", 4, 904)] public char[] paint_curve_pivot = new System.Char[4]; - [DNAFieldAttribute(4, "char", 236, "paint_curve_handle[4]", "System.Char[]", false, 908)] + [DNAArrayAttribute(4, "char", 236, "paint_curve_handle[4]", "System.Char[]", 4, 908)] public char[] paint_curve_handle = new System.Char[4]; - [DNAFieldAttribute(4, "char", 237, "metadatabg[4]", "System.Char[]", false, 912)] + [DNAArrayAttribute(4, "char", 237, "metadatabg[4]", "System.Char[]", 4, 912)] public char[] metadatabg = new System.Char[4]; - [DNAFieldAttribute(4, "char", 238, "metadatatext[4]", "System.Char[]", false, 916)] + [DNAArrayAttribute(4, "char", 238, "metadatatext[4]", "System.Char[]", 4, 916)] public char[] metadatatext = new System.Char[4]; public ThemeSpace() { this.back = default; diff --git a/BlendFile/DNA/ThemeStripColor.cs b/BlendFile/DNA/ThemeStripColor.cs index 9405142..bbb3f5a 100644 --- a/BlendFile/DNA/ThemeStripColor.cs +++ b/BlendFile/DNA/ThemeStripColor.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(996, "ThemeStripColor", 4)] public class ThemeStripColor { - [DNAFieldAttribute(4, "char", 0, "color[4]", "System.Char[]", false, 0)] + [DNAArrayAttribute(4, "char", 0, "color[4]", "System.Char[]", 4, 0)] public char[] color = new System.Char[4]; public ThemeStripColor() { this.color = default; diff --git a/BlendFile/DNA/ThemeUI.cs b/BlendFile/DNA/ThemeUI.cs index c57f4c9..3dfbf70 100644 --- a/BlendFile/DNA/ThemeUI.cs +++ b/BlendFile/DNA/ThemeUI.cs @@ -55,73 +55,73 @@ namespace BlendFile.DNA { public uiWidgetColors wcol_pie_menu; [DNAFieldAttribute(48, "uiWidgetStateColors", 20, "wcol_state", "uiWidgetStateColors", false, 760)] public uiWidgetStateColors wcol_state; - [DNAFieldAttribute(4, "char", 21, "widget_emboss[4]", "System.Char[]", false, 808)] + [DNAArrayAttribute(4, "char", 21, "widget_emboss[4]", "System.Char[]", 4, 808)] public char[] widget_emboss = new System.Char[4]; [DNAFieldAttribute(4, "float", 22, "menu_shadow_fac", "float", false, 812)] public float menu_shadow_fac; [DNAFieldAttribute(2, "short", 23, "menu_shadow_width", "short", false, 816)] public short menu_shadow_width; - [DNAFieldAttribute(4, "char", 24, "editor_border[4]", "System.Char[]", false, 818)] + [DNAArrayAttribute(4, "char", 24, "editor_border[4]", "System.Char[]", 4, 818)] public char[] editor_border = new System.Char[4]; - [DNAFieldAttribute(4, "char", 25, "editor_outline[4]", "System.Char[]", false, 822)] + [DNAArrayAttribute(4, "char", 25, "editor_outline[4]", "System.Char[]", 4, 822)] public char[] editor_outline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 26, "editor_outline_active[4]", "System.Char[]", false, 826)] + [DNAArrayAttribute(4, "char", 26, "editor_outline_active[4]", "System.Char[]", 4, 826)] public char[] editor_outline_active = new System.Char[4]; - [DNAFieldAttribute(4, "char", 27, "transparent_checker_primary[4]", "System.Char[]", false, 830)] + [DNAArrayAttribute(4, "char", 27, "transparent_checker_primary[4]", "System.Char[]", 4, 830)] public char[] transparent_checker_primary = new System.Char[4]; - [DNAFieldAttribute(4, "char", 28, "transparent_checker_secondary[4]", "System.Char[]", false, 834)] + [DNAArrayAttribute(4, "char", 28, "transparent_checker_secondary[4]", "System.Char[]", 4, 834)] public char[] transparent_checker_secondary = new System.Char[4]; [DNAFieldAttribute(1, "char", 29, "transparent_checker_size", "char", false, 838)] public char transparent_checker_size; - [DNAFieldAttribute(1, "char", 30, "_pad1[1]", "System.Char[]", false, 839)] + [DNAArrayAttribute(1, "char", 30, "_pad1[1]", "System.Char[]", 1, 839)] public char[] _pad1 = new System.Char[1]; [DNAFieldAttribute(4, "float", 31, "icon_alpha", "float", false, 840)] public float icon_alpha; [DNAFieldAttribute(4, "float", 32, "icon_saturation", "float", false, 844)] public float icon_saturation; - [DNAFieldAttribute(4, "char", 33, "widget_text_cursor[4]", "System.Char[]", false, 848)] + [DNAArrayAttribute(4, "char", 33, "widget_text_cursor[4]", "System.Char[]", 4, 848)] public char[] widget_text_cursor = new System.Char[4]; - [DNAFieldAttribute(4, "char", 34, "xaxis[4]", "System.Char[]", false, 852)] + [DNAArrayAttribute(4, "char", 34, "xaxis[4]", "System.Char[]", 4, 852)] public char[] xaxis = new System.Char[4]; - [DNAFieldAttribute(4, "char", 35, "yaxis[4]", "System.Char[]", false, 856)] + [DNAArrayAttribute(4, "char", 35, "yaxis[4]", "System.Char[]", 4, 856)] public char[] yaxis = new System.Char[4]; - [DNAFieldAttribute(4, "char", 36, "zaxis[4]", "System.Char[]", false, 860)] + [DNAArrayAttribute(4, "char", 36, "zaxis[4]", "System.Char[]", 4, 860)] public char[] zaxis = new System.Char[4]; - [DNAFieldAttribute(4, "char", 37, "gizmo_hi[4]", "System.Char[]", false, 864)] + [DNAArrayAttribute(4, "char", 37, "gizmo_hi[4]", "System.Char[]", 4, 864)] public char[] gizmo_hi = new System.Char[4]; - [DNAFieldAttribute(4, "char", 38, "gizmo_primary[4]", "System.Char[]", false, 868)] + [DNAArrayAttribute(4, "char", 38, "gizmo_primary[4]", "System.Char[]", 4, 868)] public char[] gizmo_primary = new System.Char[4]; - [DNAFieldAttribute(4, "char", 39, "gizmo_secondary[4]", "System.Char[]", false, 872)] + [DNAArrayAttribute(4, "char", 39, "gizmo_secondary[4]", "System.Char[]", 4, 872)] public char[] gizmo_secondary = new System.Char[4]; - [DNAFieldAttribute(4, "char", 40, "gizmo_view_align[4]", "System.Char[]", false, 876)] + [DNAArrayAttribute(4, "char", 40, "gizmo_view_align[4]", "System.Char[]", 4, 876)] public char[] gizmo_view_align = new System.Char[4]; - [DNAFieldAttribute(4, "char", 41, "gizmo_a[4]", "System.Char[]", false, 880)] + [DNAArrayAttribute(4, "char", 41, "gizmo_a[4]", "System.Char[]", 4, 880)] public char[] gizmo_a = new System.Char[4]; - [DNAFieldAttribute(4, "char", 42, "gizmo_b[4]", "System.Char[]", false, 884)] + [DNAArrayAttribute(4, "char", 42, "gizmo_b[4]", "System.Char[]", 4, 884)] public char[] gizmo_b = new System.Char[4]; - [DNAFieldAttribute(4, "char", 43, "icon_scene[4]", "System.Char[]", false, 888)] + [DNAArrayAttribute(4, "char", 43, "icon_scene[4]", "System.Char[]", 4, 888)] public char[] icon_scene = new System.Char[4]; - [DNAFieldAttribute(4, "char", 44, "icon_collection[4]", "System.Char[]", false, 892)] + [DNAArrayAttribute(4, "char", 44, "icon_collection[4]", "System.Char[]", 4, 892)] public char[] icon_collection = new System.Char[4]; - [DNAFieldAttribute(4, "char", 45, "icon_object[4]", "System.Char[]", false, 896)] + [DNAArrayAttribute(4, "char", 45, "icon_object[4]", "System.Char[]", 4, 896)] public char[] icon_object = new System.Char[4]; - [DNAFieldAttribute(4, "char", 46, "icon_object_data[4]", "System.Char[]", false, 900)] + [DNAArrayAttribute(4, "char", 46, "icon_object_data[4]", "System.Char[]", 4, 900)] public char[] icon_object_data = new System.Char[4]; - [DNAFieldAttribute(4, "char", 47, "icon_modifier[4]", "System.Char[]", false, 904)] + [DNAArrayAttribute(4, "char", 47, "icon_modifier[4]", "System.Char[]", 4, 904)] public char[] icon_modifier = new System.Char[4]; - [DNAFieldAttribute(4, "char", 48, "icon_shading[4]", "System.Char[]", false, 908)] + [DNAArrayAttribute(4, "char", 48, "icon_shading[4]", "System.Char[]", 4, 908)] public char[] icon_shading = new System.Char[4]; - [DNAFieldAttribute(4, "char", 49, "icon_folder[4]", "System.Char[]", false, 912)] + [DNAArrayAttribute(4, "char", 49, "icon_folder[4]", "System.Char[]", 4, 912)] public char[] icon_folder = new System.Char[4]; - [DNAFieldAttribute(4, "char", 50, "icon_autokey[4]", "System.Char[]", false, 916)] + [DNAArrayAttribute(4, "char", 50, "icon_autokey[4]", "System.Char[]", 4, 916)] public char[] icon_autokey = new System.Char[4]; - [DNAFieldAttribute(4, "char", 51, "_pad3[4]", "System.Char[]", false, 920)] + [DNAArrayAttribute(4, "char", 51, "_pad3[4]", "System.Char[]", 4, 920)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(4, "float", 52, "icon_border_intensity", "float", false, 924)] public float icon_border_intensity; [DNAFieldAttribute(4, "float", 53, "panel_roundness", "float", false, 928)] public float panel_roundness; - [DNAFieldAttribute(4, "char", 54, "_pad2[4]", "System.Char[]", false, 932)] + [DNAArrayAttribute(4, "char", 54, "_pad2[4]", "System.Char[]", 4, 932)] public char[] _pad2 = new System.Char[4]; public ThemeUI() { this.wcol_regular = default; diff --git a/BlendFile/DNA/ThemeWireColor.cs b/BlendFile/DNA/ThemeWireColor.cs index 797a567..3be7aa6 100644 --- a/BlendFile/DNA/ThemeWireColor.cs +++ b/BlendFile/DNA/ThemeWireColor.cs @@ -15,15 +15,15 @@ namespace BlendFile.DNA { [DNAClassAttribute(64, "ThemeWireColor", 16)] public class ThemeWireColor { - [DNAFieldAttribute(4, "char", 0, "solid[4]", "System.Char[]", false, 0)] + [DNAArrayAttribute(4, "char", 0, "solid[4]", "System.Char[]", 4, 0)] public char[] solid = new System.Char[4]; - [DNAFieldAttribute(4, "char", 1, "select[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "select[4]", "System.Char[]", 4, 4)] public char[] select = new System.Char[4]; - [DNAFieldAttribute(4, "char", 2, "active[4]", "System.Char[]", false, 8)] + [DNAArrayAttribute(4, "char", 2, "active[4]", "System.Char[]", 4, 8)] public char[] active = new System.Char[4]; [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 12)] public short flag; - [DNAFieldAttribute(2, "char", 4, "_pad0[2]", "System.Char[]", false, 14)] + [DNAArrayAttribute(2, "char", 4, "_pad0[2]", "System.Char[]", 2, 14)] public char[] _pad0 = new System.Char[2]; public ThemeWireColor() { this.solid = default; diff --git a/BlendFile/DNA/ThickGpencilModifierData.cs b/BlendFile/DNA/ThickGpencilModifierData.cs index a516f01..ab7cb70 100644 --- a/BlendFile/DNA/ThickGpencilModifierData.cs +++ b/BlendFile/DNA/ThickGpencilModifierData.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "materialname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "materialname[64]", "System.Char[]", 64, 176)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] + [DNAArrayAttribute(64, "char", 4, "vgname[64]", "System.Char[]", 64, 240)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public int thickness; [DNAFieldAttribute(4, "int", 9, "layer_pass", "int", false, 320)] public int layer_pass; - [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 324)] + [DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, 324)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "CurveMapping", 11, "*curve_thickness", "CurveMapping", true, 328)] public CurveMapping curve_thickness; diff --git a/BlendFile/DNA/TimeGpencilModifierData.cs b/BlendFile/DNA/TimeGpencilModifierData.cs index d1e6cdb..bf2f771 100644 --- a/BlendFile/DNA/TimeGpencilModifierData.cs +++ b/BlendFile/DNA/TimeGpencilModifierData.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public GpencilModifierData modifier; [DNAFieldAttribute(8, "Material", 1, "*material", "Material", true, 104)] public Material material; - [DNAFieldAttribute(64, "char", 2, "layername[64]", "System.Char[]", false, 112)] + [DNAArrayAttribute(64, "char", 2, "layername[64]", "System.Char[]", 64, 112)] public char[] layername = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "layer_pass", "int", false, 176)] public int layer_pass; @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public int sfra; [DNAFieldAttribute(4, "int", 9, "efra", "int", false, 200)] public int efra; - [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 204)] + [DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, 204)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "TimeGpencilModifierSegment", 11, "*segments", "TimeGpencilModifierSegment", true, 208)] public TimeGpencilModifierSegment segments; diff --git a/BlendFile/DNA/TimeGpencilModifierSegment.cs b/BlendFile/DNA/TimeGpencilModifierSegment.cs index 143c934..26f350f 100644 --- a/BlendFile/DNA/TimeGpencilModifierSegment.cs +++ b/BlendFile/DNA/TimeGpencilModifierSegment.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(279, "TimeGpencilModifierSegment", 88)] public class TimeGpencilModifierSegment { - [DNAFieldAttribute(64, "char", 0, "name[64]", "System.Char[]", false, 0)] + [DNAArrayAttribute(64, "char", 0, "name[64]", "System.Char[]", 64, 0)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "TimeGpencilModifierData", 1, "*gpmd", "TimeGpencilModifierData", true, 64)] public TimeGpencilModifierData gpmd; diff --git a/BlendFile/DNA/TimeMarker.cs b/BlendFile/DNA/TimeMarker.cs index 0963cd4..6c47c15 100644 --- a/BlendFile/DNA/TimeMarker.cs +++ b/BlendFile/DNA/TimeMarker.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public TimeMarker prev; [DNAFieldAttribute(4, "int", 2, "frame", "int", false, 16)] public int frame; - [DNAFieldAttribute(64, "char", 3, "name[64]", "System.Char[]", false, 20)] + [DNAArrayAttribute(64, "char", 3, "name[64]", "System.Char[]", 64, 20)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "flag", "int", false, 84)] public int flag; diff --git a/BlendFile/DNA/TintGpencilModifierData.cs b/BlendFile/DNA/TintGpencilModifierData.cs index c482a38..d742a03 100644 --- a/BlendFile/DNA/TintGpencilModifierData.cs +++ b/BlendFile/DNA/TintGpencilModifierData.cs @@ -21,11 +21,11 @@ namespace BlendFile.DNA { public Object @object; [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 112)] public Material material; - [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 3, "layername[64]", "System.Char[]", 64, 120)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "materialname[64]", "System.Char[]", false, 184)] + [DNAArrayAttribute(64, "char", 4, "materialname[64]", "System.Char[]", 64, 184)] public char[] materialname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 5, "vgname[64]", "System.Char[]", false, 248)] + [DNAArrayAttribute(64, "char", 5, "vgname[64]", "System.Char[]", 64, 248)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 6, "pass_index", "int", false, 312)] public int pass_index; @@ -39,7 +39,7 @@ namespace BlendFile.DNA { public float factor; [DNAFieldAttribute(4, "float", 11, "radius", "float", false, 332)] public float radius; - [DNAFieldAttribute(12, "float", 12, "rgb[3]", "System.Single[]", false, 336)] + [DNAArrayAttribute(12, "float", 12, "rgb[3]", "System.Single[]", 3, 336)] public float[] rgb = new System.Single[3]; [DNAFieldAttribute(4, "int", 13, "type", "int", false, 348)] public int type; diff --git a/BlendFile/DNA/ToolSettings.cs b/BlendFile/DNA/ToolSettings.cs index 629a087..99896ec 100644 --- a/BlendFile/DNA/ToolSettings.cs +++ b/BlendFile/DNA/ToolSettings.cs @@ -59,7 +59,7 @@ namespace BlendFile.DNA { public int uvcalc_iterations; [DNAFieldAttribute(4, "float", 21, "uvcalc_weight_factor", "float", false, 112)] public float uvcalc_weight_factor; - [DNAFieldAttribute(64, "char", 22, "uvcalc_weight_group[64]", "System.Char[]", false, 116)] + [DNAArrayAttribute(64, "char", 22, "uvcalc_weight_group[64]", "System.Char[]", 64, 116)] public char[] uvcalc_weight_group = new System.Char[64]; [DNAFieldAttribute(2, "short", 23, "autoik_chainlen", "short", false, 180)] public short autoik_chainlen; @@ -79,7 +79,7 @@ namespace BlendFile.DNA { public char gpencil_selectmode_edit; [DNAFieldAttribute(1, "char", 31, "gpencil_selectmode_sculpt", "char", false, 193)] public char gpencil_selectmode_sculpt; - [DNAFieldAttribute(6, "char", 32, "_pad0[6]", "System.Char[]", false, 194)] + [DNAArrayAttribute(6, "char", 32, "_pad0[6]", "System.Char[]", 6, 194)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(80, "GP_Sculpt_Settings", 33, "gp_sculpt", "GP_Sculpt_Settings", false, 200)] public GP_Sculpt_Settings gp_sculpt; @@ -129,7 +129,7 @@ namespace BlendFile.DNA { public short snap_flag_anim; [DNAFieldAttribute(2, "short", 56, "snap_uv_flag", "short", false, 736)] public short snap_uv_flag; - [DNAFieldAttribute(4, "char", 57, "_pad[4]", "System.Char[]", false, 738)] + [DNAArrayAttribute(4, "char", 57, "_pad[4]", "System.Char[]", 4, 738)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(1, "char", 58, "snap_target", "char", false, 742)] public char snap_target; @@ -167,7 +167,7 @@ namespace BlendFile.DNA { public char uv_sculpt_settings; [DNAFieldAttribute(1, "char", 75, "workspace_tool_type", "char", false, 760)] public char workspace_tool_type; - [DNAFieldAttribute(1, "char", 76, "_pad5[1]", "System.Char[]", false, 761)] + [DNAArrayAttribute(1, "char", 76, "_pad5[1]", "System.Char[]", 1, 761)] public char[] _pad5 = new System.Char[1]; [DNAFieldAttribute(2, "short", 77, "sculpt_paint_settings", "short", false, 762)] public short sculpt_paint_settings; @@ -183,9 +183,9 @@ namespace BlendFile.DNA { public CurvePaintSettings curve_paint_settings; [DNAFieldAttribute(40, "MeshStatVis", 83, "statvis", "MeshStatVis", false, 976)] public MeshStatVis statvis; - [DNAFieldAttribute(12, "float", 84, "normal_vector[3]", "System.Single[]", false, 1016)] + [DNAArrayAttribute(12, "float", 84, "normal_vector[3]", "System.Single[]", 3, 1016)] public float[] normal_vector = new System.Single[3]; - [DNAFieldAttribute(4, "char", 85, "_pad6[4]", "System.Char[]", false, 1028)] + [DNAArrayAttribute(4, "char", 85, "_pad6[4]", "System.Char[]", 4, 1028)] public char[] _pad6 = new System.Char[4]; [DNAFieldAttribute(8, "CurveProfile", 86, "*custom_bevel_profile_preset", "CurveProfile", true, 1032)] public CurveProfile custom_bevel_profile_preset; @@ -201,7 +201,7 @@ namespace BlendFile.DNA { public char plane_orient; [DNAFieldAttribute(1, "char", 92, "use_plane_axis_auto", "char", false, 1053)] public char use_plane_axis_auto; - [DNAFieldAttribute(2, "char", 93, "_pad7[2]", "System.Char[]", false, 1054)] + [DNAArrayAttribute(2, "char", 93, "_pad7[2]", "System.Char[]", 2, 1054)] public char[] _pad7 = new System.Char[2]; [DNAFieldAttribute(4, "float", 94, "snap_angle_increment_2d", "float", false, 1056)] public float snap_angle_increment_2d; diff --git a/BlendFile/DNA/TransformOrientation.cs b/BlendFile/DNA/TransformOrientation.cs index ec6c954..d015cf6 100644 --- a/BlendFile/DNA/TransformOrientation.cs +++ b/BlendFile/DNA/TransformOrientation.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public TransformOrientation next; [DNAFieldAttribute(8, "TransformOrientation", 1, "*prev", "TransformOrientation", true, 8)] public TransformOrientation prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(36, "float", 3, "mat[3][3]", "System.Single[,]", false, 80)] + [DNAArrayAttribute(36, "float", 3, "mat[3][3]", "System.Single[,]", 6, 80)] public float[,] mat = new System.Single[3,3]; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 116)] public char[] _pad = new System.Char[4]; public TransformOrientation() { this.next = default; diff --git a/BlendFile/DNA/TransformOrientationSlot.cs b/BlendFile/DNA/TransformOrientationSlot.cs index 5ca3d6b..daf03c2 100644 --- a/BlendFile/DNA/TransformOrientationSlot.cs +++ b/BlendFile/DNA/TransformOrientationSlot.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public int index_custom; [DNAFieldAttribute(1, "char", 2, "flag", "char", false, 8)] public char flag; - [DNAFieldAttribute(7, "char", 3, "_pad0[7]", "System.Char[]", false, 9)] + [DNAArrayAttribute(7, "char", 3, "_pad0[7]", "System.Char[]", 7, 9)] public char[] _pad0 = new System.Char[7]; public TransformOrientationSlot() { this.type = default; diff --git a/BlendFile/DNA/UVProjectModifierData.cs b/BlendFile/DNA/UVProjectModifierData.cs index a800e50..c986eea 100644 --- a/BlendFile/DNA/UVProjectModifierData.cs +++ b/BlendFile/DNA/UVProjectModifierData.cs @@ -13,27 +13,27 @@ using System; namespace BlendFile.DNA { using BlendFile; - [DNAClassAttribute(456, "UVProjectModifierData", 296)] + [DNAClassAttribute(456, "UVProjectModifierData", 11816)] public class UVProjectModifierData { [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(80, "Object", 1, "*projectors[10]", "Object[]", true, 120)] + [DNAArrayAttribute(11600, "Object", 1, "*projectors[10]", "Object[]", 10, 120)] public Object[] projectors = new Object[10]; - [DNAFieldAttribute(4, "char", 2, "_pad2[4]", "System.Char[]", false, 200)] + [DNAArrayAttribute(4, "char", 2, "_pad2[4]", "System.Char[]", 4, 11720)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(4, "int", 3, "num_projectors", "int", false, 204)] + [DNAFieldAttribute(4, "int", 3, "num_projectors", "int", false, 11724)] public int num_projectors; - [DNAFieldAttribute(4, "float", 4, "aspectx", "float", false, 208)] + [DNAFieldAttribute(4, "float", 4, "aspectx", "float", false, 11728)] public float aspectx; - [DNAFieldAttribute(4, "float", 5, "aspecty", "float", false, 212)] + [DNAFieldAttribute(4, "float", 5, "aspecty", "float", false, 11732)] public float aspecty; - [DNAFieldAttribute(4, "float", 6, "scalex", "float", false, 216)] + [DNAFieldAttribute(4, "float", 6, "scalex", "float", false, 11736)] public float scalex; - [DNAFieldAttribute(4, "float", 7, "scaley", "float", false, 220)] + [DNAFieldAttribute(4, "float", 7, "scaley", "float", false, 11740)] public float scaley; - [DNAFieldAttribute(68, "char", 8, "uvlayer_name[68]", "System.Char[]", false, 224)] + [DNAArrayAttribute(68, "char", 8, "uvlayer_name[68]", "System.Char[]", 68, 11744)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(4, "int", 9, "uvlayer_tmp", "int", false, 292)] + [DNAFieldAttribute(4, "int", 9, "uvlayer_tmp", "int", false, 11812)] public int uvlayer_tmp; public UVProjectModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/UVWarpModifierData.cs b/BlendFile/DNA/UVWarpModifierData.cs index 6bf09df..4b2bb8b 100644 --- a/BlendFile/DNA/UVWarpModifierData.cs +++ b/BlendFile/DNA/UVWarpModifierData.cs @@ -23,27 +23,27 @@ namespace BlendFile.DNA { public char axis_v; [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 122)] public short flag; - [DNAFieldAttribute(8, "float", 4, "center[2]", "System.Single[]", false, 124)] + [DNAArrayAttribute(8, "float", 4, "center[2]", "System.Single[]", 2, 124)] public float[] center = new System.Single[2]; - [DNAFieldAttribute(8, "float", 5, "offset[2]", "System.Single[]", false, 132)] + [DNAArrayAttribute(8, "float", 5, "offset[2]", "System.Single[]", 2, 132)] public float[] offset = new System.Single[2]; - [DNAFieldAttribute(8, "float", 6, "scale[2]", "System.Single[]", false, 140)] + [DNAArrayAttribute(8, "float", 6, "scale[2]", "System.Single[]", 2, 140)] public float[] scale = new System.Single[2]; [DNAFieldAttribute(4, "float", 7, "rotation", "float", false, 148)] public float rotation; [DNAFieldAttribute(8, "Object", 8, "*object_src", "Object", true, 152)] public Object object_src; - [DNAFieldAttribute(64, "char", 9, "bone_src[64]", "System.Char[]", false, 160)] + [DNAArrayAttribute(64, "char", 9, "bone_src[64]", "System.Char[]", 64, 160)] public char[] bone_src = new System.Char[64]; [DNAFieldAttribute(8, "Object", 10, "*object_dst", "Object", true, 224)] public Object object_dst; - [DNAFieldAttribute(64, "char", 11, "bone_dst[64]", "System.Char[]", false, 232)] + [DNAArrayAttribute(64, "char", 11, "bone_dst[64]", "System.Char[]", 64, 232)] public char[] bone_dst = new System.Char[64]; - [DNAFieldAttribute(64, "char", 12, "vgroup_name[64]", "System.Char[]", false, 296)] + [DNAArrayAttribute(64, "char", 12, "vgroup_name[64]", "System.Char[]", 64, 296)] public char[] vgroup_name = new System.Char[64]; - [DNAFieldAttribute(68, "char", 13, "uvlayer_name[68]", "System.Char[]", false, 360)] + [DNAArrayAttribute(68, "char", 13, "uvlayer_name[68]", "System.Char[]", 68, 360)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 14, "_pad[4]", "System.Char[]", false, 428)] + [DNAArrayAttribute(4, "char", 14, "_pad[4]", "System.Char[]", 4, 428)] public char[] _pad = new System.Char[4]; public UVWarpModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/UnifiedPaintSettings.cs b/BlendFile/DNA/UnifiedPaintSettings.cs index 95cbccc..4ef8212 100644 --- a/BlendFile/DNA/UnifiedPaintSettings.cs +++ b/BlendFile/DNA/UnifiedPaintSettings.cs @@ -23,23 +23,23 @@ namespace BlendFile.DNA { public float alpha; [DNAFieldAttribute(4, "float", 3, "weight", "float", false, 12)] public float weight; - [DNAFieldAttribute(12, "float", 4, "rgb[3]", "System.Single[]", false, 16)] + [DNAArrayAttribute(12, "float", 4, "rgb[3]", "System.Single[]", 3, 16)] public float[] rgb = new System.Single[3]; - [DNAFieldAttribute(12, "float", 5, "secondary_rgb[3]", "System.Single[]", false, 28)] + [DNAArrayAttribute(12, "float", 5, "secondary_rgb[3]", "System.Single[]", 3, 28)] public float[] secondary_rgb = new System.Single[3]; [DNAFieldAttribute(4, "int", 6, "input_samples", "int", false, 40)] public int input_samples; [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 44)] public int flag; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 48)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 48)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(8, "float", 9, "last_rake[2]", "System.Single[]", false, 52)] + [DNAArrayAttribute(8, "float", 9, "last_rake[2]", "System.Single[]", 2, 52)] public float[] last_rake = new System.Single[2]; [DNAFieldAttribute(4, "float", 10, "last_rake_angle", "float", false, 60)] public float last_rake_angle; [DNAFieldAttribute(4, "int", 11, "last_stroke_valid", "int", false, 64)] public int last_stroke_valid; - [DNAFieldAttribute(12, "float", 12, "average_stroke_accum[3]", "System.Single[]", false, 68)] + [DNAArrayAttribute(12, "float", 12, "average_stroke_accum[3]", "System.Single[]", 3, 68)] public float[] average_stroke_accum = new System.Single[3]; [DNAFieldAttribute(4, "int", 13, "average_stroke_counter", "int", false, 80)] public int average_stroke_counter; @@ -59,11 +59,11 @@ namespace BlendFile.DNA { public char draw_anchored; [DNAFieldAttribute(1, "char", 21, "do_linear_conversion", "char", false, 103)] public char do_linear_conversion; - [DNAFieldAttribute(12, "float", 22, "last_location[3]", "System.Single[]", false, 104)] + [DNAArrayAttribute(12, "float", 22, "last_location[3]", "System.Single[]", 3, 104)] public float[] last_location = new System.Single[3]; [DNAFieldAttribute(4, "int", 23, "last_hit", "int", false, 116)] public int last_hit; - [DNAFieldAttribute(8, "float", 24, "anchored_initial_mouse[2]", "System.Single[]", false, 120)] + [DNAArrayAttribute(8, "float", 24, "anchored_initial_mouse[2]", "System.Single[]", 2, 120)] public float[] anchored_initial_mouse = new System.Single[2]; [DNAFieldAttribute(4, "float", 25, "pixel_radius", "float", false, 128)] public float pixel_radius; @@ -73,9 +73,9 @@ namespace BlendFile.DNA { public float start_pixel_radius; [DNAFieldAttribute(4, "float", 28, "size_pressure_value", "float", false, 140)] public float size_pressure_value; - [DNAFieldAttribute(8, "float", 29, "tex_mouse[2]", "System.Single[]", false, 144)] + [DNAArrayAttribute(8, "float", 29, "tex_mouse[2]", "System.Single[]", 2, 144)] public float[] tex_mouse = new System.Single[2]; - [DNAFieldAttribute(8, "float", 30, "mask_tex_mouse[2]", "System.Single[]", false, 152)] + [DNAArrayAttribute(8, "float", 30, "mask_tex_mouse[2]", "System.Single[]", 2, 152)] public float[] mask_tex_mouse = new System.Single[2]; [DNAFieldAttribute(8, "ColorSpace", 31, "*colorspace", "ColorSpace", true, 160)] public ColorSpace colorspace; diff --git a/BlendFile/DNA/UnitSettings.cs b/BlendFile/DNA/UnitSettings.cs index 26bfd2c..d5ccc99 100644 --- a/BlendFile/DNA/UnitSettings.cs +++ b/BlendFile/DNA/UnitSettings.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public char time_unit; [DNAFieldAttribute(1, "char", 7, "temperature_unit", "char", false, 11)] public char temperature_unit; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; public UnitSettings() { this.scale_length = default; diff --git a/BlendFile/DNA/UserDef.cs b/BlendFile/DNA/UserDef.cs index c8fe70c..627f82b 100644 --- a/BlendFile/DNA/UserDef.cs +++ b/BlendFile/DNA/UserDef.cs @@ -31,29 +31,29 @@ namespace BlendFile.DNA { public char mouse_emulate_3_button_modifier; [DNAFieldAttribute(1, "char", 7, "trackpad_scroll_direction", "char", false, 19)] public char trackpad_scroll_direction; - [DNAFieldAttribute(768, "char", 8, "tempdir[768]", "System.Char[]", false, 20)] + [DNAArrayAttribute(768, "char", 8, "tempdir[768]", "System.Char[]", 768, 20)] public char[] tempdir = new System.Char[768]; - [DNAFieldAttribute(768, "char", 9, "fontdir[768]", "System.Char[]", false, 788)] + [DNAArrayAttribute(768, "char", 9, "fontdir[768]", "System.Char[]", 768, 788)] public char[] fontdir = new System.Char[768]; - [DNAFieldAttribute(1024, "char", 10, "renderdir[1024]", "System.Char[]", false, 1556)] + [DNAArrayAttribute(1024, "char", 10, "renderdir[1024]", "System.Char[]", 1024, 1556)] public char[] renderdir = new System.Char[1024]; - [DNAFieldAttribute(768, "char", 11, "render_cachedir[768]", "System.Char[]", false, 2580)] + [DNAArrayAttribute(768, "char", 11, "render_cachedir[768]", "System.Char[]", 768, 2580)] public char[] render_cachedir = new System.Char[768]; - [DNAFieldAttribute(768, "char", 12, "textudir[768]", "System.Char[]", false, 3348)] + [DNAArrayAttribute(768, "char", 12, "textudir[768]", "System.Char[]", 768, 3348)] public char[] textudir = new System.Char[768]; - [DNAFieldAttribute(768, "char", 13, "pythondir[768]", "System.Char[]", false, 4116)] + [DNAArrayAttribute(768, "char", 13, "pythondir[768]", "System.Char[]", 768, 4116)] public char[] pythondir = new System.Char[768]; - [DNAFieldAttribute(768, "char", 14, "sounddir[768]", "System.Char[]", false, 4884)] + [DNAArrayAttribute(768, "char", 14, "sounddir[768]", "System.Char[]", 768, 4884)] public char[] sounddir = new System.Char[768]; - [DNAFieldAttribute(768, "char", 15, "i18ndir[768]", "System.Char[]", false, 5652)] + [DNAArrayAttribute(768, "char", 15, "i18ndir[768]", "System.Char[]", 768, 5652)] public char[] i18ndir = new System.Char[768]; - [DNAFieldAttribute(1024, "char", 16, "image_editor[1024]", "System.Char[]", false, 6420)] + [DNAArrayAttribute(1024, "char", 16, "image_editor[1024]", "System.Char[]", 1024, 6420)] public char[] image_editor = new System.Char[1024]; - [DNAFieldAttribute(1024, "char", 17, "text_editor[1024]", "System.Char[]", false, 7444)] + [DNAArrayAttribute(1024, "char", 17, "text_editor[1024]", "System.Char[]", 1024, 7444)] public char[] text_editor = new System.Char[1024]; - [DNAFieldAttribute(256, "char", 18, "text_editor_args[256]", "System.Char[]", false, 8468)] + [DNAArrayAttribute(256, "char", 18, "text_editor_args[256]", "System.Char[]", 256, 8468)] public char[] text_editor_args = new System.Char[256]; - [DNAFieldAttribute(1024, "char", 19, "anim_player[1024]", "System.Char[]", false, 8724)] + [DNAArrayAttribute(1024, "char", 19, "anim_player[1024]", "System.Char[]", 1024, 8724)] public char[] anim_player = new System.Char[1024]; [DNAFieldAttribute(4, "int", 20, "anim_player_preset", "int", false, 9748)] public int anim_player_preset; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { public short versions; [DNAFieldAttribute(2, "short", 24, "dbl_click_time", "short", false, 9758)] public short dbl_click_time; - [DNAFieldAttribute(3, "char", 25, "_pad0[3]", "System.Char[]", false, 9760)] + [DNAArrayAttribute(3, "char", 25, "_pad0[3]", "System.Char[]", 3, 9760)] public char[] _pad0 = new System.Char[3]; [DNAFieldAttribute(1, "char", 26, "mini_axis_type", "char", false, 9763)] public char mini_axis_type; @@ -75,7 +75,7 @@ namespace BlendFile.DNA { public char uiflag2; [DNAFieldAttribute(1, "char", 29, "gpu_flag", "char", false, 9769)] public char gpu_flag; - [DNAFieldAttribute(6, "char", 30, "_pad8[6]", "System.Char[]", false, 9770)] + [DNAArrayAttribute(6, "char", 30, "_pad8[6]", "System.Char[]", 6, 9770)] public char[] _pad8 = new System.Char[6]; [DNAFieldAttribute(1, "char", 31, "app_flag", "char", false, 9776)] public char app_flag; @@ -119,7 +119,7 @@ namespace BlendFile.DNA { public short menuthreshold1; [DNAFieldAttribute(2, "short", 51, "menuthreshold2", "short", false, 9838)] public short menuthreshold2; - [DNAFieldAttribute(64, "char", 52, "app_template[64]", "System.Char[]", false, 9840)] + [DNAArrayAttribute(64, "char", 52, "app_template[64]", "System.Char[]", 64, 9840)] public char[] app_template = new System.Char[64]; [DNAFieldAttribute(16, "ListBase", 53, "themes", "ListBase", false, 9904)] public ListBase themes; @@ -145,7 +145,7 @@ namespace BlendFile.DNA { public ListBase extension_repos; [DNAFieldAttribute(16, "ListBase", 64, "asset_shelves_settings", "ListBase", false, 10080)] public ListBase asset_shelves_settings; - [DNAFieldAttribute(64, "char", 65, "keyconfigstr[64]", "System.Char[]", false, 10096)] + [DNAArrayAttribute(64, "char", 65, "keyconfigstr[64]", "System.Char[]", 64, 10096)] public char[] keyconfigstr = new System.Char[64]; [DNAFieldAttribute(2, "short", 66, "active_asset_library", "short", false, 10160)] public short active_asset_library; @@ -157,7 +157,7 @@ namespace BlendFile.DNA { public byte network_timeout; [DNAFieldAttribute(1, "uchar", 70, "network_connection_limit", "uchar", false, 10166)] public byte network_connection_limit; - [DNAFieldAttribute(3, "char", 71, "_pad14[3]", "System.Char[]", false, 10167)] + [DNAArrayAttribute(3, "char", 71, "_pad14[3]", "System.Char[]", 3, 10167)] public char[] _pad14 = new System.Char[3]; [DNAFieldAttribute(2, "short", 72, "undosteps", "short", false, 10170)] public short undosteps; @@ -173,11 +173,11 @@ namespace BlendFile.DNA { public short gp_eraser; [DNAFieldAttribute(2, "short", 78, "gp_settings", "short", false, 10186)] public short gp_settings; - [DNAFieldAttribute(4, "char", 79, "_pad13[4]", "System.Char[]", false, 10188)] + [DNAArrayAttribute(4, "char", 79, "_pad13[4]", "System.Char[]", 4, 10188)] public char[] _pad13 = new System.Char[4]; - [DNAFieldAttribute(224, "SolidLight", 80, "light_param[4]", "SolidLight[]", false, 10192)] + [DNAArrayAttribute(224, "SolidLight", 80, "light_param[4]", "SolidLight[]", 4, 10192)] public SolidLight[] light_param = new SolidLight[4]; - [DNAFieldAttribute(12, "float", 81, "light_ambient[3]", "System.Single[]", false, 10416)] + [DNAArrayAttribute(12, "float", 81, "light_ambient[3]", "System.Single[]", 3, 10416)] public float[] light_ambient = new System.Single[3]; [DNAFieldAttribute(1, "char", 82, "gizmo_flag", "char", false, 10428)] public char gizmo_flag; @@ -185,7 +185,7 @@ namespace BlendFile.DNA { public char gizmo_size; [DNAFieldAttribute(1, "char", 84, "gizmo_size_navigate_v3d", "char", false, 10430)] public char gizmo_size_navigate_v3d; - [DNAFieldAttribute(5, "char", 85, "_pad3[5]", "System.Char[]", false, 10431)] + [DNAArrayAttribute(5, "char", 85, "_pad3[5]", "System.Char[]", 5, 10431)] public char[] _pad3 = new System.Char[5]; [DNAFieldAttribute(2, "short", 86, "edit_studio_light", "short", false, 10436)] public short edit_studio_light; @@ -205,7 +205,7 @@ namespace BlendFile.DNA { public int prefetchframes; [DNAFieldAttribute(4, "float", 94, "pad_rot_angle", "float", false, 10456)] public float pad_rot_angle; - [DNAFieldAttribute(4, "char", 95, "_pad12[4]", "System.Char[]", false, 10460)] + [DNAArrayAttribute(4, "char", 95, "_pad12[4]", "System.Char[]", 4, 10460)] public char[] _pad12 = new System.Char[4]; [DNAFieldAttribute(2, "short", 96, "rvisize", "short", false, 10464)] public short rvisize; @@ -225,7 +225,7 @@ namespace BlendFile.DNA { public char ipo_new; [DNAFieldAttribute(1, "char", 104, "keyhandles_new", "char", false, 10478)] public char keyhandles_new; - [DNAFieldAttribute(4, "char", 105, "_pad11[4]", "System.Char[]", false, 10479)] + [DNAArrayAttribute(4, "char", 105, "_pad11[4]", "System.Char[]", 4, 10479)] public char[] _pad11 = new System.Char[4]; [DNAFieldAttribute(1, "char", 106, "view_frame_type", "char", false, 10483)] public char view_frame_type; @@ -239,7 +239,7 @@ namespace BlendFile.DNA { public int gpu_preferred_vendor_id; [DNAFieldAttribute(4, "int", 111, "gpu_preferred_device_id", "int", false, 10500)] public int gpu_preferred_device_id; - [DNAFieldAttribute(4, "char", 112, "_pad16[4]", "System.Char[]", false, 10504)] + [DNAArrayAttribute(4, "char", 112, "_pad16[4]", "System.Char[]", 4, 10504)] public char[] _pad16 = new System.Char[4]; [DNAFieldAttribute(2, "short", 113, "gpu_backend", "short", false, 10508)] public short gpu_backend; @@ -277,7 +277,7 @@ namespace BlendFile.DNA { public short autokey_flag; [DNAFieldAttribute(2, "short", 130, "key_insert_channels", "short", false, 10556)] public short key_insert_channels; - [DNAFieldAttribute(6, "char", 131, "_pad15[6]", "System.Char[]", false, 10558)] + [DNAArrayAttribute(6, "char", 131, "_pad15[6]", "System.Char[]", 6, 10558)] public char[] _pad15 = new System.Char[6]; [DNAFieldAttribute(2, "short", 132, "animation_flag", "short", false, 10564)] public short animation_flag; @@ -291,9 +291,9 @@ namespace BlendFile.DNA { public float view_rotate_sensitivity_trackball; [DNAFieldAttribute(776, "ColorBand", 137, "coba_weight", "ColorBand", false, 10576)] public ColorBand coba_weight; - [DNAFieldAttribute(12, "float", 138, "sculpt_paint_overlay_col[3]", "System.Single[]", false, 11352)] + [DNAArrayAttribute(12, "float", 138, "sculpt_paint_overlay_col[3]", "System.Single[]", 3, 11352)] public float[] sculpt_paint_overlay_col = new System.Single[3]; - [DNAFieldAttribute(16, "float", 139, "gpencil_new_layer_col[4]", "System.Single[]", false, 11364)] + [DNAArrayAttribute(16, "float", 139, "gpencil_new_layer_col[4]", "System.Single[]", 4, 11364)] public float[] gpencil_new_layer_col = new System.Single[4]; [DNAFieldAttribute(1, "char", 140, "drag_threshold_mouse", "char", false, 11380)] public char drag_threshold_mouse; @@ -303,9 +303,9 @@ namespace BlendFile.DNA { public char drag_threshold; [DNAFieldAttribute(1, "char", 143, "move_threshold", "char", false, 11383)] public char move_threshold; - [DNAFieldAttribute(1024, "char", 144, "font_path_ui[1024]", "System.Char[]", false, 11384)] + [DNAArrayAttribute(1024, "char", 144, "font_path_ui[1024]", "System.Char[]", 1024, 11384)] public char[] font_path_ui = new System.Char[1024]; - [DNAFieldAttribute(1024, "char", 145, "font_path_ui_mono[1024]", "System.Char[]", false, 12408)] + [DNAArrayAttribute(1024, "char", 145, "font_path_ui_mono[1024]", "System.Char[]", 1024, 12408)] public char[] font_path_ui_mono = new System.Char[1024]; [DNAFieldAttribute(4, "int", 146, "compute_device_type", "int", false, 13432)] public int compute_device_type; @@ -333,7 +333,7 @@ namespace BlendFile.DNA { public char render_display_type; [DNAFieldAttribute(1, "char", 158, "filebrowser_display_type", "char", false, 13459)] public char filebrowser_display_type; - [DNAFieldAttribute(1024, "char", 159, "sequencer_disk_cache_dir[1024]", "System.Char[]", false, 13460)] + [DNAArrayAttribute(1024, "char", 159, "sequencer_disk_cache_dir[1024]", "System.Char[]", 1024, 13460)] public char[] sequencer_disk_cache_dir = new System.Char[1024]; [DNAFieldAttribute(4, "int", 160, "sequencer_disk_cache_compression", "int", false, 14484)] public int sequencer_disk_cache_compression; @@ -347,7 +347,7 @@ namespace BlendFile.DNA { public float collection_instance_empty_size; [DNAFieldAttribute(1, "char", 165, "text_flag", "char", false, 14500)] public char text_flag; - [DNAFieldAttribute(1, "char", 166, "_pad10[1]", "System.Char[]", false, 14501)] + [DNAArrayAttribute(1, "char", 166, "_pad10[1]", "System.Char[]", 1, 14501)] public char[] _pad10 = new System.Char[1]; [DNAFieldAttribute(1, "char", 167, "file_preview_type", "char", false, 14502)] public char file_preview_type; diff --git a/BlendFile/DNA/UserDef_Experimental.cs b/BlendFile/DNA/UserDef_Experimental.cs index 4737cba..90ca3c4 100644 --- a/BlendFile/DNA/UserDef_Experimental.cs +++ b/BlendFile/DNA/UserDef_Experimental.cs @@ -59,7 +59,7 @@ namespace BlendFile.DNA { public char use_animation_baklava; [DNAFieldAttribute(1, "char", 21, "enable_new_cpu_compositor", "char", false, 21)] public char enable_new_cpu_compositor; - [DNAFieldAttribute(2, "char", 22, "_pad[2]", "System.Char[]", false, 22)] + [DNAArrayAttribute(2, "char", 22, "_pad[2]", "System.Char[]", 2, 22)] public char[] _pad = new System.Char[2]; public UserDef_Experimental() { this.use_undo_legacy = default; diff --git a/BlendFile/DNA/UserDef_Runtime.cs b/BlendFile/DNA/UserDef_Runtime.cs index 1085c03..acb6861 100644 --- a/BlendFile/DNA/UserDef_Runtime.cs +++ b/BlendFile/DNA/UserDef_Runtime.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class UserDef_Runtime { [DNAFieldAttribute(1, "char", 0, "is_dirty", "char", false, 0)] public char is_dirty; - [DNAFieldAttribute(7, "char", 1, "_pad0[7]", "System.Char[]", false, 1)] + [DNAArrayAttribute(7, "char", 1, "_pad0[7]", "System.Char[]", 7, 1)] public char[] _pad0 = new System.Char[7]; public UserDef_Runtime() { this.is_dirty = default; diff --git a/BlendFile/DNA/UserDef_SpaceData.cs b/BlendFile/DNA/UserDef_SpaceData.cs index 87a98d5..b6c70ef 100644 --- a/BlendFile/DNA/UserDef_SpaceData.cs +++ b/BlendFile/DNA/UserDef_SpaceData.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public char section_active; [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 1)] public char flag; - [DNAFieldAttribute(6, "char", 2, "_pad0[6]", "System.Char[]", false, 2)] + [DNAArrayAttribute(6, "char", 2, "_pad0[6]", "System.Char[]", 6, 2)] public char[] _pad0 = new System.Char[6]; public UserDef_SpaceData() { this.section_active = default; diff --git a/BlendFile/DNA/UvSculpt.cs b/BlendFile/DNA/UvSculpt.cs index f535ee9..c0ac08c 100644 --- a/BlendFile/DNA/UvSculpt.cs +++ b/BlendFile/DNA/UvSculpt.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public float strength; [DNAFieldAttribute(1, "int8_t", 3, "curve_preset", "int8_t", false, 16)] public sbyte curve_preset; - [DNAFieldAttribute(7, "char", 4, "_pad[7]", "System.Char[]", false, 17)] + [DNAArrayAttribute(7, "char", 4, "_pad[7]", "System.Char[]", 7, 17)] public char[] _pad = new System.Char[7]; public UvSculpt() { this.strength_curve = default; diff --git a/BlendFile/DNA/VFont.cs b/BlendFile/DNA/VFont.cs index 408bed4..a3224aa 100644 --- a/BlendFile/DNA/VFont.cs +++ b/BlendFile/DNA/VFont.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class VFont { [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1024, "char", 1, "name[1024]", "System.Char[]", false, 208)] + [DNAArrayAttribute(1024, "char", 1, "name[1024]", "System.Char[]", 1024, 208)] public char[] name = new System.Char[1024]; [DNAFieldAttribute(8, "VFontData", 2, "*data", "VFontData", true, 1232)] public VFontData data; diff --git a/BlendFile/DNA/VPaint.cs b/BlendFile/DNA/VPaint.cs index 02725f7..f8e995a 100644 --- a/BlendFile/DNA/VPaint.cs +++ b/BlendFile/DNA/VPaint.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public Paint paint; [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 120)] public char flag; - [DNAFieldAttribute(3, "char", 2, "_pad[3]", "System.Char[]", false, 121)] + [DNAArrayAttribute(3, "char", 2, "_pad[3]", "System.Char[]", 3, 121)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(12, "int", 3, "radial_symm[3]", "System.Int32[]", false, 124)] + [DNAArrayAttribute(12, "int", 3, "radial_symm[3]", "System.Int32[]", 3, 124)] public int[] radial_symm = new System.Int32[3]; public VPaint() { this.paint = default; diff --git a/BlendFile/DNA/View2D.cs b/BlendFile/DNA/View2D.cs index 6f9ebb2..162c7f7 100644 --- a/BlendFile/DNA/View2D.cs +++ b/BlendFile/DNA/View2D.cs @@ -25,9 +25,9 @@ namespace BlendFile.DNA { public rcti hor; [DNAFieldAttribute(16, "rcti", 4, "mask", "rcti", false, 64)] public rcti mask; - [DNAFieldAttribute(8, "float", 5, "min[2]", "System.Single[]", false, 80)] + [DNAArrayAttribute(8, "float", 5, "min[2]", "System.Single[]", 2, 80)] public float[] min = new System.Single[2]; - [DNAFieldAttribute(8, "float", 6, "max[2]", "System.Single[]", false, 88)] + [DNAArrayAttribute(8, "float", 6, "max[2]", "System.Single[]", 2, 88)] public float[] max = new System.Single[2]; [DNAFieldAttribute(4, "float", 7, "minzoom", "float", false, 96)] public float minzoom; @@ -61,7 +61,7 @@ namespace BlendFile.DNA { public char alpha_vert; [DNAFieldAttribute(1, "char", 22, "alpha_hor", "char", false, 129)] public char alpha_hor; - [DNAFieldAttribute(2, "char", 23, "_pad[2]", "System.Char[]", false, 130)] + [DNAArrayAttribute(2, "char", 23, "_pad[2]", "System.Char[]", 2, 130)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 24, "page_size_y", "float", false, 132)] public float page_size_y; diff --git a/BlendFile/DNA/View3D.cs b/BlendFile/DNA/View3D.cs index 94a8227..66d50d3 100644 --- a/BlendFile/DNA/View3D.cs +++ b/BlendFile/DNA/View3D.cs @@ -25,9 +25,9 @@ namespace BlendFile.DNA { public char spacetype; [DNAFieldAttribute(1, "char", 4, "link_flag", "char", false, 33)] public char link_flag; - [DNAFieldAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", false, 34)] + [DNAArrayAttribute(6, "char", 5, "_pad0[6]", "System.Char[]", 6, 34)] public char[] _pad0 = new System.Char[6]; - [DNAFieldAttribute(16, "float", 6, "viewquat[4]", "System.Single[]", false, 40)] + [DNAArrayAttribute(16, "float", 6, "viewquat[4]", "System.Single[]", 4, 40)] public float[] viewquat = new System.Single[4]; [DNAFieldAttribute(4, "float", 7, "dist", "float", false, 56)] public float dist; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public char bundle_drawtype; [DNAFieldAttribute(1, "char", 10, "drawtype", "char", false, 65)] public char drawtype; - [DNAFieldAttribute(1, "char", 11, "_pad3[1]", "System.Char[]", false, 66)] + [DNAArrayAttribute(1, "char", 11, "_pad3[1]", "System.Char[]", 1, 66)] public char[] _pad3 = new System.Char[1]; [DNAFieldAttribute(1, "char", 12, "multiview_eye", "char", false, 67)] public char multiview_eye; @@ -57,17 +57,17 @@ namespace BlendFile.DNA { public rctf render_border; [DNAFieldAttribute(8, "View3D", 20, "*localvd", "View3D", true, 112)] public View3D localvd; - [DNAFieldAttribute(64, "char", 21, "ob_centre_bone[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 21, "ob_centre_bone[64]", "System.Char[]", 64, 120)] public char[] ob_centre_bone = new System.Char[64]; [DNAFieldAttribute(2, "short", 22, "local_view_uuid", "short", false, 184)] public short local_view_uuid; - [DNAFieldAttribute(2, "char", 23, "_pad6[2]", "System.Char[]", false, 186)] + [DNAArrayAttribute(2, "char", 23, "_pad6[2]", "System.Char[]", 2, 186)] public char[] _pad6 = new System.Char[2]; [DNAFieldAttribute(4, "int", 24, "layact", "int", false, 188)] public int layact; [DNAFieldAttribute(2, "short", 25, "local_collections_uuid", "short", false, 192)] public short local_collections_uuid; - [DNAFieldAttribute(4, "short", 26, "_pad7[2]", "System.Int16[]", false, 194)] + [DNAArrayAttribute(4, "short", 26, "_pad7[2]", "System.Int16[]", 2, 194)] public short[] _pad7 = new System.Int16[2]; [DNAFieldAttribute(2, "short", 27, "debug_flag", "short", false, 198)] public short debug_flag; @@ -89,9 +89,9 @@ namespace BlendFile.DNA { public float near; [DNAFieldAttribute(4, "float", 36, "far", "float", false, 224)] public float far; - [DNAFieldAttribute(12, "float", 37, "ofs[3]", "System.Single[]", false, 228)] + [DNAArrayAttribute(12, "float", 37, "ofs[3]", "System.Single[]", 3, 228)] public float[] ofs = new System.Single[3]; - [DNAFieldAttribute(1, "char", 38, "_pad[1]", "System.Char[]", false, 240)] + [DNAArrayAttribute(1, "char", 38, "_pad[1]", "System.Char[]", 1, 240)] public char[] _pad = new System.Char[1]; [DNAFieldAttribute(1, "char", 39, "gizmo_flag", "char", false, 241)] public char gizmo_flag; diff --git a/BlendFile/DNA/View3DCursor.cs b/BlendFile/DNA/View3DCursor.cs index 364247f..6fa85a2 100644 --- a/BlendFile/DNA/View3DCursor.cs +++ b/BlendFile/DNA/View3DCursor.cs @@ -15,19 +15,19 @@ namespace BlendFile.DNA { [DNAClassAttribute(839, "View3DCursor", 64)] public class View3DCursor { - [DNAFieldAttribute(12, "float", 0, "location[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "location[3]", "System.Single[]", 3, 0)] public float[] location = new System.Single[3]; - [DNAFieldAttribute(16, "float", 1, "rotation_quaternion[4]", "System.Single[]", false, 12)] + [DNAArrayAttribute(16, "float", 1, "rotation_quaternion[4]", "System.Single[]", 4, 12)] public float[] rotation_quaternion = new System.Single[4]; - [DNAFieldAttribute(12, "float", 2, "rotation_euler[3]", "System.Single[]", false, 28)] + [DNAArrayAttribute(12, "float", 2, "rotation_euler[3]", "System.Single[]", 3, 28)] public float[] rotation_euler = new System.Single[3]; - [DNAFieldAttribute(12, "float", 3, "rotation_axis[3]", "System.Single[]", false, 40)] + [DNAArrayAttribute(12, "float", 3, "rotation_axis[3]", "System.Single[]", 3, 40)] public float[] rotation_axis = new System.Single[3]; [DNAFieldAttribute(4, "float", 4, "rotation_angle", "float", false, 52)] public float rotation_angle; [DNAFieldAttribute(2, "short", 5, "rotation_mode", "short", false, 56)] public short rotation_mode; - [DNAFieldAttribute(6, "char", 6, "_pad[6]", "System.Char[]", false, 58)] + [DNAArrayAttribute(6, "char", 6, "_pad[6]", "System.Char[]", 6, 58)] public char[] _pad = new System.Char[6]; public View3DCursor() { this.location = default; diff --git a/BlendFile/DNA/View3DOverlay.cs b/BlendFile/DNA/View3DOverlay.cs index 5f2c21b..720c01b 100644 --- a/BlendFile/DNA/View3DOverlay.cs +++ b/BlendFile/DNA/View3DOverlay.cs @@ -57,11 +57,11 @@ namespace BlendFile.DNA { public float gpencil_grid_opacity; [DNAFieldAttribute(4, "float", 20, "gpencil_fade_layer", "float", false, 80)] public float gpencil_fade_layer; - [DNAFieldAttribute(12, "float", 21, "gpencil_grid_color[3]", "System.Single[]", false, 84)] + [DNAArrayAttribute(12, "float", 21, "gpencil_grid_color[3]", "System.Single[]", 3, 84)] public float[] gpencil_grid_color = new System.Single[3]; - [DNAFieldAttribute(8, "float", 22, "gpencil_grid_scale[2]", "System.Single[]", false, 96)] + [DNAArrayAttribute(8, "float", 22, "gpencil_grid_scale[2]", "System.Single[]", 2, 96)] public float[] gpencil_grid_scale = new System.Single[2]; - [DNAFieldAttribute(8, "float", 23, "gpencil_grid_offset[2]", "System.Single[]", false, 104)] + [DNAArrayAttribute(8, "float", 23, "gpencil_grid_offset[2]", "System.Single[]", 2, 104)] public float[] gpencil_grid_offset = new System.Single[2]; [DNAFieldAttribute(4, "int", 24, "gpencil_grid_subdivisions", "int", false, 112)] public int gpencil_grid_subdivisions; diff --git a/BlendFile/DNA/View3DShading.cs b/BlendFile/DNA/View3DShading.cs index 387edff..5858a2f 100644 --- a/BlendFile/DNA/View3DShading.cs +++ b/BlendFile/DNA/View3DShading.cs @@ -37,15 +37,15 @@ namespace BlendFile.DNA { public char use_compositor; [DNAFieldAttribute(1, "char", 10, "_pad", "char", false, 11)] public char _pad; - [DNAFieldAttribute(256, "char", 11, "studio_light[256]", "System.Char[]", false, 12)] + [DNAArrayAttribute(256, "char", 11, "studio_light[256]", "System.Char[]", 256, 12)] public char[] studio_light = new System.Char[256]; - [DNAFieldAttribute(256, "char", 12, "lookdev_light[256]", "System.Char[]", false, 268)] + [DNAArrayAttribute(256, "char", 12, "lookdev_light[256]", "System.Char[]", 256, 268)] public char[] lookdev_light = new System.Char[256]; - [DNAFieldAttribute(256, "char", 13, "matcap[256]", "System.Char[]", false, 524)] + [DNAArrayAttribute(256, "char", 13, "matcap[256]", "System.Char[]", 256, 524)] public char[] matcap = new System.Char[256]; [DNAFieldAttribute(4, "float", 14, "shadow_intensity", "float", false, 780)] public float shadow_intensity; - [DNAFieldAttribute(12, "float", 15, "single_color[3]", "System.Single[]", false, 784)] + [DNAArrayAttribute(12, "float", 15, "single_color[3]", "System.Single[]", 3, 784)] public float[] single_color = new System.Single[3]; [DNAFieldAttribute(4, "float", 16, "studiolight_rot_z", "float", false, 796)] public float studiolight_rot_z; @@ -55,7 +55,7 @@ namespace BlendFile.DNA { public float studiolight_intensity; [DNAFieldAttribute(4, "float", 19, "studiolight_blur", "float", false, 808)] public float studiolight_blur; - [DNAFieldAttribute(12, "float", 20, "object_outline_color[3]", "System.Single[]", false, 812)] + [DNAArrayAttribute(12, "float", 20, "object_outline_color[3]", "System.Single[]", 3, 812)] public float[] object_outline_color = new System.Single[3]; [DNAFieldAttribute(4, "float", 21, "xray_alpha", "float", false, 824)] public float xray_alpha; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { public float cavity_valley_factor; [DNAFieldAttribute(4, "float", 24, "cavity_ridge_factor", "float", false, 836)] public float cavity_ridge_factor; - [DNAFieldAttribute(12, "float", 25, "background_color[3]", "System.Single[]", false, 840)] + [DNAArrayAttribute(12, "float", 25, "background_color[3]", "System.Single[]", 3, 840)] public float[] background_color = new System.Single[3]; [DNAFieldAttribute(4, "float", 26, "curvature_ridge_factor", "float", false, 852)] public float curvature_ridge_factor; @@ -73,7 +73,7 @@ namespace BlendFile.DNA { public float curvature_valley_factor; [DNAFieldAttribute(4, "int", 28, "render_pass", "int", false, 860)] public int render_pass; - [DNAFieldAttribute(64, "char", 29, "aov_name[64]", "System.Char[]", false, 864)] + [DNAArrayAttribute(64, "char", 29, "aov_name[64]", "System.Char[]", 64, 864)] public char[] aov_name = new System.Char[64]; [DNAFieldAttribute(8, "IDProperty", 30, "*prop", "IDProperty", true, 928)] public IDProperty prop; diff --git a/BlendFile/DNA/View3D_Runtime.cs b/BlendFile/DNA/View3D_Runtime.cs index 08756c3..c8897c6 100644 --- a/BlendFile/DNA/View3D_Runtime.cs +++ b/BlendFile/DNA/View3D_Runtime.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public object properties_storage; [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(4, "char", 3, "_pad1[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 3, "_pad1[4]", "System.Char[]", 4, 12)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "SceneStats", 4, "*local_stats", "SceneStats", true, 16)] public SceneStats local_stats; diff --git a/BlendFile/DNA/ViewLayer.cs b/BlendFile/DNA/ViewLayer.cs index b7b3039..3659ab7 100644 --- a/BlendFile/DNA/ViewLayer.cs +++ b/BlendFile/DNA/ViewLayer.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public ViewLayer next; [DNAFieldAttribute(8, "ViewLayer", 1, "*prev", "ViewLayer", true, 8)] public ViewLayer prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 80)] public short flag; - [DNAFieldAttribute(6, "char", 4, "_pad[6]", "System.Char[]", false, 82)] + [DNAArrayAttribute(6, "char", 4, "_pad[6]", "System.Char[]", 6, 82)] public char[] _pad = new System.Char[6]; [DNAFieldAttribute(16, "ListBase", 5, "object_bases", "ListBase", false, 88)] public ListBase object_bases; @@ -45,7 +45,7 @@ namespace BlendFile.DNA { public short cryptomatte_flag; [DNAFieldAttribute(2, "short", 14, "cryptomatte_levels", "short", false, 158)] public short cryptomatte_levels; - [DNAFieldAttribute(4, "char", 15, "_pad1[4]", "System.Char[]", false, 160)] + [DNAArrayAttribute(4, "char", 15, "_pad1[4]", "System.Char[]", 4, 160)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "int", 16, "samples", "int", false, 164)] public int samples; diff --git a/BlendFile/DNA/ViewLayerAOV.cs b/BlendFile/DNA/ViewLayerAOV.cs index 38cc852..6d70939 100644 --- a/BlendFile/DNA/ViewLayerAOV.cs +++ b/BlendFile/DNA/ViewLayerAOV.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public ViewLayerAOV next; [DNAFieldAttribute(8, "ViewLayerAOV", 1, "*prev", "ViewLayerAOV", true, 8)] public ViewLayerAOV prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 80)] public int flag; diff --git a/BlendFile/DNA/ViewLayerEEVEE.cs b/BlendFile/DNA/ViewLayerEEVEE.cs index 3063f63..291c9e2 100644 --- a/BlendFile/DNA/ViewLayerEEVEE.cs +++ b/BlendFile/DNA/ViewLayerEEVEE.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class ViewLayerEEVEE { [DNAFieldAttribute(4, "int", 0, "render_passes", "int", false, 0)] public int render_passes; - [DNAFieldAttribute(4, "int", 1, "_pad[1]", "System.Int32[]", false, 4)] + [DNAArrayAttribute(4, "int", 1, "_pad[1]", "System.Int32[]", 1, 4)] public int[] _pad = new System.Int32[1]; public ViewLayerEEVEE() { this.render_passes = default; diff --git a/BlendFile/DNA/ViewLayerLightgroup.cs b/BlendFile/DNA/ViewLayerLightgroup.cs index fffc26d..b39ef6a 100644 --- a/BlendFile/DNA/ViewLayerLightgroup.cs +++ b/BlendFile/DNA/ViewLayerLightgroup.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public ViewLayerLightgroup next; [DNAFieldAttribute(8, "ViewLayerLightgroup", 1, "*prev", "ViewLayerLightgroup", true, 8)] public ViewLayerLightgroup prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; public ViewLayerLightgroup() { this.next = default; diff --git a/BlendFile/DNA/ViewerNodeViewerPathElem.cs b/BlendFile/DNA/ViewerNodeViewerPathElem.cs index 60e5804..3eb1e2e 100644 --- a/BlendFile/DNA/ViewerNodeViewerPathElem.cs +++ b/BlendFile/DNA/ViewerNodeViewerPathElem.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public ViewerPathElem @base; [DNAFieldAttribute(4, "int", 1, "node_id", "int", false, 32)] public int node_id; - [DNAFieldAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 2, "_pad1[4]", "System.Char[]", 4, 36)] public char[] _pad1 = new System.Char[4]; public ViewerNodeViewerPathElem() { this.@base = default; diff --git a/BlendFile/DNA/ViewerPathElem.cs b/BlendFile/DNA/ViewerPathElem.cs index b408092..f62033d 100644 --- a/BlendFile/DNA/ViewerPathElem.cs +++ b/BlendFile/DNA/ViewerPathElem.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public ViewerPathElem prev; [DNAFieldAttribute(4, "int", 2, "type", "int", false, 16)] public int type; - [DNAFieldAttribute(4, "char", 3, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 3, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "char", 4, "*ui_name", "char", true, 24)] public char ui_name; diff --git a/BlendFile/DNA/Volume.cs b/BlendFile/DNA/Volume.cs index 99fa507..dc5dba9 100644 --- a/BlendFile/DNA/Volume.cs +++ b/BlendFile/DNA/Volume.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public ID id; [DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)] public AnimData adt; - [DNAFieldAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", false, 216)] + [DNAArrayAttribute(1024, "char", 2, "filepath[1024]", "System.Char[]", 1024, 216)] public char[] filepath = new System.Char[1024]; [DNAFieldAttribute(8, "PackedFile", 3, "*packedfile", "PackedFile", true, 1240)] public PackedFile packedfile; @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public char is_sequence; [DNAFieldAttribute(1, "char", 5, "sequence_mode", "char", false, 1249)] public char sequence_mode; - [DNAFieldAttribute(2, "char", 6, "_pad1[2]", "System.Char[]", false, 1250)] + [DNAArrayAttribute(2, "char", 6, "_pad1[2]", "System.Char[]", 2, 1250)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(4, "int", 7, "frame_start", "int", false, 1252)] public int frame_start; @@ -43,15 +43,15 @@ namespace BlendFile.DNA { public Material mat; [DNAFieldAttribute(2, "short", 13, "totcol", "short", false, 1280)] public short totcol; - [DNAFieldAttribute(6, "short", 14, "_pad2[3]", "System.Int16[]", false, 1282)] + [DNAArrayAttribute(6, "short", 14, "_pad2[3]", "System.Int16[]", 3, 1282)] public short[] _pad2 = new System.Int16[3]; [DNAFieldAttribute(16, "VolumeRender", 15, "render", "VolumeRender", false, 1288)] public VolumeRender render; [DNAFieldAttribute(32, "VolumeDisplay", 16, "display", "VolumeDisplay", false, 1304)] public VolumeDisplay display; - [DNAFieldAttribute(64, "char", 17, "velocity_grid[64]", "System.Char[]", false, 1336)] + [DNAArrayAttribute(64, "char", 17, "velocity_grid[64]", "System.Char[]", 64, 1336)] public char[] velocity_grid = new System.Char[64]; - [DNAFieldAttribute(3, "char", 18, "_pad3[3]", "System.Char[]", false, 1400)] + [DNAArrayAttribute(3, "char", 18, "_pad3[3]", "System.Char[]", 3, 1400)] public char[] _pad3 = new System.Char[3]; [DNAFieldAttribute(1, "char", 19, "velocity_unit", "char", false, 1403)] public char velocity_unit; diff --git a/BlendFile/DNA/VolumeDisplaceModifierData.cs b/BlendFile/DNA/VolumeDisplaceModifierData.cs index 48d39fc..3e50775 100644 --- a/BlendFile/DNA/VolumeDisplaceModifierData.cs +++ b/BlendFile/DNA/VolumeDisplaceModifierData.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public int texture_map_mode; [DNAFieldAttribute(4, "float", 4, "strength", "float", false, 140)] public float strength; - [DNAFieldAttribute(12, "float", 5, "texture_mid_level[3]", "System.Single[]", false, 144)] + [DNAArrayAttribute(12, "float", 5, "texture_mid_level[3]", "System.Single[]", 3, 144)] public float[] texture_mid_level = new System.Single[3]; [DNAFieldAttribute(4, "float", 6, "texture_sample_radius", "float", false, 156)] public float texture_sample_radius; diff --git a/BlendFile/DNA/VolumeDisplay.cs b/BlendFile/DNA/VolumeDisplay.cs index faef485..7ee6caf 100644 --- a/BlendFile/DNA/VolumeDisplay.cs +++ b/BlendFile/DNA/VolumeDisplay.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public int slice_axis; [DNAFieldAttribute(4, "float", 6, "slice_depth", "float", false, 24)] public float slice_depth; - [DNAFieldAttribute(4, "int", 7, "_pad[1]", "System.Int32[]", false, 28)] + [DNAArrayAttribute(4, "int", 7, "_pad[1]", "System.Int32[]", 1, 28)] public int[] _pad = new System.Int32[1]; public VolumeDisplay() { this.density = default; diff --git a/BlendFile/DNA/VolumeToMeshModifierData.cs b/BlendFile/DNA/VolumeToMeshModifierData.cs index e121d69..abb973f 100644 --- a/BlendFile/DNA/VolumeToMeshModifierData.cs +++ b/BlendFile/DNA/VolumeToMeshModifierData.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public float voxel_size; [DNAFieldAttribute(4, "int", 7, "voxel_amount", "int", false, 148)] public int voxel_amount; - [DNAFieldAttribute(64, "char", 8, "grid_name[64]", "System.Char[]", false, 152)] + [DNAArrayAttribute(64, "char", 8, "grid_name[64]", "System.Char[]", 64, 152)] public char[] grid_name = new System.Char[64]; [DNAFieldAttribute(8, "void", 9, "*_pad1", "void", true, 216)] public object _pad1; diff --git a/BlendFile/DNA/WalkNavigation.cs b/BlendFile/DNA/WalkNavigation.cs index 403a441..dbc2100 100644 --- a/BlendFile/DNA/WalkNavigation.cs +++ b/BlendFile/DNA/WalkNavigation.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public float teleport_time; [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 24)] public short flag; - [DNAFieldAttribute(6, "char", 7, "_pad0[6]", "System.Char[]", false, 26)] + [DNAArrayAttribute(6, "char", 7, "_pad0[6]", "System.Char[]", 6, 26)] public char[] _pad0 = new System.Char[6]; public WalkNavigation() { this.mouse_speed = default; diff --git a/BlendFile/DNA/WarpModifierData.cs b/BlendFile/DNA/WarpModifierData.cs index fc7717d..54e4e9e 100644 --- a/BlendFile/DNA/WarpModifierData.cs +++ b/BlendFile/DNA/WarpModifierData.cs @@ -21,11 +21,11 @@ namespace BlendFile.DNA { public Tex texture; [DNAFieldAttribute(8, "Object", 2, "*map_object", "Object", true, 128)] public Object map_object; - [DNAFieldAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", false, 136)] + [DNAArrayAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", 64, 136)] public char[] map_bone = new System.Char[64]; - [DNAFieldAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", false, 200)] + [DNAArrayAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", 68, 200)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", 4, 268)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "int", 6, "uvlayer_tmp", "int", false, 272)] public int uvlayer_tmp; @@ -35,13 +35,13 @@ namespace BlendFile.DNA { public Object object_from; [DNAFieldAttribute(8, "Object", 9, "*object_to", "Object", true, 288)] public Object object_to; - [DNAFieldAttribute(64, "char", 10, "bone_from[64]", "System.Char[]", false, 296)] + [DNAArrayAttribute(64, "char", 10, "bone_from[64]", "System.Char[]", 64, 296)] public char[] bone_from = new System.Char[64]; - [DNAFieldAttribute(64, "char", 11, "bone_to[64]", "System.Char[]", false, 360)] + [DNAArrayAttribute(64, "char", 11, "bone_to[64]", "System.Char[]", 64, 360)] public char[] bone_to = new System.Char[64]; [DNAFieldAttribute(8, "CurveMapping", 12, "*curfalloff", "CurveMapping", true, 424)] public CurveMapping curfalloff; - [DNAFieldAttribute(64, "char", 13, "defgrp_name[64]", "System.Char[]", false, 432)] + [DNAArrayAttribute(64, "char", 13, "defgrp_name[64]", "System.Char[]", 64, 432)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "float", 14, "strength", "float", false, 496)] public float strength; @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(1, "char", 17, "falloff_type", "char", false, 505)] public char falloff_type; - [DNAFieldAttribute(6, "char", 18, "_pad2[6]", "System.Char[]", false, 506)] + [DNAArrayAttribute(6, "char", 18, "_pad2[6]", "System.Char[]", 6, 506)] public char[] _pad2 = new System.Char[6]; [DNAFieldAttribute(8, "void", 19, "*_pad3", "void", true, 512)] public object _pad3; diff --git a/BlendFile/DNA/WaveModifierData.cs b/BlendFile/DNA/WaveModifierData.cs index dd6b61c..08aa9b4 100644 --- a/BlendFile/DNA/WaveModifierData.cs +++ b/BlendFile/DNA/WaveModifierData.cs @@ -21,11 +21,11 @@ namespace BlendFile.DNA { public Tex texture; [DNAFieldAttribute(8, "Object", 2, "*map_object", "Object", true, 128)] public Object map_object; - [DNAFieldAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", false, 136)] + [DNAArrayAttribute(64, "char", 3, "map_bone[64]", "System.Char[]", 64, 136)] public char[] map_bone = new System.Char[64]; - [DNAFieldAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", false, 200)] + [DNAArrayAttribute(68, "char", 4, "uvlayer_name[68]", "System.Char[]", 68, 200)] public char[] uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", false, 268)] + [DNAArrayAttribute(4, "char", 5, "_pad1[4]", "System.Char[]", 4, 268)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "int", 6, "uvlayer_tmp", "int", false, 272)] public int uvlayer_tmp; @@ -33,11 +33,11 @@ namespace BlendFile.DNA { public int texmapping; [DNAFieldAttribute(8, "Object", 8, "*objectcenter", "Object", true, 280)] public Object objectcenter; - [DNAFieldAttribute(64, "char", 9, "defgrp_name[64]", "System.Char[]", false, 288)] + [DNAArrayAttribute(64, "char", 9, "defgrp_name[64]", "System.Char[]", 64, 288)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(2, "short", 10, "flag", "short", false, 352)] public short flag; - [DNAFieldAttribute(2, "char", 11, "_pad2[2]", "System.Char[]", false, 354)] + [DNAArrayAttribute(2, "char", 11, "_pad2[2]", "System.Char[]", 2, 354)] public char[] _pad2 = new System.Char[2]; [DNAFieldAttribute(4, "float", 12, "startx", "float", false, 356)] public float startx; @@ -59,7 +59,7 @@ namespace BlendFile.DNA { public float timeoffs; [DNAFieldAttribute(4, "float", 21, "lifetime", "float", false, 392)] public float lifetime; - [DNAFieldAttribute(4, "char", 22, "_pad3[4]", "System.Char[]", false, 396)] + [DNAArrayAttribute(4, "char", 22, "_pad3[4]", "System.Char[]", 4, 396)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(8, "void", 23, "*_pad4", "void", true, 400)] public object _pad4; diff --git a/BlendFile/DNA/WaveShaderFxData.cs b/BlendFile/DNA/WaveShaderFxData.cs index c87951c..c68d629 100644 --- a/BlendFile/DNA/WaveShaderFxData.cs +++ b/BlendFile/DNA/WaveShaderFxData.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int orientation; [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 120)] public int flag; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 124)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(40, "ShaderFxData_Runtime", 7, "runtime", "ShaderFxData_Runtime", false, 128)] public ShaderFxData_Runtime runtime; diff --git a/BlendFile/DNA/WeightAngleGpencilModifierData.cs b/BlendFile/DNA/WeightAngleGpencilModifierData.cs index ca635f4..666269e 100644 --- a/BlendFile/DNA/WeightAngleGpencilModifierData.cs +++ b/BlendFile/DNA/WeightAngleGpencilModifierData.cs @@ -17,13 +17,13 @@ namespace BlendFile.DNA { public class WeightAngleGpencilModifierData { [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "target_vgname[64]", "System.Char[]", false, 104)] + [DNAArrayAttribute(64, "char", 1, "target_vgname[64]", "System.Char[]", 64, 104)] public char[] target_vgname = new System.Char[64]; [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 168)] public Material material; - [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "layername[64]", "System.Char[]", 64, 176)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] + [DNAArrayAttribute(64, "char", 4, "vgname[64]", "System.Char[]", 64, 240)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; diff --git a/BlendFile/DNA/WeightProxGpencilModifierData.cs b/BlendFile/DNA/WeightProxGpencilModifierData.cs index 6b325d9..e5b25bd 100644 --- a/BlendFile/DNA/WeightProxGpencilModifierData.cs +++ b/BlendFile/DNA/WeightProxGpencilModifierData.cs @@ -17,13 +17,13 @@ namespace BlendFile.DNA { public class WeightProxGpencilModifierData { [DNAFieldAttribute(104, "GpencilModifierData", 0, "modifier", "GpencilModifierData", false, 0)] public GpencilModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "target_vgname[64]", "System.Char[]", false, 104)] + [DNAArrayAttribute(64, "char", 1, "target_vgname[64]", "System.Char[]", 64, 104)] public char[] target_vgname = new System.Char[64]; [DNAFieldAttribute(8, "Material", 2, "*material", "Material", true, 168)] public Material material; - [DNAFieldAttribute(64, "char", 3, "layername[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 3, "layername[64]", "System.Char[]", 64, 176)] public char[] layername = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "vgname[64]", "System.Char[]", false, 240)] + [DNAArrayAttribute(64, "char", 4, "vgname[64]", "System.Char[]", 64, 240)] public char[] vgname = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "pass_index", "int", false, 304)] public int pass_index; diff --git a/BlendFile/DNA/WeightVGEditModifierData.cs b/BlendFile/DNA/WeightVGEditModifierData.cs index 48a414b..d699b2f 100644 --- a/BlendFile/DNA/WeightVGEditModifierData.cs +++ b/BlendFile/DNA/WeightVGEditModifierData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class WeightVGEditModifierData { [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", 64, 120)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(2, "short", 2, "edit_flags", "short", false, 184)] public short edit_flags; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public float rem_threshold; [DNAFieldAttribute(4, "float", 8, "mask_constant", "float", false, 208)] public float mask_constant; - [DNAFieldAttribute(64, "char", 9, "mask_defgrp_name[64]", "System.Char[]", false, 212)] + [DNAArrayAttribute(64, "char", 9, "mask_defgrp_name[64]", "System.Char[]", 64, 212)] public char[] mask_defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "int", 10, "mask_tex_use_channel", "int", false, 276)] public int mask_tex_use_channel; @@ -41,11 +41,11 @@ namespace BlendFile.DNA { public Tex mask_texture; [DNAFieldAttribute(8, "Object", 12, "*mask_tex_map_obj", "Object", true, 288)] public Object mask_tex_map_obj; - [DNAFieldAttribute(64, "char", 13, "mask_tex_map_bone[64]", "System.Char[]", false, 296)] + [DNAArrayAttribute(64, "char", 13, "mask_tex_map_bone[64]", "System.Char[]", 64, 296)] public char[] mask_tex_map_bone = new System.Char[64]; [DNAFieldAttribute(4, "int", 14, "mask_tex_mapping", "int", false, 360)] public int mask_tex_mapping; - [DNAFieldAttribute(68, "char", 15, "mask_tex_uvlayer_name[68]", "System.Char[]", false, 364)] + [DNAArrayAttribute(68, "char", 15, "mask_tex_uvlayer_name[68]", "System.Char[]", 68, 364)] public char[] mask_tex_uvlayer_name = new System.Char[68]; [DNAFieldAttribute(8, "void", 16, "*_pad1", "void", true, 432)] public object _pad1; diff --git a/BlendFile/DNA/WeightVGMixModifierData.cs b/BlendFile/DNA/WeightVGMixModifierData.cs index 0ca903c..ffcb4c0 100644 --- a/BlendFile/DNA/WeightVGMixModifierData.cs +++ b/BlendFile/DNA/WeightVGMixModifierData.cs @@ -17,9 +17,9 @@ namespace BlendFile.DNA { public class WeightVGMixModifierData { [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "defgrp_name_a[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 1, "defgrp_name_a[64]", "System.Char[]", 64, 120)] public char[] defgrp_name_a = new System.Char[64]; - [DNAFieldAttribute(64, "char", 2, "defgrp_name_b[64]", "System.Char[]", false, 184)] + [DNAArrayAttribute(64, "char", 2, "defgrp_name_b[64]", "System.Char[]", 64, 184)] public char[] defgrp_name_b = new System.Char[64]; [DNAFieldAttribute(4, "float", 3, "default_weight_a", "float", false, 248)] public float default_weight_a; @@ -29,11 +29,11 @@ namespace BlendFile.DNA { public char mix_mode; [DNAFieldAttribute(1, "char", 6, "mix_set", "char", false, 257)] public char mix_set; - [DNAFieldAttribute(6, "char", 7, "_pad0[6]", "System.Char[]", false, 258)] + [DNAArrayAttribute(6, "char", 7, "_pad0[6]", "System.Char[]", 6, 258)] public char[] _pad0 = new System.Char[6]; [DNAFieldAttribute(4, "float", 8, "mask_constant", "float", false, 264)] public float mask_constant; - [DNAFieldAttribute(64, "char", 9, "mask_defgrp_name[64]", "System.Char[]", false, 268)] + [DNAArrayAttribute(64, "char", 9, "mask_defgrp_name[64]", "System.Char[]", 64, 268)] public char[] mask_defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "int", 10, "mask_tex_use_channel", "int", false, 332)] public int mask_tex_use_channel; @@ -41,17 +41,17 @@ namespace BlendFile.DNA { public Tex mask_texture; [DNAFieldAttribute(8, "Object", 12, "*mask_tex_map_obj", "Object", true, 344)] public Object mask_tex_map_obj; - [DNAFieldAttribute(64, "char", 13, "mask_tex_map_bone[64]", "System.Char[]", false, 352)] + [DNAArrayAttribute(64, "char", 13, "mask_tex_map_bone[64]", "System.Char[]", 64, 352)] public char[] mask_tex_map_bone = new System.Char[64]; [DNAFieldAttribute(4, "int", 14, "mask_tex_mapping", "int", false, 416)] public int mask_tex_mapping; - [DNAFieldAttribute(68, "char", 15, "mask_tex_uvlayer_name[68]", "System.Char[]", false, 420)] + [DNAArrayAttribute(68, "char", 15, "mask_tex_uvlayer_name[68]", "System.Char[]", 68, 420)] public char[] mask_tex_uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 16, "_pad1[4]", "System.Char[]", false, 488)] + [DNAArrayAttribute(4, "char", 16, "_pad1[4]", "System.Char[]", 4, 488)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(1, "char", 17, "flag", "char", false, 492)] public char flag; - [DNAFieldAttribute(3, "char", 18, "_pad2[3]", "System.Char[]", false, 493)] + [DNAArrayAttribute(3, "char", 18, "_pad2[3]", "System.Char[]", 3, 493)] public char[] _pad2 = new System.Char[3]; public WeightVGMixModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/WeightVGProximityModifierData.cs b/BlendFile/DNA/WeightVGProximityModifierData.cs index b1e484d..640b288 100644 --- a/BlendFile/DNA/WeightVGProximityModifierData.cs +++ b/BlendFile/DNA/WeightVGProximityModifierData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class WeightVGProximityModifierData { [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", 64, 120)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(8, "CurveMapping", 2, "*cmap_curve", "CurveMapping", true, 184)] public CurveMapping cmap_curve; @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public Object proximity_ob_target; [DNAFieldAttribute(4, "float", 6, "mask_constant", "float", false, 208)] public float mask_constant; - [DNAFieldAttribute(64, "char", 7, "mask_defgrp_name[64]", "System.Char[]", false, 212)] + [DNAArrayAttribute(64, "char", 7, "mask_defgrp_name[64]", "System.Char[]", 64, 212)] public char[] mask_defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "int", 8, "mask_tex_use_channel", "int", false, 276)] public int mask_tex_use_channel; @@ -37,13 +37,13 @@ namespace BlendFile.DNA { public Tex mask_texture; [DNAFieldAttribute(8, "Object", 10, "*mask_tex_map_obj", "Object", true, 288)] public Object mask_tex_map_obj; - [DNAFieldAttribute(64, "char", 11, "mask_tex_map_bone[64]", "System.Char[]", false, 296)] + [DNAArrayAttribute(64, "char", 11, "mask_tex_map_bone[64]", "System.Char[]", 64, 296)] public char[] mask_tex_map_bone = new System.Char[64]; [DNAFieldAttribute(4, "int", 12, "mask_tex_mapping", "int", false, 360)] public int mask_tex_mapping; - [DNAFieldAttribute(68, "char", 13, "mask_tex_uvlayer_name[68]", "System.Char[]", false, 364)] + [DNAArrayAttribute(68, "char", 13, "mask_tex_uvlayer_name[68]", "System.Char[]", 68, 364)] public char[] mask_tex_uvlayer_name = new System.Char[68]; - [DNAFieldAttribute(4, "char", 14, "_pad1[4]", "System.Char[]", false, 432)] + [DNAArrayAttribute(4, "char", 14, "_pad1[4]", "System.Char[]", 4, 432)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "float", 15, "min_dist", "float", false, 436)] public float min_dist; @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public float max_dist; [DNAFieldAttribute(2, "short", 17, "falloff_type", "short", false, 444)] public short falloff_type; - [DNAFieldAttribute(2, "char", 18, "_pad0[2]", "System.Char[]", false, 446)] + [DNAArrayAttribute(2, "char", 18, "_pad0[2]", "System.Char[]", 2, 446)] public char[] _pad0 = new System.Char[2]; public WeightVGProximityModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/WeightedNormalModifierData.cs b/BlendFile/DNA/WeightedNormalModifierData.cs index 70be69a..0173bc4 100644 --- a/BlendFile/DNA/WeightedNormalModifierData.cs +++ b/BlendFile/DNA/WeightedNormalModifierData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class WeightedNormalModifierData { [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", 64, 120)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(1, "char", 2, "mode", "char", false, 184)] public char mode; diff --git a/BlendFile/DNA/WeldModifierData.cs b/BlendFile/DNA/WeldModifierData.cs index 3da20c3..464ee13 100644 --- a/BlendFile/DNA/WeldModifierData.cs +++ b/BlendFile/DNA/WeldModifierData.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public ModifierData modifier; [DNAFieldAttribute(4, "float", 1, "merge_dist", "float", false, 120)] public float merge_dist; - [DNAFieldAttribute(64, "char", 2, "defgrp_name[64]", "System.Char[]", false, 124)] + [DNAArrayAttribute(64, "char", 2, "defgrp_name[64]", "System.Char[]", 64, 124)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(1, "char", 3, "mode", "char", false, 188)] public char mode; [DNAFieldAttribute(1, "char", 4, "flag", "char", false, 189)] public char flag; - [DNAFieldAttribute(2, "char", 5, "_pad[2]", "System.Char[]", false, 190)] + [DNAArrayAttribute(2, "char", 5, "_pad[2]", "System.Char[]", 2, 190)] public char[] _pad = new System.Char[2]; public WeldModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/WhiteBalanceModifierData.cs b/BlendFile/DNA/WhiteBalanceModifierData.cs index 6048b95..380976b 100644 --- a/BlendFile/DNA/WhiteBalanceModifierData.cs +++ b/BlendFile/DNA/WhiteBalanceModifierData.cs @@ -17,9 +17,9 @@ namespace BlendFile.DNA { public class WhiteBalanceModifierData { [DNAFieldAttribute(112, "SequenceModifierData", 0, "modifier", "SequenceModifierData", false, 0)] public SequenceModifierData modifier; - [DNAFieldAttribute(12, "float", 1, "white_value[3]", "System.Single[]", false, 112)] + [DNAArrayAttribute(12, "float", 1, "white_value[3]", "System.Single[]", 3, 112)] public float[] white_value = new System.Single[3]; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 124)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 124)] public char[] _pad = new System.Char[4]; public WhiteBalanceModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/WireframeModifierData.cs b/BlendFile/DNA/WireframeModifierData.cs index e1bb128..d5e219f 100644 --- a/BlendFile/DNA/WireframeModifierData.cs +++ b/BlendFile/DNA/WireframeModifierData.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class WireframeModifierData { [DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)] public ModifierData modifier; - [DNAFieldAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 1, "defgrp_name[64]", "System.Char[]", 64, 120)] public char[] defgrp_name = new System.Char[64]; [DNAFieldAttribute(4, "float", 2, "offset", "float", false, 184)] public float offset; @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 7, "mat_ofs", "short", false, 202)] public short mat_ofs; - [DNAFieldAttribute(4, "char", 8, "_pad[4]", "System.Char[]", false, 204)] + [DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 204)] public char[] _pad = new System.Char[4]; public WireframeModifierData() { this.modifier = default; diff --git a/BlendFile/DNA/WorkSpace.cs b/BlendFile/DNA/WorkSpace.cs index a480014..f69a832 100644 --- a/BlendFile/DNA/WorkSpace.cs +++ b/BlendFile/DNA/WorkSpace.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public ListBase tools; [DNAFieldAttribute(8, "Scene", 5, "*pin_scene", "Scene", true, 272)] public Scene pin_scene; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 280)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 280)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 7, "object_mode", "int", false, 284)] public int object_mode; diff --git a/BlendFile/DNA/WorkSpaceDataRelation.cs b/BlendFile/DNA/WorkSpaceDataRelation.cs index ca08384..34763f3 100644 --- a/BlendFile/DNA/WorkSpaceDataRelation.cs +++ b/BlendFile/DNA/WorkSpaceDataRelation.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public object value; [DNAFieldAttribute(4, "int", 4, "parentid", "int", false, 32)] public int parentid; - [DNAFieldAttribute(4, "char", 5, "_pad_0[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 5, "_pad_0[4]", "System.Char[]", 4, 36)] public char[] _pad_0 = new System.Char[4]; public WorkSpaceDataRelation() { this.next = default; diff --git a/BlendFile/DNA/WorkSpaceLayout.cs b/BlendFile/DNA/WorkSpaceLayout.cs index 9d232f1..b8e6408 100644 --- a/BlendFile/DNA/WorkSpaceLayout.cs +++ b/BlendFile/DNA/WorkSpaceLayout.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public WorkSpaceLayout prev; [DNAFieldAttribute(8, "bScreen", 2, "*screen", "bScreen", true, 16)] public bScreen screen; - [DNAFieldAttribute(64, "char", 3, "name[64]", "System.Char[]", false, 24)] + [DNAArrayAttribute(64, "char", 3, "name[64]", "System.Char[]", 64, 24)] public char[] name = new System.Char[64]; public WorkSpaceLayout() { this.next = default; diff --git a/BlendFile/DNA/World.cs b/BlendFile/DNA/World.cs index f2a233d..e321e6e 100644 --- a/BlendFile/DNA/World.cs +++ b/BlendFile/DNA/World.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public AnimData adt; [DNAFieldAttribute(16, "DrawDataList", 2, "drawdata", "DrawDataList", false, 216)] public DrawDataList drawdata; - [DNAFieldAttribute(4, "char", 3, "_pad0[4]", "System.Char[]", false, 232)] + [DNAArrayAttribute(4, "char", 3, "_pad0[4]", "System.Char[]", 4, 232)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(2, "short", 4, "texact", "short", false, 236)] public short texact; @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public float range; [DNAFieldAttribute(2, "short", 12, "mode", "short", false, 264)] public short mode; - [DNAFieldAttribute(6, "char", 13, "_pad2[6]", "System.Char[]", false, 266)] + [DNAArrayAttribute(6, "char", 13, "_pad2[6]", "System.Char[]", 6, 266)] public char[] _pad2 = new System.Char[6]; [DNAFieldAttribute(4, "float", 14, "misi", "float", false, 272)] public float misi; @@ -57,7 +57,7 @@ namespace BlendFile.DNA { public float aoenergy; [DNAFieldAttribute(2, "short", 20, "flag", "short", false, 296)] public short flag; - [DNAFieldAttribute(2, "char", 21, "_pad3[2]", "System.Char[]", false, 298)] + [DNAArrayAttribute(2, "char", 21, "_pad3[2]", "System.Char[]", 2, 298)] public char[] _pad3 = new System.Char[2]; [DNAFieldAttribute(4, "int", 22, "probe_resolution", "int", false, 300)] public int probe_resolution; @@ -71,7 +71,7 @@ namespace BlendFile.DNA { public float sun_shadow_jitter_overblur; [DNAFieldAttribute(4, "float", 27, "sun_shadow_filter_radius", "float", false, 320)] public float sun_shadow_filter_radius; - [DNAFieldAttribute(4, "char", 28, "_pad4[4]", "System.Char[]", false, 324)] + [DNAArrayAttribute(4, "char", 28, "_pad4[4]", "System.Char[]", 4, 324)] public char[] _pad4 = new System.Char[4]; [DNAFieldAttribute(8, "Ipo", 29, "*ipo", "Ipo", true, 328)] public Ipo ipo; @@ -79,7 +79,7 @@ namespace BlendFile.DNA { public short pr_texture; [DNAFieldAttribute(2, "short", 31, "use_nodes", "short", false, 338)] public short use_nodes; - [DNAFieldAttribute(4, "char", 32, "_pad[4]", "System.Char[]", false, 340)] + [DNAArrayAttribute(4, "char", 32, "_pad[4]", "System.Char[]", 4, 340)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "PreviewImage", 33, "*preview", "PreviewImage", true, 344)] public PreviewImage preview; diff --git a/BlendFile/DNA/XrActionMap.cs b/BlendFile/DNA/XrActionMap.cs index 6273c43..39a6596 100644 --- a/BlendFile/DNA/XrActionMap.cs +++ b/BlendFile/DNA/XrActionMap.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public XrActionMap next; [DNAFieldAttribute(8, "XrActionMap", 1, "*prev", "XrActionMap", true, 8)] public XrActionMap prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(16, "ListBase", 3, "items", "ListBase", false, 80)] public ListBase items; [DNAFieldAttribute(2, "short", 4, "selitem", "short", false, 96)] public short selitem; - [DNAFieldAttribute(6, "char", 5, "_pad[6]", "System.Char[]", false, 98)] + [DNAArrayAttribute(6, "char", 5, "_pad[6]", "System.Char[]", 6, 98)] public char[] _pad = new System.Char[6]; public XrActionMap() { this.next = default; diff --git a/BlendFile/DNA/XrActionMapBinding.cs b/BlendFile/DNA/XrActionMapBinding.cs index d658f8b..7696534 100644 --- a/BlendFile/DNA/XrActionMapBinding.cs +++ b/BlendFile/DNA/XrActionMapBinding.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public XrActionMapBinding next; [DNAFieldAttribute(8, "XrActionMapBinding", 1, "*prev", "XrActionMapBinding", true, 8)] public XrActionMapBinding prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(256, "char", 3, "profile[256]", "System.Char[]", false, 80)] + [DNAArrayAttribute(256, "char", 3, "profile[256]", "System.Char[]", 256, 80)] public char[] profile = new System.Char[256]; [DNAFieldAttribute(16, "ListBase", 4, "component_paths", "ListBase", false, 336)] public ListBase component_paths; @@ -29,11 +29,11 @@ namespace BlendFile.DNA { public float float_threshold; [DNAFieldAttribute(2, "short", 6, "axis_flag", "short", false, 356)] public short axis_flag; - [DNAFieldAttribute(2, "char", 7, "_pad[2]", "System.Char[]", false, 358)] + [DNAArrayAttribute(2, "char", 7, "_pad[2]", "System.Char[]", 2, 358)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(12, "float", 8, "pose_location[3]", "System.Single[]", false, 360)] + [DNAArrayAttribute(12, "float", 8, "pose_location[3]", "System.Single[]", 3, 360)] public float[] pose_location = new System.Single[3]; - [DNAFieldAttribute(12, "float", 9, "pose_rotation[3]", "System.Single[]", false, 372)] + [DNAArrayAttribute(12, "float", 9, "pose_rotation[3]", "System.Single[]", 3, 372)] public float[] pose_rotation = new System.Single[3]; public XrActionMapBinding() { this.next = default; diff --git a/BlendFile/DNA/XrActionMapItem.cs b/BlendFile/DNA/XrActionMapItem.cs index 0ec2886..c6f4d1d 100644 --- a/BlendFile/DNA/XrActionMapItem.cs +++ b/BlendFile/DNA/XrActionMapItem.cs @@ -19,15 +19,15 @@ namespace BlendFile.DNA { public XrActionMapItem next; [DNAFieldAttribute(8, "XrActionMapItem", 1, "*prev", "XrActionMapItem", true, 8)] public XrActionMapItem prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(1, "char", 3, "type", "char", false, 80)] public char type; - [DNAFieldAttribute(7, "char", 4, "_pad[7]", "System.Char[]", false, 81)] + [DNAArrayAttribute(7, "char", 4, "_pad[7]", "System.Char[]", 7, 81)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(16, "ListBase", 5, "user_paths", "ListBase", false, 88)] public ListBase user_paths; - [DNAFieldAttribute(64, "char", 6, "op[64]", "System.Char[]", false, 104)] + [DNAArrayAttribute(64, "char", 6, "op[64]", "System.Char[]", 64, 104)] public char[] op = new System.Char[64]; [DNAFieldAttribute(8, "IDProperty", 7, "*op_properties", "IDProperty", true, 168)] public IDProperty op_properties; @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public short haptic_flag; [DNAFieldAttribute(2, "short", 12, "pose_flag", "short", false, 190)] public short pose_flag; - [DNAFieldAttribute(64, "char", 13, "haptic_name[64]", "System.Char[]", false, 192)] + [DNAArrayAttribute(64, "char", 13, "haptic_name[64]", "System.Char[]", 64, 192)] public char[] haptic_name = new System.Char[64]; [DNAFieldAttribute(4, "float", 14, "haptic_duration", "float", false, 256)] public float haptic_duration; @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public float haptic_amplitude; [DNAFieldAttribute(2, "short", 17, "selbinding", "short", false, 268)] public short selbinding; - [DNAFieldAttribute(2, "char", 18, "_pad3[2]", "System.Char[]", false, 270)] + [DNAArrayAttribute(2, "char", 18, "_pad3[2]", "System.Char[]", 2, 270)] public char[] _pad3 = new System.Char[2]; [DNAFieldAttribute(16, "ListBase", 19, "bindings", "ListBase", false, 272)] public ListBase bindings; diff --git a/BlendFile/DNA/XrComponentPath.cs b/BlendFile/DNA/XrComponentPath.cs index 502a087..a20f00a 100644 --- a/BlendFile/DNA/XrComponentPath.cs +++ b/BlendFile/DNA/XrComponentPath.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public XrComponentPath next; [DNAFieldAttribute(8, "XrComponentPath", 1, "*prev", "XrComponentPath", true, 8)] public XrComponentPath prev; - [DNAFieldAttribute(192, "char", 2, "path[192]", "System.Char[]", false, 16)] + [DNAArrayAttribute(192, "char", 2, "path[192]", "System.Char[]", 192, 16)] public char[] path = new System.Char[192]; public XrComponentPath() { this.next = default; diff --git a/BlendFile/DNA/XrSessionSettings.cs b/BlendFile/DNA/XrSessionSettings.cs index 0174fff..465d315 100644 --- a/BlendFile/DNA/XrSessionSettings.cs +++ b/BlendFile/DNA/XrSessionSettings.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public View3DShading shading; [DNAFieldAttribute(4, "float", 1, "base_scale", "float", false, 944)] public float base_scale; - [DNAFieldAttribute(3, "char", 2, "_pad[3]", "System.Char[]", false, 948)] + [DNAArrayAttribute(3, "char", 2, "_pad[3]", "System.Char[]", 3, 948)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(1, "char", 3, "base_pose_type", "char", false, 951)] public char base_pose_type; [DNAFieldAttribute(8, "Object", 4, "*base_pose_object", "Object", true, 952)] public Object base_pose_object; - [DNAFieldAttribute(12, "float", 5, "base_pose_location[3]", "System.Single[]", false, 960)] + [DNAArrayAttribute(12, "float", 5, "base_pose_location[3]", "System.Single[]", 3, 960)] public float[] base_pose_location = new System.Single[3]; [DNAFieldAttribute(4, "float", 6, "base_pose_angle", "float", false, 972)] public float base_pose_angle; @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public char draw_flags; [DNAFieldAttribute(1, "char", 8, "controller_draw_style", "char", false, 977)] public char controller_draw_style; - [DNAFieldAttribute(2, "char", 9, "_pad2[2]", "System.Char[]", false, 978)] + [DNAArrayAttribute(2, "char", 9, "_pad2[2]", "System.Char[]", 2, 978)] public char[] _pad2 = new System.Char[2]; [DNAFieldAttribute(4, "float", 10, "clip_start", "float", false, 980)] public float clip_start; diff --git a/BlendFile/DNA/XrUserPath.cs b/BlendFile/DNA/XrUserPath.cs index 483f7e0..ae3b7f8 100644 --- a/BlendFile/DNA/XrUserPath.cs +++ b/BlendFile/DNA/XrUserPath.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public XrUserPath next; [DNAFieldAttribute(8, "XrUserPath", 1, "*prev", "XrUserPath", true, 8)] public XrUserPath prev; - [DNAFieldAttribute(64, "char", 2, "path[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "path[64]", "System.Char[]", 64, 16)] public char[] path = new System.Char[64]; public XrUserPath() { this.next = default; diff --git a/BlendFile/DNA/bAction.cs b/BlendFile/DNA/bAction.cs index 7916cae..9be2212 100644 --- a/BlendFile/DNA/bAction.cs +++ b/BlendFile/DNA/bAction.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int last_slot_handle; [DNAListAttribute(8, "ActionStripKeyframeData", "**strip_keyframe_data_array", 7, "ActionStripKeyframeData", "int", "strip_keyframe_data_array_num", 8, 240, 248)] public System.Collections.Generic.List strip_keyframe_data_array; - [DNAFieldAttribute(4, "char", 9, "_pad0[4]", "System.Char[]", false, 252)] + [DNAArrayAttribute(4, "char", 9, "_pad0[4]", "System.Char[]", 4, 252)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(16, "ListBase", 10, "curves", "ListBase", false, 256)] public ListBase curves; @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public int active_marker; [DNAFieldAttribute(4, "int", 16, "idroot", "int", false, 328)] public int idroot; - [DNAFieldAttribute(4, "char", 17, "_pad1[4]", "System.Char[]", false, 332)] + [DNAArrayAttribute(4, "char", 17, "_pad1[4]", "System.Char[]", 4, 332)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "float", 18, "frame_start", "float", false, 336)] public float frame_start; diff --git a/BlendFile/DNA/bActionChannel.cs b/BlendFile/DNA/bActionChannel.cs index 1b838ac..922d956 100644 --- a/BlendFile/DNA/bActionChannel.cs +++ b/BlendFile/DNA/bActionChannel.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public ListBase constraintChannels; [DNAFieldAttribute(4, "int", 5, "flag", "int", false, 48)] public int flag; - [DNAFieldAttribute(64, "char", 6, "name[64]", "System.Char[]", false, 52)] + [DNAArrayAttribute(64, "char", 6, "name[64]", "System.Char[]", 64, 52)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 7, "temp", "int", false, 116)] public int temp; diff --git a/BlendFile/DNA/bActionConstraint.cs b/BlendFile/DNA/bActionConstraint.cs index 15c1d05..f104d3d 100644 --- a/BlendFile/DNA/bActionConstraint.cs +++ b/BlendFile/DNA/bActionConstraint.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(1, "char", 8, "mix_mode", "char", false, 32)] public char mix_mode; - [DNAFieldAttribute(3, "char", 9, "_pad[3]", "System.Char[]", false, 33)] + [DNAArrayAttribute(3, "char", 9, "_pad[3]", "System.Char[]", 3, 33)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "float", 10, "eval_time", "float", false, 36)] public float eval_time; @@ -41,11 +41,11 @@ namespace BlendFile.DNA { public bAction act; [DNAFieldAttribute(4, "int", 12, "action_slot_handle", "int", false, 48)] public int action_slot_handle; - [DNAFieldAttribute(66, "char", 13, "action_slot_name[66]", "System.Char[]", false, 52)] + [DNAArrayAttribute(66, "char", 13, "action_slot_name[66]", "System.Char[]", 66, 52)] public char[] action_slot_name = new System.Char[66]; - [DNAFieldAttribute(2, "char", 14, "_pad1[2]", "System.Char[]", false, 118)] + [DNAArrayAttribute(2, "char", 14, "_pad1[2]", "System.Char[]", 2, 118)] public char[] _pad1 = new System.Char[2]; - [DNAFieldAttribute(64, "char", 15, "subtarget[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 15, "subtarget[64]", "System.Char[]", 64, 120)] public char[] subtarget = new System.Char[64]; public bActionConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bActionGroup.cs b/BlendFile/DNA/bActionGroup.cs index 74b4364..67fefbb 100644 --- a/BlendFile/DNA/bActionGroup.cs +++ b/BlendFile/DNA/bActionGroup.cs @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "int", 7, "customCol", "int", false, 52)] public int customCol; - [DNAFieldAttribute(64, "char", 8, "name[64]", "System.Char[]", false, 56)] + [DNAArrayAttribute(64, "char", 8, "name[64]", "System.Char[]", 64, 56)] public char[] name = new System.Char[64]; [DNAFieldAttribute(16, "ThemeWireColor", 9, "cs", "ThemeWireColor", false, 120)] public ThemeWireColor cs; diff --git a/BlendFile/DNA/bActionModifier.cs b/BlendFile/DNA/bActionModifier.cs index 2ec7803..1a28529 100644 --- a/BlendFile/DNA/bActionModifier.cs +++ b/BlendFile/DNA/bActionModifier.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public short type; [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 18)] public short flag; - [DNAFieldAttribute(32, "char", 4, "channel[32]", "System.Char[]", false, 20)] + [DNAArrayAttribute(32, "char", 4, "channel[32]", "System.Char[]", 32, 20)] public char[] channel = new System.Char[32]; [DNAFieldAttribute(4, "float", 5, "noisesize", "float", false, 52)] public float noisesize; diff --git a/BlendFile/DNA/bActionStrip.cs b/BlendFile/DNA/bActionStrip.cs index 54a097c..732f5d3 100644 --- a/BlendFile/DNA/bActionStrip.cs +++ b/BlendFile/DNA/bActionStrip.cs @@ -53,9 +53,9 @@ namespace BlendFile.DNA { public float blendin; [DNAFieldAttribute(4, "float", 18, "blendout", "float", false, 84)] public float blendout; - [DNAFieldAttribute(32, "char", 19, "stridechannel[32]", "System.Char[]", false, 88)] + [DNAArrayAttribute(32, "char", 19, "stridechannel[32]", "System.Char[]", 32, 88)] public char[] stridechannel = new System.Char[32]; - [DNAFieldAttribute(32, "char", 20, "offs_bone[32]", "System.Char[]", false, 120)] + [DNAArrayAttribute(32, "char", 20, "offs_bone[32]", "System.Char[]", 32, 120)] public char[] offs_bone = new System.Char[32]; [DNAFieldAttribute(16, "ListBase", 21, "modifiers", "ListBase", false, 152)] public ListBase modifiers; diff --git a/BlendFile/DNA/bAddon.cs b/BlendFile/DNA/bAddon.cs index b4d2f82..df89534 100644 --- a/BlendFile/DNA/bAddon.cs +++ b/BlendFile/DNA/bAddon.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public bAddon next; [DNAFieldAttribute(8, "bAddon", 1, "*prev", "bAddon", true, 8)] public bAddon prev; - [DNAFieldAttribute(128, "char", 2, "module[128]", "System.Char[]", false, 16)] + [DNAArrayAttribute(128, "char", 2, "module[128]", "System.Char[]", 128, 16)] public char[] module = new System.Char[128]; [DNAFieldAttribute(8, "IDProperty", 3, "*prop", "IDProperty", true, 144)] public IDProperty prop; diff --git a/BlendFile/DNA/bAnimVizSettings.cs b/BlendFile/DNA/bAnimVizSettings.cs index f0a46ec..ff41e0f 100644 --- a/BlendFile/DNA/bAnimVizSettings.cs +++ b/BlendFile/DNA/bAnimVizSettings.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public short path_viewflag; [DNAFieldAttribute(2, "short", 5, "path_bakeflag", "short", false, 10)] public short path_bakeflag; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 7, "path_sf", "int", false, 16)] public int path_sf; diff --git a/BlendFile/DNA/bArmature.cs b/BlendFile/DNA/bArmature.cs index 8246e22..274e688 100644 --- a/BlendFile/DNA/bArmature.cs +++ b/BlendFile/DNA/bArmature.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public EditBone act_edbone; [DNAFieldAttribute(1, "char", 8, "needs_flush_to_id", "char", false, 272)] public char needs_flush_to_id; - [DNAFieldAttribute(3, "char", 9, "_pad0[3]", "System.Char[]", false, 273)] + [DNAArrayAttribute(3, "char", 9, "_pad0[3]", "System.Char[]", 3, 273)] public char[] _pad0 = new System.Char[3]; [DNAFieldAttribute(4, "int", 10, "flag", "int", false, 276)] public int flag; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public System.Collections.Generic.List collection_array; [DNAFieldAttribute(4, "int", 17, "collection_root_count", "int", false, 316)] public int collection_root_count; - [DNAFieldAttribute(64, "char", 18, "active_collection_name[64]", "System.Char[]", false, 320)] + [DNAArrayAttribute(64, "char", 18, "active_collection_name[64]", "System.Char[]", 64, 320)] public char[] active_collection_name = new System.Char[64]; [DNAFieldAttribute(4, "int", 19, "layer_used", "int", false, 384)] public int layer_used; diff --git a/BlendFile/DNA/bArmatureConstraint.cs b/BlendFile/DNA/bArmatureConstraint.cs index eded574..8060acb 100644 --- a/BlendFile/DNA/bArmatureConstraint.cs +++ b/BlendFile/DNA/bArmatureConstraint.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class bArmatureConstraint { [DNAFieldAttribute(4, "int", 0, "flag", "int", false, 0)] public int flag; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 4)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(16, "ListBase", 2, "targets", "ListBase", false, 8)] public ListBase targets; diff --git a/BlendFile/DNA/bArmature_Runtime.cs b/BlendFile/DNA/bArmature_Runtime.cs index 61c21f6..0edb2d5 100644 --- a/BlendFile/DNA/bArmature_Runtime.cs +++ b/BlendFile/DNA/bArmature_Runtime.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class bArmature_Runtime { [DNAFieldAttribute(4, "int", 0, "active_collection_index", "int", false, 0)] public int active_collection_index; - [DNAFieldAttribute(4, "uchar", 1, "_pad0[4]", "System.Byte[]", false, 4)] + [DNAArrayAttribute(4, "uchar", 1, "_pad0[4]", "System.Byte[]", 4, 4)] public byte[] _pad0 = new System.Byte[4]; [DNAFieldAttribute(8, "BoneCollection", 2, "*active_collection", "BoneCollection", true, 8)] public BoneCollection active_collection; diff --git a/BlendFile/DNA/bCameraSolverConstraint.cs b/BlendFile/DNA/bCameraSolverConstraint.cs index f1435a7..1957f96 100644 --- a/BlendFile/DNA/bCameraSolverConstraint.cs +++ b/BlendFile/DNA/bCameraSolverConstraint.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public MovieClip clip; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; public bCameraSolverConstraint() { this.clip = default; diff --git a/BlendFile/DNA/bChildOfConstraint.cs b/BlendFile/DNA/bChildOfConstraint.cs index ee93f0e..aff9c68 100644 --- a/BlendFile/DNA/bChildOfConstraint.cs +++ b/BlendFile/DNA/bChildOfConstraint.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public Object tar; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(64, "float", 3, "invmat[4][4]", "System.Single[,]", false, 16)] + [DNAArrayAttribute(64, "float", 3, "invmat[4][4]", "System.Single[,]", 8, 16)] public float[,] invmat = new System.Single[4,4]; - [DNAFieldAttribute(64, "char", 4, "subtarget[64]", "System.Char[]", false, 80)] + [DNAArrayAttribute(64, "char", 4, "subtarget[64]", "System.Char[]", 64, 80)] public char[] subtarget = new System.Char[64]; public bChildOfConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bConstraint.cs b/BlendFile/DNA/bConstraint.cs index 8aab928..2497f81 100644 --- a/BlendFile/DNA/bConstraint.cs +++ b/BlendFile/DNA/bConstraint.cs @@ -33,9 +33,9 @@ namespace BlendFile.DNA { public short ui_expand_flag; [DNAFieldAttribute(8, "Object", 8, "*space_object", "Object", true, 32)] public Object space_object; - [DNAFieldAttribute(64, "char", 9, "space_subtarget[64]", "System.Char[]", false, 40)] + [DNAArrayAttribute(64, "char", 9, "space_subtarget[64]", "System.Char[]", 64, 40)] public char[] space_subtarget = new System.Char[64]; - [DNAFieldAttribute(64, "char", 10, "name[64]", "System.Char[]", false, 104)] + [DNAArrayAttribute(64, "char", 10, "name[64]", "System.Char[]", 64, 104)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "float", 11, "enforce", "float", false, 168)] public float enforce; diff --git a/BlendFile/DNA/bConstraintChannel.cs b/BlendFile/DNA/bConstraintChannel.cs index ef555e5..c933ab2 100644 --- a/BlendFile/DNA/bConstraintChannel.cs +++ b/BlendFile/DNA/bConstraintChannel.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public Ipo ipo; [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 24)] public short flag; - [DNAFieldAttribute(30, "char", 4, "name[30]", "System.Char[]", false, 26)] + [DNAArrayAttribute(30, "char", 4, "name[30]", "System.Char[]", 30, 26)] public char[] name = new System.Char[30]; public bConstraintChannel() { this.next = default; diff --git a/BlendFile/DNA/bConstraintTarget.cs b/BlendFile/DNA/bConstraintTarget.cs index 31cdaae..a06a5ab 100644 --- a/BlendFile/DNA/bConstraintTarget.cs +++ b/BlendFile/DNA/bConstraintTarget.cs @@ -21,9 +21,9 @@ namespace BlendFile.DNA { public bConstraintTarget prev; [DNAFieldAttribute(8, "Object", 2, "*tar", "Object", true, 16)] public Object tar; - [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 24)] + [DNAArrayAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", 64, 24)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(64, "float", 4, "matrix[4][4]", "System.Single[,]", false, 88)] + [DNAArrayAttribute(64, "float", 4, "matrix[4][4]", "System.Single[,]", 8, 88)] public float[,] matrix = new System.Single[4,4]; [DNAFieldAttribute(2, "short", 5, "space", "short", false, 152)] public short space; @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public short rotOrder; [DNAFieldAttribute(4, "float", 9, "weight", "float", false, 160)] public float weight; - [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 164)] + [DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, 164)] public char[] _pad = new System.Char[4]; public bConstraintTarget() { this.next = default; diff --git a/BlendFile/DNA/bDampTrackConstraint.cs b/BlendFile/DNA/bDampTrackConstraint.cs index 6f3a46b..530b6af 100644 --- a/BlendFile/DNA/bDampTrackConstraint.cs +++ b/BlendFile/DNA/bDampTrackConstraint.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public Object tar; [DNAFieldAttribute(4, "int", 1, "trackflag", "int", false, 8)] public int trackflag; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", 64, 16)] public char[] subtarget = new System.Char[64]; public bDampTrackConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bDeformGroup.cs b/BlendFile/DNA/bDeformGroup.cs index f19d3f6..e032b1f 100644 --- a/BlendFile/DNA/bDeformGroup.cs +++ b/BlendFile/DNA/bDeformGroup.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public bDeformGroup next; [DNAFieldAttribute(8, "bDeformGroup", 1, "*prev", "bDeformGroup", true, 8)] public bDeformGroup prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 80)] public char flag; - [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 81)] + [DNAArrayAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", 7, 81)] public char[] _pad0 = new System.Char[7]; public bDeformGroup() { this.next = default; diff --git a/BlendFile/DNA/bDistLimitConstraint.cs b/BlendFile/DNA/bDistLimitConstraint.cs index cc21766..526707f 100644 --- a/BlendFile/DNA/bDistLimitConstraint.cs +++ b/BlendFile/DNA/bDistLimitConstraint.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class bDistLimitConstraint { [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] public Object tar; - [DNAFieldAttribute(64, "char", 1, "subtarget[64]", "System.Char[]", false, 8)] + [DNAArrayAttribute(64, "char", 1, "subtarget[64]", "System.Char[]", 64, 8)] public char[] subtarget = new System.Char[64]; [DNAFieldAttribute(4, "float", 2, "dist", "float", false, 72)] public float dist; @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 5, "mode", "short", false, 82)] public short mode; - [DNAFieldAttribute(4, "char", 6, "_pad[4]", "System.Char[]", false, 84)] + [DNAArrayAttribute(4, "char", 6, "_pad[4]", "System.Char[]", 4, 84)] public char[] _pad = new System.Char[4]; public bDistLimitConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bDopeSheet.cs b/BlendFile/DNA/bDopeSheet.cs index 539bd42..f07eda8 100644 --- a/BlendFile/DNA/bDopeSheet.cs +++ b/BlendFile/DNA/bDopeSheet.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public ListBase chanbase; [DNAFieldAttribute(8, "Collection", 2, "*filter_grp", "Collection", true, 24)] public Collection filter_grp; - [DNAFieldAttribute(64, "char", 3, "searchstr[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 3, "searchstr[64]", "System.Char[]", 64, 32)] public char[] searchstr = new System.Char[64]; [DNAFieldAttribute(4, "int", 4, "filterflag", "int", false, 96)] public int filterflag; diff --git a/BlendFile/DNA/bFaceMap.cs b/BlendFile/DNA/bFaceMap.cs index 41d6154..4c72797 100644 --- a/BlendFile/DNA/bFaceMap.cs +++ b/BlendFile/DNA/bFaceMap.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public bFaceMap next; [DNAFieldAttribute(8, "bFaceMap", 1, "*prev", "bFaceMap", true, 8)] public bFaceMap prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 80)] public char flag; - [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 81)] + [DNAArrayAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", 7, 81)] public char[] _pad0 = new System.Char[7]; public bFaceMap() { this.next = default; diff --git a/BlendFile/DNA/bFollowTrackConstraint.cs b/BlendFile/DNA/bFollowTrackConstraint.cs index 9b9d4de..9d3e0e3 100644 --- a/BlendFile/DNA/bFollowTrackConstraint.cs +++ b/BlendFile/DNA/bFollowTrackConstraint.cs @@ -17,13 +17,13 @@ namespace BlendFile.DNA { public class bFollowTrackConstraint { [DNAFieldAttribute(8, "MovieClip", 0, "*clip", "MovieClip", true, 0)] public MovieClip clip; - [DNAFieldAttribute(64, "char", 1, "track[64]", "System.Char[]", false, 8)] + [DNAArrayAttribute(64, "char", 1, "track[64]", "System.Char[]", 64, 8)] public char[] track = new System.Char[64]; [DNAFieldAttribute(4, "int", 2, "flag", "int", false, 72)] public int flag; [DNAFieldAttribute(4, "int", 3, "frame_method", "int", false, 76)] public int frame_method; - [DNAFieldAttribute(64, "char", 4, "object[64]", "System.Char[]", false, 80)] + [DNAArrayAttribute(64, "char", 4, "object[64]", "System.Char[]", 64, 80)] public char[] @object = new System.Char[64]; [DNAFieldAttribute(8, "Object", 5, "*camera", "Object", true, 144)] public Object camera; diff --git a/BlendFile/DNA/bGPDcontrolpoint.cs b/BlendFile/DNA/bGPDcontrolpoint.cs index 988d624..9327816 100644 --- a/BlendFile/DNA/bGPDcontrolpoint.cs +++ b/BlendFile/DNA/bGPDcontrolpoint.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public float y; [DNAFieldAttribute(4, "float", 2, "z", "float", false, 8)] public float z; - [DNAFieldAttribute(16, "float", 3, "color[4]", "System.Single[]", false, 12)] + [DNAArrayAttribute(16, "float", 3, "color[4]", "System.Single[]", 4, 12)] public float[] color = new System.Single[4]; [DNAFieldAttribute(4, "int", 4, "size", "int", false, 28)] public int size; diff --git a/BlendFile/DNA/bGPDcurve.cs b/BlendFile/DNA/bGPDcurve.cs index e1478c4..1f51c2e 100644 --- a/BlendFile/DNA/bGPDcurve.cs +++ b/BlendFile/DNA/bGPDcurve.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public int tot_curve_points; [DNAFieldAttribute(2, "short", 2, "flag", "short", false, 12)] public short flag; - [DNAFieldAttribute(2, "char", 3, "_pad[2]", "System.Char[]", false, 14)] + [DNAArrayAttribute(2, "char", 3, "_pad[2]", "System.Char[]", 2, 14)] public char[] _pad = new System.Char[2]; public bGPDcurve() { this.curve_points = default; diff --git a/BlendFile/DNA/bGPDcurve_point.cs b/BlendFile/DNA/bGPDcurve_point.cs index 3f3960b..8a4025f 100644 --- a/BlendFile/DNA/bGPDcurve_point.cs +++ b/BlendFile/DNA/bGPDcurve_point.cs @@ -29,11 +29,11 @@ namespace BlendFile.DNA { public float uv_fac; [DNAFieldAttribute(4, "float", 6, "uv_rot", "float", false, 92)] public float uv_rot; - [DNAFieldAttribute(8, "float", 7, "uv_fill[2]", "System.Single[]", false, 96)] + [DNAArrayAttribute(8, "float", 7, "uv_fill[2]", "System.Single[]", 2, 96)] public float[] uv_fill = new System.Single[2]; - [DNAFieldAttribute(16, "float", 8, "vert_color[4]", "System.Single[]", false, 104)] + [DNAArrayAttribute(16, "float", 8, "vert_color[4]", "System.Single[]", 4, 104)] public float[] vert_color = new System.Single[4]; - [DNAFieldAttribute(4, "char", 9, "_pad[4]", "System.Char[]", false, 120)] + [DNAArrayAttribute(4, "char", 9, "_pad[4]", "System.Char[]", 4, 120)] public char[] _pad = new System.Char[4]; public bGPDcurve_point() { this.bezt = default; diff --git a/BlendFile/DNA/bGPDlayer.cs b/BlendFile/DNA/bGPDlayer.cs index 896e6aa..1d48340 100644 --- a/BlendFile/DNA/bGPDlayer.cs +++ b/BlendFile/DNA/bGPDlayer.cs @@ -27,11 +27,11 @@ namespace BlendFile.DNA { public short flag; [DNAFieldAttribute(2, "short", 5, "onion_flag", "short", false, 42)] public short onion_flag; - [DNAFieldAttribute(16, "float", 6, "color[4]", "System.Single[]", false, 44)] + [DNAArrayAttribute(16, "float", 6, "color[4]", "System.Single[]", 4, 44)] public float[] color = new System.Single[4]; - [DNAFieldAttribute(16, "float", 7, "fill[4]", "System.Single[]", false, 60)] + [DNAArrayAttribute(16, "float", 7, "fill[4]", "System.Single[]", 4, 60)] public float[] fill = new System.Single[4]; - [DNAFieldAttribute(128, "char", 8, "info[128]", "System.Char[]", false, 76)] + [DNAArrayAttribute(128, "char", 8, "info[128]", "System.Char[]", 128, 76)] public char[] info = new System.Char[128]; [DNAFieldAttribute(2, "short", 9, "thickness", "short", false, 204)] public short thickness; @@ -39,19 +39,19 @@ namespace BlendFile.DNA { public short pass_index; [DNAFieldAttribute(8, "Object", 11, "*parent", "Object", true, 208)] public Object parent; - [DNAFieldAttribute(64, "float", 12, "inverse[4][4]", "System.Single[,]", false, 216)] + [DNAArrayAttribute(64, "float", 12, "inverse[4][4]", "System.Single[,]", 8, 216)] public float[,] inverse = new System.Single[4,4]; - [DNAFieldAttribute(64, "char", 13, "parsubstr[64]", "System.Char[]", false, 280)] + [DNAArrayAttribute(64, "char", 13, "parsubstr[64]", "System.Char[]", 64, 280)] public char[] parsubstr = new System.Char[64]; [DNAFieldAttribute(2, "short", 14, "partype", "short", false, 344)] public short partype; [DNAFieldAttribute(2, "short", 15, "line_change", "short", false, 346)] public short line_change; - [DNAFieldAttribute(16, "float", 16, "tintcolor[4]", "System.Single[]", false, 348)] + [DNAArrayAttribute(16, "float", 16, "tintcolor[4]", "System.Single[]", 4, 348)] public float[] tintcolor = new System.Single[4]; [DNAFieldAttribute(4, "float", 17, "opacity", "float", false, 364)] public float opacity; - [DNAFieldAttribute(64, "char", 18, "viewlayername[64]", "System.Char[]", false, 368)] + [DNAArrayAttribute(64, "char", 18, "viewlayername[64]", "System.Char[]", 64, 368)] public char[] viewlayername = new System.Char[64]; [DNAFieldAttribute(4, "int", 19, "blend_mode", "int", false, 432)] public int blend_mode; @@ -61,29 +61,29 @@ namespace BlendFile.DNA { public short gstep; [DNAFieldAttribute(2, "short", 22, "gstep_next", "short", false, 442)] public short gstep_next; - [DNAFieldAttribute(12, "float", 23, "gcolor_prev[3]", "System.Single[]", false, 444)] + [DNAArrayAttribute(12, "float", 23, "gcolor_prev[3]", "System.Single[]", 3, 444)] public float[] gcolor_prev = new System.Single[3]; - [DNAFieldAttribute(12, "float", 24, "gcolor_next[3]", "System.Single[]", false, 456)] + [DNAArrayAttribute(12, "float", 24, "gcolor_next[3]", "System.Single[]", 3, 456)] public float[] gcolor_next = new System.Single[3]; - [DNAFieldAttribute(4, "char", 25, "_pad1[4]", "System.Char[]", false, 468)] + [DNAArrayAttribute(4, "char", 25, "_pad1[4]", "System.Char[]", 4, 468)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(16, "ListBase", 26, "mask_layers", "ListBase", false, 472)] public ListBase mask_layers; [DNAFieldAttribute(4, "int", 27, "act_mask", "int", false, 488)] public int act_mask; - [DNAFieldAttribute(4, "char", 28, "_pad2[4]", "System.Char[]", false, 492)] + [DNAArrayAttribute(4, "char", 28, "_pad2[4]", "System.Char[]", 4, 492)] public char[] _pad2 = new System.Char[4]; - [DNAFieldAttribute(12, "float", 29, "location[3]", "System.Single[]", false, 496)] + [DNAArrayAttribute(12, "float", 29, "location[3]", "System.Single[]", 3, 496)] public float[] location = new System.Single[3]; - [DNAFieldAttribute(12, "float", 30, "rotation[3]", "System.Single[]", false, 508)] + [DNAArrayAttribute(12, "float", 30, "rotation[3]", "System.Single[]", 3, 508)] public float[] rotation = new System.Single[3]; - [DNAFieldAttribute(12, "float", 31, "scale[3]", "System.Single[]", false, 520)] + [DNAArrayAttribute(12, "float", 31, "scale[3]", "System.Single[]", 3, 520)] public float[] scale = new System.Single[3]; - [DNAFieldAttribute(64, "float", 32, "layer_mat[4][4]", "System.Single[,]", false, 532)] + [DNAArrayAttribute(64, "float", 32, "layer_mat[4][4]", "System.Single[,]", 8, 532)] public float[,] layer_mat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 33, "layer_invmat[4][4]", "System.Single[,]", false, 596)] + [DNAArrayAttribute(64, "float", 33, "layer_invmat[4][4]", "System.Single[,]", 8, 596)] public float[,] layer_invmat = new System.Single[4,4]; - [DNAFieldAttribute(4, "char", 34, "_pad3[4]", "System.Char[]", false, 660)] + [DNAArrayAttribute(4, "char", 34, "_pad3[4]", "System.Char[]", 4, 660)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(16, "bGPDlayer_Runtime", 35, "runtime", "bGPDlayer_Runtime", false, 664)] public bGPDlayer_Runtime runtime; diff --git a/BlendFile/DNA/bGPDlayer_Mask.cs b/BlendFile/DNA/bGPDlayer_Mask.cs index 1ee431c..3542d7d 100644 --- a/BlendFile/DNA/bGPDlayer_Mask.cs +++ b/BlendFile/DNA/bGPDlayer_Mask.cs @@ -19,13 +19,13 @@ namespace BlendFile.DNA { public bGPDlayer_Mask next; [DNAFieldAttribute(8, "bGPDlayer_Mask", 1, "*prev", "bGPDlayer_Mask", true, 8)] public bGPDlayer_Mask prev; - [DNAFieldAttribute(128, "char", 2, "name[128]", "System.Char[]", false, 16)] + [DNAArrayAttribute(128, "char", 2, "name[128]", "System.Char[]", 128, 16)] public char[] name = new System.Char[128]; [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 144)] public short flag; [DNAFieldAttribute(2, "short", 4, "sort_index", "short", false, 146)] public short sort_index; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 148)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 148)] public char[] _pad = new System.Char[4]; public bGPDlayer_Mask() { this.next = default; diff --git a/BlendFile/DNA/bGPDlayer_Runtime.cs b/BlendFile/DNA/bGPDlayer_Runtime.cs index ca3aaab..467999a 100644 --- a/BlendFile/DNA/bGPDlayer_Runtime.cs +++ b/BlendFile/DNA/bGPDlayer_Runtime.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class bGPDlayer_Runtime { [DNAFieldAttribute(4, "int", 0, "icon_id", "int", false, 0)] public int icon_id; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 4)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "bGPDlayer", 2, "*gpl_orig", "bGPDlayer", true, 8)] public bGPDlayer gpl_orig; diff --git a/BlendFile/DNA/bGPDpalette.cs b/BlendFile/DNA/bGPDpalette.cs index 21d1978..ba0cd34 100644 --- a/BlendFile/DNA/bGPDpalette.cs +++ b/BlendFile/DNA/bGPDpalette.cs @@ -21,11 +21,11 @@ namespace BlendFile.DNA { public bGPDpalette prev; [DNAFieldAttribute(16, "ListBase", 2, "colors", "ListBase", false, 16)] public ListBase colors; - [DNAFieldAttribute(64, "char", 3, "info[64]", "System.Char[]", false, 32)] + [DNAArrayAttribute(64, "char", 3, "info[64]", "System.Char[]", 64, 32)] public char[] info = new System.Char[64]; [DNAFieldAttribute(2, "short", 4, "flag", "short", false, 96)] public short flag; - [DNAFieldAttribute(6, "char", 5, "_pad[6]", "System.Char[]", false, 98)] + [DNAArrayAttribute(6, "char", 5, "_pad[6]", "System.Char[]", 6, 98)] public char[] _pad = new System.Char[6]; public bGPDpalette() { this.next = default; diff --git a/BlendFile/DNA/bGPDpalettecolor.cs b/BlendFile/DNA/bGPDpalettecolor.cs index cbb4a68..4ff20c8 100644 --- a/BlendFile/DNA/bGPDpalettecolor.cs +++ b/BlendFile/DNA/bGPDpalettecolor.cs @@ -19,15 +19,15 @@ namespace BlendFile.DNA { public bGPDpalettecolor next; [DNAFieldAttribute(8, "bGPDpalettecolor", 1, "*prev", "bGPDpalettecolor", true, 8)] public bGPDpalettecolor prev; - [DNAFieldAttribute(64, "char", 2, "info[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "info[64]", "System.Char[]", 64, 16)] public char[] info = new System.Char[64]; - [DNAFieldAttribute(16, "float", 3, "color[4]", "System.Single[]", false, 80)] + [DNAArrayAttribute(16, "float", 3, "color[4]", "System.Single[]", 4, 80)] public float[] color = new System.Single[4]; - [DNAFieldAttribute(16, "float", 4, "fill[4]", "System.Single[]", false, 96)] + [DNAArrayAttribute(16, "float", 4, "fill[4]", "System.Single[]", 4, 96)] public float[] fill = new System.Single[4]; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 112)] public short flag; - [DNAFieldAttribute(6, "char", 6, "_pad[6]", "System.Char[]", false, 114)] + [DNAArrayAttribute(6, "char", 6, "_pad[6]", "System.Char[]", 6, 114)] public char[] _pad = new System.Char[6]; public bGPDpalettecolor() { this.next = default; diff --git a/BlendFile/DNA/bGPDspoint.cs b/BlendFile/DNA/bGPDspoint.cs index 6551117..29e7b15 100644 --- a/BlendFile/DNA/bGPDspoint.cs +++ b/BlendFile/DNA/bGPDspoint.cs @@ -33,11 +33,11 @@ namespace BlendFile.DNA { public float uv_fac; [DNAFieldAttribute(4, "float", 8, "uv_rot", "float", false, 32)] public float uv_rot; - [DNAFieldAttribute(8, "float", 9, "uv_fill[2]", "System.Single[]", false, 36)] + [DNAArrayAttribute(8, "float", 9, "uv_fill[2]", "System.Single[]", 2, 36)] public float[] uv_fill = new System.Single[2]; - [DNAFieldAttribute(16, "float", 10, "vert_color[4]", "System.Single[]", false, 44)] + [DNAArrayAttribute(16, "float", 10, "vert_color[4]", "System.Single[]", 4, 44)] public float[] vert_color = new System.Single[4]; - [DNAFieldAttribute(4, "char", 11, "_pad2[4]", "System.Char[]", false, 60)] + [DNAArrayAttribute(4, "char", 11, "_pad2[4]", "System.Char[]", 4, 60)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(16, "bGPDspoint_Runtime", 12, "runtime", "bGPDspoint_Runtime", false, 64)] public bGPDspoint_Runtime runtime; diff --git a/BlendFile/DNA/bGPDspoint_Runtime.cs b/BlendFile/DNA/bGPDspoint_Runtime.cs index 7007447..12abd0e 100644 --- a/BlendFile/DNA/bGPDspoint_Runtime.cs +++ b/BlendFile/DNA/bGPDspoint_Runtime.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public bGPDspoint pt_orig; [DNAFieldAttribute(4, "int", 1, "idx_orig", "int", false, 8)] public int idx_orig; - [DNAFieldAttribute(4, "char", 2, "_pad0[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 2, "_pad0[4]", "System.Char[]", 4, 12)] public char[] _pad0 = new System.Char[4]; public bGPDspoint_Runtime() { this.pt_orig = default; diff --git a/BlendFile/DNA/bGPDstroke.cs b/BlendFile/DNA/bGPDstroke.cs index a73c139..8535050 100644 --- a/BlendFile/DNA/bGPDstroke.cs +++ b/BlendFile/DNA/bGPDstroke.cs @@ -31,41 +31,41 @@ namespace BlendFile.DNA { public short thickness; [DNAFieldAttribute(2, "short", 7, "flag", "short", false, 42)] public short flag; - [DNAFieldAttribute(4, "short", 8, "_pad[2]", "System.Int16[]", false, 44)] + [DNAArrayAttribute(4, "short", 8, "_pad[2]", "System.Int16[]", 2, 44)] public short[] _pad = new System.Int16[2]; [DNAFieldAttribute(8, "double", 9, "inittime", "double", false, 48)] public double inittime; - [DNAFieldAttribute(128, "char", 10, "colorname[128]", "System.Char[]", false, 56)] + [DNAArrayAttribute(128, "char", 10, "colorname[128]", "System.Char[]", 128, 56)] public char[] colorname = new System.Char[128]; [DNAFieldAttribute(4, "int", 11, "mat_nr", "int", false, 184)] public int mat_nr; - [DNAFieldAttribute(4, "short", 12, "caps[2]", "System.Int16[]", false, 188)] + [DNAArrayAttribute(4, "short", 12, "caps[2]", "System.Int16[]", 2, 188)] public short[] caps = new System.Int16[2]; [DNAFieldAttribute(4, "float", 13, "gradient_f", "float", false, 192)] public float gradient_f; - [DNAFieldAttribute(8, "float", 14, "gradient_s[2]", "System.Single[]", false, 196)] + [DNAArrayAttribute(8, "float", 14, "gradient_s[2]", "System.Single[]", 2, 196)] public float[] gradient_s = new System.Single[2]; [DNAFieldAttribute(4, "float", 15, "fill_opacity_fac", "float", false, 204)] public float fill_opacity_fac; - [DNAFieldAttribute(12, "float", 16, "boundbox_min[3]", "System.Single[]", false, 208)] + [DNAArrayAttribute(12, "float", 16, "boundbox_min[3]", "System.Single[]", 3, 208)] public float[] boundbox_min = new System.Single[3]; - [DNAFieldAttribute(12, "float", 17, "boundbox_max[3]", "System.Single[]", false, 220)] + [DNAArrayAttribute(12, "float", 17, "boundbox_max[3]", "System.Single[]", 3, 220)] public float[] boundbox_max = new System.Single[3]; [DNAFieldAttribute(4, "float", 18, "uv_rotation", "float", false, 232)] public float uv_rotation; - [DNAFieldAttribute(8, "float", 19, "uv_translation[2]", "System.Single[]", false, 236)] + [DNAArrayAttribute(8, "float", 19, "uv_translation[2]", "System.Single[]", 2, 236)] public float[] uv_translation = new System.Single[2]; [DNAFieldAttribute(4, "float", 20, "uv_scale", "float", false, 244)] public float uv_scale; [DNAFieldAttribute(4, "int", 21, "select_index", "int", false, 248)] public int select_index; - [DNAFieldAttribute(4, "char", 22, "_pad4[4]", "System.Char[]", false, 252)] + [DNAArrayAttribute(4, "char", 22, "_pad4[4]", "System.Char[]", 4, 252)] public char[] _pad4 = new System.Char[4]; [DNAFieldAttribute(8, "MDeformVert", 23, "*dvert", "MDeformVert", true, 256)] public MDeformVert dvert; [DNAFieldAttribute(8, "void", 24, "*_pad3", "void", true, 264)] public object _pad3; - [DNAFieldAttribute(16, "float", 25, "vert_color_fill[4]", "System.Single[]", false, 272)] + [DNAArrayAttribute(16, "float", 25, "vert_color_fill[4]", "System.Single[]", 4, 272)] public float[] vert_color_fill = new System.Single[4]; [DNAFieldAttribute(8, "bGPDcurve", 26, "*editcurve", "bGPDcurve", true, 288)] public bGPDcurve editcurve; diff --git a/BlendFile/DNA/bGPDstroke_Runtime.cs b/BlendFile/DNA/bGPDstroke_Runtime.cs index a770bd0..1d93ec4 100644 --- a/BlendFile/DNA/bGPDstroke_Runtime.cs +++ b/BlendFile/DNA/bGPDstroke_Runtime.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(261, "bGPDstroke_Runtime", 168)] public class bGPDstroke_Runtime { - [DNAFieldAttribute(128, "char", 0, "tmp_layerinfo[128]", "System.Char[]", false, 0)] + [DNAArrayAttribute(128, "char", 0, "tmp_layerinfo[128]", "System.Char[]", 128, 0)] public char[] tmp_layerinfo = new System.Char[128]; [DNAFieldAttribute(4, "float", 1, "multi_frame_falloff", "float", false, 128)] public float multi_frame_falloff; diff --git a/BlendFile/DNA/bGPDtriangle.cs b/BlendFile/DNA/bGPDtriangle.cs index a92c1db..37cba18 100644 --- a/BlendFile/DNA/bGPDtriangle.cs +++ b/BlendFile/DNA/bGPDtriangle.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(256, "bGPDtriangle", 12)] public class bGPDtriangle { - [DNAFieldAttribute(12, "int", 0, "verts[3]", "System.Int32[]", false, 0)] + [DNAArrayAttribute(12, "int", 0, "verts[3]", "System.Int32[]", 3, 0)] public int[] verts = new System.Int32[3]; public bGPDtriangle() { this.verts = default; diff --git a/BlendFile/DNA/bGPdata.cs b/BlendFile/DNA/bGPdata.cs index dde5e2c..d25f0e4 100644 --- a/BlendFile/DNA/bGPdata.cs +++ b/BlendFile/DNA/bGPdata.cs @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public ListBase vertex_group_names; [DNAFieldAttribute(4, "float", 9, "pixfactor", "float", false, 280)] public float pixfactor; - [DNAFieldAttribute(16, "float", 10, "line_color[4]", "System.Single[]", false, 284)] + [DNAArrayAttribute(16, "float", 10, "line_color[4]", "System.Single[]", 4, 284)] public float[] line_color = new System.Single[4]; [DNAFieldAttribute(4, "float", 11, "onion_factor", "float", false, 300)] public float onion_factor; @@ -47,9 +47,9 @@ namespace BlendFile.DNA { public short gstep; [DNAFieldAttribute(2, "short", 15, "gstep_next", "short", false, 314)] public short gstep_next; - [DNAFieldAttribute(12, "float", 16, "gcolor_prev[3]", "System.Single[]", false, 316)] + [DNAArrayAttribute(12, "float", 16, "gcolor_prev[3]", "System.Single[]", 3, 316)] public float[] gcolor_prev = new System.Single[3]; - [DNAFieldAttribute(12, "float", 17, "gcolor_next[3]", "System.Single[]", false, 328)] + [DNAArrayAttribute(12, "float", 17, "gcolor_next[3]", "System.Single[]", 3, 328)] public float[] gcolor_next = new System.Single[3]; [DNAFieldAttribute(4, "float", 18, "zdepth_offset", "float", false, 340)] public float zdepth_offset; @@ -61,7 +61,7 @@ namespace BlendFile.DNA { public short totlayer; [DNAFieldAttribute(2, "short", 22, "totframe", "short", false, 356)] public short totframe; - [DNAFieldAttribute(6, "char", 23, "_pad2[6]", "System.Char[]", false, 358)] + [DNAArrayAttribute(6, "char", 23, "_pad2[6]", "System.Char[]", 6, 358)] public char[] _pad2 = new System.Char[6]; [DNAFieldAttribute(4, "int", 24, "totstroke", "int", false, 364)] public int totstroke; diff --git a/BlendFile/DNA/bGPdata_Runtime.cs b/BlendFile/DNA/bGPdata_Runtime.cs index 964988e..025b75f 100644 --- a/BlendFile/DNA/bGPdata_Runtime.cs +++ b/BlendFile/DNA/bGPdata_Runtime.cs @@ -31,19 +31,19 @@ namespace BlendFile.DNA { public short matid; [DNAFieldAttribute(2, "short", 7, "sbuffer_sflag", "short", false, 44)] public short sbuffer_sflag; - [DNAFieldAttribute(2, "char", 8, "_pad1[2]", "System.Char[]", false, 46)] + [DNAArrayAttribute(2, "char", 8, "_pad1[2]", "System.Char[]", 2, 46)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(4, "int", 9, "sbuffer_used", "int", false, 48)] public int sbuffer_used; [DNAFieldAttribute(4, "int", 10, "sbuffer_size", "int", false, 52)] public int sbuffer_size; - [DNAFieldAttribute(16, "float", 11, "vert_color_fill[4]", "System.Single[]", false, 56)] + [DNAArrayAttribute(16, "float", 11, "vert_color_fill[4]", "System.Single[]", 4, 56)] public float[] vert_color_fill = new System.Single[4]; [DNAFieldAttribute(4, "float", 12, "fill_opacity_fac", "float", false, 72)] public float fill_opacity_fac; - [DNAFieldAttribute(32, "float", 13, "arrow_start[8]", "System.Single[]", false, 76)] + [DNAArrayAttribute(32, "float", 13, "arrow_start[8]", "System.Single[]", 8, 76)] public float[] arrow_start = new System.Single[8]; - [DNAFieldAttribute(32, "float", 14, "arrow_end[8]", "System.Single[]", false, 108)] + [DNAArrayAttribute(32, "float", 14, "arrow_end[8]", "System.Single[]", 8, 108)] public float[] arrow_end = new System.Single[8]; [DNAFieldAttribute(4, "int", 15, "arrow_start_style", "int", false, 140)] public int arrow_start_style; diff --git a/BlendFile/DNA/bGPgrid.cs b/BlendFile/DNA/bGPgrid.cs index 3db7950..1c09387 100644 --- a/BlendFile/DNA/bGPgrid.cs +++ b/BlendFile/DNA/bGPgrid.cs @@ -15,17 +15,17 @@ namespace BlendFile.DNA { [DNAClassAttribute(273, "bGPgrid", 40)] public class bGPgrid { - [DNAFieldAttribute(12, "float", 0, "color[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "color[3]", "System.Single[]", 3, 0)] public float[] color = new System.Single[3]; - [DNAFieldAttribute(8, "float", 1, "scale[2]", "System.Single[]", false, 12)] + [DNAArrayAttribute(8, "float", 1, "scale[2]", "System.Single[]", 2, 12)] public float[] scale = new System.Single[2]; - [DNAFieldAttribute(8, "float", 2, "offset[2]", "System.Single[]", false, 20)] + [DNAArrayAttribute(8, "float", 2, "offset[2]", "System.Single[]", 2, 20)] public float[] offset = new System.Single[2]; - [DNAFieldAttribute(4, "char", 3, "_pad1[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 3, "_pad1[4]", "System.Char[]", 4, 28)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(4, "int", 4, "lines", "int", false, 32)] public int lines; - [DNAFieldAttribute(4, "char", 5, "_pad[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 5, "_pad[4]", "System.Char[]", 4, 36)] public char[] _pad = new System.Char[4]; public bGPgrid() { this.color = default; diff --git a/BlendFile/DNA/bKinematicConstraint.cs b/BlendFile/DNA/bKinematicConstraint.cs index e1a8ea6..cab2b33 100644 --- a/BlendFile/DNA/bKinematicConstraint.cs +++ b/BlendFile/DNA/bKinematicConstraint.cs @@ -25,11 +25,11 @@ namespace BlendFile.DNA { public short rootbone; [DNAFieldAttribute(2, "short", 4, "max_rootbone", "short", false, 14)] public short max_rootbone; - [DNAFieldAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", 64, 16)] public char[] subtarget = new System.Char[64]; [DNAFieldAttribute(8, "Object", 6, "*poletar", "Object", true, 80)] public Object poletar; - [DNAFieldAttribute(64, "char", 7, "polesubtarget[64]", "System.Char[]", false, 88)] + [DNAArrayAttribute(64, "char", 7, "polesubtarget[64]", "System.Char[]", 64, 88)] public char[] polesubtarget = new System.Char[64]; [DNAFieldAttribute(4, "float", 8, "poleangle", "float", false, 152)] public float poleangle; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public float weight; [DNAFieldAttribute(4, "float", 10, "orientweight", "float", false, 160)] public float orientweight; - [DNAFieldAttribute(12, "float", 11, "grabtarget[3]", "System.Single[]", false, 164)] + [DNAArrayAttribute(12, "float", 11, "grabtarget[3]", "System.Single[]", 3, 164)] public float[] grabtarget = new System.Single[3]; [DNAFieldAttribute(2, "short", 12, "type", "short", false, 176)] public short type; diff --git a/BlendFile/DNA/bLocateLikeConstraint.cs b/BlendFile/DNA/bLocateLikeConstraint.cs index 18a6eec..bb3ca0a 100644 --- a/BlendFile/DNA/bLocateLikeConstraint.cs +++ b/BlendFile/DNA/bLocateLikeConstraint.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "int", 2, "reserved1", "int", false, 12)] public int reserved1; - [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", 64, 16)] public char[] subtarget = new System.Char[64]; public bLocateLikeConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bLockTrackConstraint.cs b/BlendFile/DNA/bLockTrackConstraint.cs index 9f51c55..6080380 100644 --- a/BlendFile/DNA/bLockTrackConstraint.cs +++ b/BlendFile/DNA/bLockTrackConstraint.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public int trackflag; [DNAFieldAttribute(4, "int", 2, "lockflag", "int", false, 12)] public int lockflag; - [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", 64, 16)] public char[] subtarget = new System.Char[64]; public bLockTrackConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bMinMaxConstraint.cs b/BlendFile/DNA/bMinMaxConstraint.cs index 9e90624..9f06104 100644 --- a/BlendFile/DNA/bMinMaxConstraint.cs +++ b/BlendFile/DNA/bMinMaxConstraint.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public float offset; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 16)] public int flag; - [DNAFieldAttribute(64, "char", 4, "subtarget[64]", "System.Char[]", false, 20)] + [DNAArrayAttribute(64, "char", 4, "subtarget[64]", "System.Char[]", 64, 20)] public char[] subtarget = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "_pad", "int", false, 84)] public int _pad; diff --git a/BlendFile/DNA/bMotionPath.cs b/BlendFile/DNA/bMotionPath.cs index 0dd3cb4..e72f583 100644 --- a/BlendFile/DNA/bMotionPath.cs +++ b/BlendFile/DNA/bMotionPath.cs @@ -23,15 +23,15 @@ namespace BlendFile.DNA { public int start_frame; [DNAFieldAttribute(4, "int", 3, "end_frame", "int", false, 16)] public int end_frame; - [DNAFieldAttribute(12, "float", 4, "color[3]", "System.Single[]", false, 20)] + [DNAArrayAttribute(12, "float", 4, "color[3]", "System.Single[]", 3, 20)] public float[] color = new System.Single[3]; - [DNAFieldAttribute(12, "float", 5, "color_post[3]", "System.Single[]", false, 32)] + [DNAArrayAttribute(12, "float", 5, "color_post[3]", "System.Single[]", 3, 32)] public float[] color_post = new System.Single[3]; [DNAFieldAttribute(4, "int", 6, "line_thickness", "int", false, 44)] public int line_thickness; [DNAFieldAttribute(4, "int", 7, "flag", "int", false, 48)] public int flag; - [DNAFieldAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", false, 52)] + [DNAArrayAttribute(4, "char", 8, "_pad2[4]", "System.Char[]", 4, 52)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "GPUVertBufHandle", 9, "*points_vbo", "GPUVertBufHandle", true, 56)] public GPUVertBufHandle points_vbo; diff --git a/BlendFile/DNA/bMotionPathVert.cs b/BlendFile/DNA/bMotionPathVert.cs index eec4a1c..e752e8d 100644 --- a/BlendFile/DNA/bMotionPathVert.cs +++ b/BlendFile/DNA/bMotionPathVert.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(43, "bMotionPathVert", 16)] public class bMotionPathVert { - [DNAFieldAttribute(12, "float", 0, "co[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "co[3]", "System.Single[]", 3, 0)] public float[] co = new System.Single[3]; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 12)] public int flag; diff --git a/BlendFile/DNA/bNestedNodeRef.cs b/BlendFile/DNA/bNestedNodeRef.cs index 3a8a4c0..7ca79f8 100644 --- a/BlendFile/DNA/bNestedNodeRef.cs +++ b/BlendFile/DNA/bNestedNodeRef.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class bNestedNodeRef { [DNAFieldAttribute(4, "int", 0, "id", "int", false, 0)] public int id; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 4)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "bNestedNodePath", 2, "path", "bNestedNodePath", false, 8)] public bNestedNodePath path; diff --git a/BlendFile/DNA/bNode.cs b/BlendFile/DNA/bNode.cs index 8af8f66..819860e 100644 --- a/BlendFile/DNA/bNode.cs +++ b/BlendFile/DNA/bNode.cs @@ -23,13 +23,13 @@ namespace BlendFile.DNA { public ListBase inputs; [DNAFieldAttribute(16, "ListBase", 3, "outputs", "ListBase", false, 32)] public ListBase outputs; - [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 48)] + [DNAArrayAttribute(64, "char", 4, "name[64]", "System.Char[]", 64, 48)] public char[] name = new System.Char[64]; [DNAFieldAttribute(4, "int", 5, "identifier", "int", false, 112)] public int identifier; [DNAFieldAttribute(4, "int", 6, "flag", "int", false, 116)] public int flag; - [DNAFieldAttribute(64, "char", 7, "idname[64]", "System.Char[]", false, 120)] + [DNAArrayAttribute(64, "char", 7, "idname[64]", "System.Char[]", 64, 120)] public char[] idname = new System.Char[64]; [DNAFieldAttribute(8, "bNodeTypeHandle", 8, "*typeinfo", "bNodeTypeHandle", true, 184)] public bNodeTypeHandle typeinfo; @@ -47,7 +47,7 @@ namespace BlendFile.DNA { public float custom4; [DNAFieldAttribute(1, "int8_t", 15, "warning_propagation", "int8_t", false, 208)] public sbyte warning_propagation; - [DNAFieldAttribute(7, "char", 16, "_pad[7]", "System.Char[]", false, 209)] + [DNAArrayAttribute(7, "char", 16, "_pad[7]", "System.Char[]", 7, 209)] public char[] _pad = new System.Char[7]; [DNAFieldAttribute(8, "ID", 17, "*id", "ID", true, 216)] public ID id; @@ -69,9 +69,9 @@ namespace BlendFile.DNA { public float offsetx; [DNAFieldAttribute(4, "float", 26, "offsety", "float", false, 268)] public float offsety; - [DNAFieldAttribute(64, "char", 27, "label[64]", "System.Char[]", false, 272)] + [DNAArrayAttribute(64, "char", 27, "label[64]", "System.Char[]", 64, 272)] public char[] label = new System.Char[64]; - [DNAFieldAttribute(12, "float", 28, "color[3]", "System.Single[]", false, 336)] + [DNAArrayAttribute(12, "float", 28, "color[3]", "System.Single[]", 3, 336)] public float[] color = new System.Single[3]; [DNAFieldAttribute(4, "int", 29, "num_panel_states", "int", false, 348)] public int num_panel_states; diff --git a/BlendFile/DNA/bNodePanelState.cs b/BlendFile/DNA/bNodePanelState.cs index cae6910..ca43957 100644 --- a/BlendFile/DNA/bNodePanelState.cs +++ b/BlendFile/DNA/bNodePanelState.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public int identifier; [DNAFieldAttribute(1, "char", 1, "flag", "char", false, 4)] public char flag; - [DNAFieldAttribute(3, "char", 2, "_pad[3]", "System.Char[]", false, 5)] + [DNAArrayAttribute(3, "char", 2, "_pad[3]", "System.Char[]", 3, 5)] public char[] _pad = new System.Char[3]; public bNodePanelState() { this.identifier = default; diff --git a/BlendFile/DNA/bNodeSocket.cs b/BlendFile/DNA/bNodeSocket.cs index 7a1d511..e624b45 100644 --- a/BlendFile/DNA/bNodeSocket.cs +++ b/BlendFile/DNA/bNodeSocket.cs @@ -21,9 +21,9 @@ namespace BlendFile.DNA { public bNodeSocket prev; [DNAFieldAttribute(8, "IDProperty", 2, "*prop", "IDProperty", true, 16)] public IDProperty prop; - [DNAFieldAttribute(64, "char", 3, "identifier[64]", "System.Char[]", false, 24)] + [DNAArrayAttribute(64, "char", 3, "identifier[64]", "System.Char[]", 64, 24)] public char[] identifier = new System.Char[64]; - [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 88)] + [DNAArrayAttribute(64, "char", 4, "name[64]", "System.Char[]", 64, 88)] public char[] name = new System.Char[64]; [DNAFieldAttribute(8, "void", 5, "*storage", "void", true, 152)] public object storage; @@ -37,7 +37,7 @@ namespace BlendFile.DNA { public short in_out; [DNAFieldAttribute(8, "bNodeSocketTypeHandle", 10, "*typeinfo", "bNodeSocketTypeHandle", true, 168)] public bNodeSocketTypeHandle typeinfo; - [DNAFieldAttribute(64, "char", 11, "idname[64]", "System.Char[]", false, 176)] + [DNAArrayAttribute(64, "char", 11, "idname[64]", "System.Char[]", 64, 176)] public char[] idname = new System.Char[64]; [DNAFieldAttribute(8, "void", 12, "*default_value", "void", true, 240)] public object default_value; @@ -47,13 +47,13 @@ namespace BlendFile.DNA { public char display_shape; [DNAFieldAttribute(1, "char", 15, "attribute_domain", "char", false, 251)] public char attribute_domain; - [DNAFieldAttribute(4, "char", 16, "_pad[4]", "System.Char[]", false, 252)] + [DNAArrayAttribute(4, "char", 16, "_pad[4]", "System.Char[]", 4, 252)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(64, "char", 17, "label[64]", "System.Char[]", false, 256)] + [DNAArrayAttribute(64, "char", 17, "label[64]", "System.Char[]", 64, 256)] public char[] label = new System.Char[64]; - [DNAFieldAttribute(64, "char", 18, "short_label[64]", "System.Char[]", false, 320)] + [DNAArrayAttribute(64, "char", 18, "short_label[64]", "System.Char[]", 64, 320)] public char[] short_label = new System.Char[64]; - [DNAFieldAttribute(64, "char", 19, "description[64]", "System.Char[]", false, 384)] + [DNAArrayAttribute(64, "char", 19, "description[64]", "System.Char[]", 64, 384)] public char[] description = new System.Char[64]; [DNAFieldAttribute(8, "char", 20, "*default_attribute_name", "char", true, 448)] public char default_attribute_name; diff --git a/BlendFile/DNA/bNodeSocketValueRGBA.cs b/BlendFile/DNA/bNodeSocketValueRGBA.cs index 20aead7..fcd7366 100644 --- a/BlendFile/DNA/bNodeSocketValueRGBA.cs +++ b/BlendFile/DNA/bNodeSocketValueRGBA.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(590, "bNodeSocketValueRGBA", 16)] public class bNodeSocketValueRGBA { - [DNAFieldAttribute(16, "float", 0, "value[4]", "System.Single[]", false, 0)] + [DNAArrayAttribute(16, "float", 0, "value[4]", "System.Single[]", 4, 0)] public float[] value = new System.Single[4]; public bNodeSocketValueRGBA() { this.value = default; diff --git a/BlendFile/DNA/bNodeSocketValueRotation.cs b/BlendFile/DNA/bNodeSocketValueRotation.cs index c338751..6d3d656 100644 --- a/BlendFile/DNA/bNodeSocketValueRotation.cs +++ b/BlendFile/DNA/bNodeSocketValueRotation.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(589, "bNodeSocketValueRotation", 12)] public class bNodeSocketValueRotation { - [DNAFieldAttribute(12, "float", 0, "value_euler[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "value_euler[3]", "System.Single[]", 3, 0)] public float[] value_euler = new System.Single[3]; public bNodeSocketValueRotation() { this.value_euler = default; diff --git a/BlendFile/DNA/bNodeSocketValueString.cs b/BlendFile/DNA/bNodeSocketValueString.cs index 8d5cbc9..b76dadb 100644 --- a/BlendFile/DNA/bNodeSocketValueString.cs +++ b/BlendFile/DNA/bNodeSocketValueString.cs @@ -17,9 +17,9 @@ namespace BlendFile.DNA { public class bNodeSocketValueString { [DNAFieldAttribute(4, "int", 0, "subtype", "int", false, 0)] public int subtype; - [DNAFieldAttribute(4, "char", 1, "_pad[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "_pad[4]", "System.Char[]", 4, 4)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(1024, "char", 2, "value[1024]", "System.Char[]", false, 8)] + [DNAArrayAttribute(1024, "char", 2, "value[1024]", "System.Char[]", 1024, 8)] public char[] value = new System.Char[1024]; public bNodeSocketValueString() { this.subtype = default; diff --git a/BlendFile/DNA/bNodeSocketValueVector.cs b/BlendFile/DNA/bNodeSocketValueVector.cs index de9e508..8eb8330 100644 --- a/BlendFile/DNA/bNodeSocketValueVector.cs +++ b/BlendFile/DNA/bNodeSocketValueVector.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class bNodeSocketValueVector { [DNAFieldAttribute(4, "int", 0, "subtype", "int", false, 0)] public int subtype; - [DNAFieldAttribute(12, "float", 1, "value[3]", "System.Single[]", false, 4)] + [DNAArrayAttribute(12, "float", 1, "value[3]", "System.Single[]", 3, 4)] public float[] value = new System.Single[3]; [DNAFieldAttribute(4, "float", 2, "min", "float", false, 16)] public float min; diff --git a/BlendFile/DNA/bNodeStack.cs b/BlendFile/DNA/bNodeStack.cs index 813e273..f475de7 100644 --- a/BlendFile/DNA/bNodeStack.cs +++ b/BlendFile/DNA/bNodeStack.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(569, "bNodeStack", 48)] public class bNodeStack { - [DNAFieldAttribute(16, "float", 0, "vec[4]", "System.Single[]", false, 0)] + [DNAArrayAttribute(16, "float", 0, "vec[4]", "System.Single[]", 4, 0)] public float[] vec = new System.Single[4]; [DNAFieldAttribute(4, "float", 1, "min", "float", false, 16)] public float min; @@ -35,7 +35,7 @@ namespace BlendFile.DNA { public short is_copy; [DNAFieldAttribute(2, "short", 9, "external", "short", false, 42)] public short external; - [DNAFieldAttribute(4, "char", 10, "_pad[4]", "System.Char[]", false, 44)] + [DNAArrayAttribute(4, "char", 10, "_pad[4]", "System.Char[]", 4, 44)] public char[] _pad = new System.Char[4]; public bNodeStack() { this.vec = default; diff --git a/BlendFile/DNA/bNodeTree.cs b/BlendFile/DNA/bNodeTree.cs index a7eaabb..08088a3 100644 --- a/BlendFile/DNA/bNodeTree.cs +++ b/BlendFile/DNA/bNodeTree.cs @@ -23,13 +23,13 @@ namespace BlendFile.DNA { public ID owner_id; [DNAFieldAttribute(8, "bNodeTreeTypeHandle", 3, "*typeinfo", "bNodeTreeTypeHandle", true, 224)] public bNodeTreeTypeHandle typeinfo; - [DNAFieldAttribute(64, "char", 4, "idname[64]", "System.Char[]", false, 232)] + [DNAArrayAttribute(64, "char", 4, "idname[64]", "System.Char[]", 64, 232)] public char[] idname = new System.Char[64]; [DNAFieldAttribute(8, "char", 5, "*description", "char", true, 296)] public char description; [DNAFieldAttribute(8, "bGPdata", 6, "*gpd", "bGPdata", true, 304)] public bGPdata gpd; - [DNAFieldAttribute(8, "float", 7, "view_center[2]", "System.Single[]", false, 312)] + [DNAArrayAttribute(8, "float", 7, "view_center[2]", "System.Single[]", 2, 312)] public float[] view_center = new System.Single[2]; [DNAFieldAttribute(16, "ListBase", 8, "nodes", "ListBase", false, 320)] public ListBase nodes; diff --git a/BlendFile/DNA/bNodeTreeInterfaceItem.cs b/BlendFile/DNA/bNodeTreeInterfaceItem.cs index 458808f..5a2cb41 100644 --- a/BlendFile/DNA/bNodeTreeInterfaceItem.cs +++ b/BlendFile/DNA/bNodeTreeInterfaceItem.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class bNodeTreeInterfaceItem { [DNAFieldAttribute(1, "char", 0, "item_type", "char", false, 0)] public char item_type; - [DNAFieldAttribute(7, "char", 1, "_pad[7]", "System.Char[]", false, 1)] + [DNAArrayAttribute(7, "char", 1, "_pad[7]", "System.Char[]", 7, 1)] public char[] _pad = new System.Char[7]; public bNodeTreeInterfaceItem() { this.item_type = default; diff --git a/BlendFile/DNA/bNodeTreeInterfacePanel.cs b/BlendFile/DNA/bNodeTreeInterfacePanel.cs index af18dcd..6b7be96 100644 --- a/BlendFile/DNA/bNodeTreeInterfacePanel.cs +++ b/BlendFile/DNA/bNodeTreeInterfacePanel.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public char description; [DNAFieldAttribute(4, "int", 3, "flag", "int", false, 24)] public int flag; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 28)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(4, "int", 6, "items_num", "int", false, 32)] public int items_num; diff --git a/BlendFile/DNA/bNodeTreePath.cs b/BlendFile/DNA/bNodeTreePath.cs index 0b96bae..09ba439 100644 --- a/BlendFile/DNA/bNodeTreePath.cs +++ b/BlendFile/DNA/bNodeTreePath.cs @@ -23,13 +23,13 @@ namespace BlendFile.DNA { public bNodeTree nodetree; [DNAFieldAttribute(4, "bNodeInstanceKey", 3, "parent_key", "bNodeInstanceKey", false, 24)] public bNodeInstanceKey parent_key; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 28)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(8, "float", 5, "view_center[2]", "System.Single[]", false, 32)] + [DNAArrayAttribute(8, "float", 5, "view_center[2]", "System.Single[]", 2, 32)] public float[] view_center = new System.Single[2]; - [DNAFieldAttribute(64, "char", 6, "node_name[64]", "System.Char[]", false, 40)] + [DNAArrayAttribute(64, "char", 6, "node_name[64]", "System.Char[]", 64, 40)] public char[] node_name = new System.Char[64]; - [DNAFieldAttribute(64, "char", 7, "display_name[64]", "System.Char[]", false, 104)] + [DNAArrayAttribute(64, "char", 7, "display_name[64]", "System.Char[]", 64, 104)] public char[] display_name = new System.Char[64]; public bNodeTreePath() { this.next = default; diff --git a/BlendFile/DNA/bObjectSolverConstraint.cs b/BlendFile/DNA/bObjectSolverConstraint.cs index b5b8852..146bfeb 100644 --- a/BlendFile/DNA/bObjectSolverConstraint.cs +++ b/BlendFile/DNA/bObjectSolverConstraint.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public MovieClip clip; [DNAFieldAttribute(4, "int", 1, "flag", "int", false, 8)] public int flag; - [DNAFieldAttribute(4, "char", 2, "_pad[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 2, "_pad[4]", "System.Char[]", 4, 12)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(64, "char", 3, "object[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 3, "object[64]", "System.Char[]", 64, 16)] public char[] @object = new System.Char[64]; - [DNAFieldAttribute(64, "float", 4, "invmat[4][4]", "System.Single[,]", false, 80)] + [DNAArrayAttribute(64, "float", 4, "invmat[4][4]", "System.Single[,]", 8, 80)] public float[,] invmat = new System.Single[4,4]; [DNAFieldAttribute(8, "Object", 5, "*camera", "Object", true, 144)] public Object camera; diff --git a/BlendFile/DNA/bPathCompare.cs b/BlendFile/DNA/bPathCompare.cs index 0f93842..d5bc060 100644 --- a/BlendFile/DNA/bPathCompare.cs +++ b/BlendFile/DNA/bPathCompare.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public bPathCompare next; [DNAFieldAttribute(8, "bPathCompare", 1, "*prev", "bPathCompare", true, 8)] public bPathCompare prev; - [DNAFieldAttribute(768, "char", 2, "path[768]", "System.Char[]", false, 16)] + [DNAArrayAttribute(768, "char", 2, "path[768]", "System.Char[]", 768, 16)] public char[] path = new System.Char[768]; [DNAFieldAttribute(1, "char", 3, "flag", "char", false, 784)] public char flag; - [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 785)] + [DNAArrayAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", 7, 785)] public char[] _pad0 = new System.Char[7]; public bPathCompare() { this.next = default; diff --git a/BlendFile/DNA/bPivotConstraint.cs b/BlendFile/DNA/bPivotConstraint.cs index f14a709..248a99a 100644 --- a/BlendFile/DNA/bPivotConstraint.cs +++ b/BlendFile/DNA/bPivotConstraint.cs @@ -17,9 +17,9 @@ namespace BlendFile.DNA { public class bPivotConstraint { [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] public Object tar; - [DNAFieldAttribute(64, "char", 1, "subtarget[64]", "System.Char[]", false, 8)] + [DNAArrayAttribute(64, "char", 1, "subtarget[64]", "System.Char[]", 64, 8)] public char[] subtarget = new System.Char[64]; - [DNAFieldAttribute(12, "float", 2, "offset[3]", "System.Single[]", false, 72)] + [DNAArrayAttribute(12, "float", 2, "offset[3]", "System.Single[]", 3, 72)] public float[] offset = new System.Single[3]; [DNAFieldAttribute(2, "short", 3, "rotAxis", "short", false, 84)] public short rotAxis; diff --git a/BlendFile/DNA/bPose.cs b/BlendFile/DNA/bPose.cs index dd7da50..7fcb8f2 100644 --- a/BlendFile/DNA/bPose.cs +++ b/BlendFile/DNA/bPose.cs @@ -21,13 +21,13 @@ namespace BlendFile.DNA { public GHash chanhash; [DNAFieldAttribute(2, "short", 3, "flag", "short", false, 24)] public short flag; - [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 26)] + [DNAArrayAttribute(2, "char", 4, "_pad[2]", "System.Char[]", 2, 26)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 5, "ctime", "float", false, 28)] public float ctime; - [DNAFieldAttribute(12, "float", 6, "stride_offset[3]", "System.Single[]", false, 32)] + [DNAArrayAttribute(12, "float", 6, "stride_offset[3]", "System.Single[]", 3, 32)] public float[] stride_offset = new System.Single[3]; - [DNAFieldAttribute(12, "float", 7, "cyclic_offset[3]", "System.Single[]", false, 44)] + [DNAArrayAttribute(12, "float", 7, "cyclic_offset[3]", "System.Single[]", 3, 44)] public float[] cyclic_offset = new System.Single[3]; [DNAFieldAttribute(16, "ListBase", 8, "agroups", "ListBase", false, 56)] public ListBase agroups; diff --git a/BlendFile/DNA/bPoseChannel.cs b/BlendFile/DNA/bPoseChannel.cs index 27b5b1d..2450f18 100644 --- a/BlendFile/DNA/bPoseChannel.cs +++ b/BlendFile/DNA/bPoseChannel.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public IDProperty prop; [DNAFieldAttribute(16, "ListBase", 3, "constraints", "ListBase", false, 24)] public ListBase constraints; - [DNAFieldAttribute(64, "char", 4, "name[64]", "System.Char[]", false, 40)] + [DNAArrayAttribute(64, "char", 4, "name[64]", "System.Char[]", 64, 40)] public char[] name = new System.Char[64]; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 104)] public short flag; @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public char drawflag; [DNAFieldAttribute(1, "char", 12, "bboneflag", "char", false, 115)] public char bboneflag; - [DNAFieldAttribute(4, "char", 13, "_pad0[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 13, "_pad0[4]", "System.Char[]", 4, 116)] public char[] _pad0 = new System.Char[4]; [DNAFieldAttribute(8, "Bone", 14, "*bone", "Bone", true, 120)] public Bone bone; @@ -61,49 +61,49 @@ namespace BlendFile.DNA { public bPoseChannel custom_tx; [DNAFieldAttribute(4, "float", 22, "custom_scale", "float", false, 200)] public float custom_scale; - [DNAFieldAttribute(12, "float", 23, "custom_scale_xyz[3]", "System.Single[]", false, 204)] + [DNAArrayAttribute(12, "float", 23, "custom_scale_xyz[3]", "System.Single[]", 3, 204)] public float[] custom_scale_xyz = new System.Single[3]; - [DNAFieldAttribute(12, "float", 24, "custom_translation[3]", "System.Single[]", false, 216)] + [DNAArrayAttribute(12, "float", 24, "custom_translation[3]", "System.Single[]", 3, 216)] public float[] custom_translation = new System.Single[3]; - [DNAFieldAttribute(12, "float", 25, "custom_rotation_euler[3]", "System.Single[]", false, 228)] + [DNAArrayAttribute(12, "float", 25, "custom_rotation_euler[3]", "System.Single[]", 3, 228)] public float[] custom_rotation_euler = new System.Single[3]; [DNAFieldAttribute(4, "float", 26, "custom_shape_wire_width", "float", false, 240)] public float custom_shape_wire_width; - [DNAFieldAttribute(12, "float", 27, "loc[3]", "System.Single[]", false, 244)] + [DNAArrayAttribute(12, "float", 27, "loc[3]", "System.Single[]", 3, 244)] public float[] loc = new System.Single[3]; - [DNAFieldAttribute(12, "float", 28, "size[3]", "System.Single[]", false, 256)] + [DNAArrayAttribute(12, "float", 28, "size[3]", "System.Single[]", 3, 256)] public float[] size = new System.Single[3]; - [DNAFieldAttribute(12, "float", 29, "eul[3]", "System.Single[]", false, 268)] + [DNAArrayAttribute(12, "float", 29, "eul[3]", "System.Single[]", 3, 268)] public float[] eul = new System.Single[3]; - [DNAFieldAttribute(16, "float", 30, "quat[4]", "System.Single[]", false, 280)] + [DNAArrayAttribute(16, "float", 30, "quat[4]", "System.Single[]", 4, 280)] public float[] quat = new System.Single[4]; - [DNAFieldAttribute(12, "float", 31, "rotAxis[3]", "System.Single[]", false, 296)] + [DNAArrayAttribute(12, "float", 31, "rotAxis[3]", "System.Single[]", 3, 296)] public float[] rotAxis = new System.Single[3]; [DNAFieldAttribute(4, "float", 32, "rotAngle", "float", false, 308)] public float rotAngle; [DNAFieldAttribute(2, "short", 33, "rotmode", "short", false, 312)] public short rotmode; - [DNAFieldAttribute(6, "char", 34, "_pad[6]", "System.Char[]", false, 314)] + [DNAArrayAttribute(6, "char", 34, "_pad[6]", "System.Char[]", 6, 314)] public char[] _pad = new System.Char[6]; - [DNAFieldAttribute(64, "float", 35, "chan_mat[4][4]", "System.Single[,]", false, 320)] + [DNAArrayAttribute(64, "float", 35, "chan_mat[4][4]", "System.Single[,]", 8, 320)] public float[,] chan_mat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 36, "pose_mat[4][4]", "System.Single[,]", false, 384)] + [DNAArrayAttribute(64, "float", 36, "pose_mat[4][4]", "System.Single[,]", 8, 384)] public float[,] pose_mat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 37, "disp_mat[4][4]", "System.Single[,]", false, 448)] + [DNAArrayAttribute(64, "float", 37, "disp_mat[4][4]", "System.Single[,]", 8, 448)] public float[,] disp_mat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 38, "disp_tail_mat[4][4]", "System.Single[,]", false, 512)] + [DNAArrayAttribute(64, "float", 38, "disp_tail_mat[4][4]", "System.Single[,]", 8, 512)] public float[,] disp_tail_mat = new System.Single[4,4]; - [DNAFieldAttribute(64, "float", 39, "constinv[4][4]", "System.Single[,]", false, 576)] + [DNAArrayAttribute(64, "float", 39, "constinv[4][4]", "System.Single[,]", 8, 576)] public float[,] constinv = new System.Single[4,4]; - [DNAFieldAttribute(12, "float", 40, "pose_head[3]", "System.Single[]", false, 640)] + [DNAArrayAttribute(12, "float", 40, "pose_head[3]", "System.Single[]", 3, 640)] public float[] pose_head = new System.Single[3]; - [DNAFieldAttribute(12, "float", 41, "pose_tail[3]", "System.Single[]", false, 652)] + [DNAArrayAttribute(12, "float", 41, "pose_tail[3]", "System.Single[]", 3, 652)] public float[] pose_tail = new System.Single[3]; - [DNAFieldAttribute(12, "float", 42, "limitmin[3]", "System.Single[]", false, 664)] + [DNAArrayAttribute(12, "float", 42, "limitmin[3]", "System.Single[]", 3, 664)] public float[] limitmin = new System.Single[3]; - [DNAFieldAttribute(12, "float", 43, "limitmax[3]", "System.Single[]", false, 676)] + [DNAArrayAttribute(12, "float", 43, "limitmax[3]", "System.Single[]", 3, 676)] public float[] limitmax = new System.Single[3]; - [DNAFieldAttribute(12, "float", 44, "stiffness[3]", "System.Single[]", false, 688)] + [DNAArrayAttribute(12, "float", 44, "stiffness[3]", "System.Single[]", 3, 688)] public float[] stiffness = new System.Single[3]; [DNAFieldAttribute(4, "float", 45, "ikstretch", "float", false, 700)] public float ikstretch; @@ -135,9 +135,9 @@ namespace BlendFile.DNA { public float scaleOut; [DNAFieldAttribute(4, "float", 59, "scale_out_y", "float", false, 756)] public float scale_out_y; - [DNAFieldAttribute(12, "float", 60, "scale_in[3]", "System.Single[]", false, 760)] + [DNAArrayAttribute(12, "float", 60, "scale_in[3]", "System.Single[]", 3, 760)] public float[] scale_in = new System.Single[3]; - [DNAFieldAttribute(12, "float", 61, "scale_out[3]", "System.Single[]", false, 772)] + [DNAArrayAttribute(12, "float", 61, "scale_out[3]", "System.Single[]", 3, 772)] public float[] scale_out = new System.Single[3]; [DNAFieldAttribute(8, "bPoseChannel", 62, "*bbone_prev", "bPoseChannel", true, 784)] public bPoseChannel bbone_prev; diff --git a/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs b/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs index f30c28a..a8661b0 100644 --- a/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs +++ b/BlendFile/DNA/bPoseChannel_BBoneSegmentBoundary.cs @@ -15,9 +15,9 @@ namespace BlendFile.DNA { [DNAClassAttribute(48, "bPoseChannel_BBoneSegmentBoundary", 32)] public class bPoseChannel_BBoneSegmentBoundary { - [DNAFieldAttribute(12, "float", 0, "point[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "point[3]", "System.Single[]", 3, 0)] public float[] point = new System.Single[3]; - [DNAFieldAttribute(12, "float", 1, "plane_normal[3]", "System.Single[]", false, 12)] + [DNAArrayAttribute(12, "float", 1, "plane_normal[3]", "System.Single[]", 3, 12)] public float[] plane_normal = new System.Single[3]; [DNAFieldAttribute(4, "float", 2, "plane_offset", "float", false, 24)] public float plane_offset; diff --git a/BlendFile/DNA/bPoseChannel_Runtime.cs b/BlendFile/DNA/bPoseChannel_Runtime.cs index 4fce7e1..d1da2b8 100644 --- a/BlendFile/DNA/bPoseChannel_Runtime.cs +++ b/BlendFile/DNA/bPoseChannel_Runtime.cs @@ -23,7 +23,7 @@ namespace BlendFile.DNA { public int bbone_segments; [DNAFieldAttribute(4, "float", 3, "bbone_arc_length_reciprocal", "float", false, 112)] public float bbone_arc_length_reciprocal; - [DNAFieldAttribute(4, "char", 4, "_pad1[4]", "System.Char[]", false, 116)] + [DNAArrayAttribute(4, "char", 4, "_pad1[4]", "System.Char[]", 4, 116)] public char[] _pad1 = new System.Char[4]; [DNAFieldAttribute(8, "Mat4", 5, "*bbone_rest_mats", "Mat4", true, 120)] public Mat4 bbone_rest_mats; diff --git a/BlendFile/DNA/bPythonConstraint.cs b/BlendFile/DNA/bPythonConstraint.cs index e9fc5db..652e09f 100644 --- a/BlendFile/DNA/bPythonConstraint.cs +++ b/BlendFile/DNA/bPythonConstraint.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public ListBase targets; [DNAFieldAttribute(8, "Object", 5, "*tar", "Object", true, 40)] public Object tar; - [DNAFieldAttribute(64, "char", 6, "subtarget[64]", "System.Char[]", false, 48)] + [DNAArrayAttribute(64, "char", 6, "subtarget[64]", "System.Char[]", 64, 48)] public char[] subtarget = new System.Char[64]; public bPythonConstraint() { this.text = default; diff --git a/BlendFile/DNA/bRigidBodyJointConstraint.cs b/BlendFile/DNA/bRigidBodyJointConstraint.cs index c6fadda..a9fa9dc 100644 --- a/BlendFile/DNA/bRigidBodyJointConstraint.cs +++ b/BlendFile/DNA/bRigidBodyJointConstraint.cs @@ -33,15 +33,15 @@ namespace BlendFile.DNA { public float axY; [DNAFieldAttribute(4, "float", 8, "axZ", "float", false, 40)] public float axZ; - [DNAFieldAttribute(24, "float", 9, "minLimit[6]", "System.Single[]", false, 44)] + [DNAArrayAttribute(24, "float", 9, "minLimit[6]", "System.Single[]", 6, 44)] public float[] minLimit = new System.Single[6]; - [DNAFieldAttribute(24, "float", 10, "maxLimit[6]", "System.Single[]", false, 68)] + [DNAArrayAttribute(24, "float", 10, "maxLimit[6]", "System.Single[]", 6, 68)] public float[] maxLimit = new System.Single[6]; [DNAFieldAttribute(4, "float", 11, "extraFz", "float", false, 92)] public float extraFz; [DNAFieldAttribute(2, "short", 12, "flag", "short", false, 96)] public short flag; - [DNAFieldAttribute(6, "char", 13, "_pad[6]", "System.Char[]", false, 98)] + [DNAArrayAttribute(6, "char", 13, "_pad[6]", "System.Char[]", 6, 98)] public char[] _pad = new System.Char[6]; public bRigidBodyJointConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bRotLimitConstraint.cs b/BlendFile/DNA/bRotLimitConstraint.cs index 3b09c0b..fb84177 100644 --- a/BlendFile/DNA/bRotLimitConstraint.cs +++ b/BlendFile/DNA/bRotLimitConstraint.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public short flag2; [DNAFieldAttribute(1, "char", 8, "euler_order", "char", false, 28)] public char euler_order; - [DNAFieldAttribute(3, "char", 9, "_pad[3]", "System.Char[]", false, 29)] + [DNAArrayAttribute(3, "char", 9, "_pad[3]", "System.Char[]", 3, 29)] public char[] _pad = new System.Char[3]; public bRotLimitConstraint() { this.xmin = default; diff --git a/BlendFile/DNA/bRotateLikeConstraint.cs b/BlendFile/DNA/bRotateLikeConstraint.cs index bbdb81d..325e824 100644 --- a/BlendFile/DNA/bRotateLikeConstraint.cs +++ b/BlendFile/DNA/bRotateLikeConstraint.cs @@ -23,9 +23,9 @@ namespace BlendFile.DNA { public char euler_order; [DNAFieldAttribute(1, "char", 3, "mix_mode", "char", false, 13)] public char mix_mode; - [DNAFieldAttribute(2, "char", 4, "_pad[2]", "System.Char[]", false, 14)] + [DNAArrayAttribute(2, "char", 4, "_pad[2]", "System.Char[]", 2, 14)] public char[] _pad = new System.Char[2]; - [DNAFieldAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", 64, 16)] public char[] subtarget = new System.Char[64]; public bRotateLikeConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bSameVolumeConstraint.cs b/BlendFile/DNA/bSameVolumeConstraint.cs index 9eb161c..848ea46 100644 --- a/BlendFile/DNA/bSameVolumeConstraint.cs +++ b/BlendFile/DNA/bSameVolumeConstraint.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public char flag; [DNAFieldAttribute(1, "char", 1, "mode", "char", false, 1)] public char mode; - [DNAFieldAttribute(2, "char", 2, "_pad[2]", "System.Char[]", false, 2)] + [DNAArrayAttribute(2, "char", 2, "_pad[2]", "System.Char[]", 2, 2)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(4, "float", 3, "volume", "float", false, 4)] public float volume; diff --git a/BlendFile/DNA/bScreen.cs b/BlendFile/DNA/bScreen.cs index e00223f..d204648 100644 --- a/BlendFile/DNA/bScreen.cs +++ b/BlendFile/DNA/bScreen.cs @@ -51,7 +51,7 @@ namespace BlendFile.DNA { public char skip_handling; [DNAFieldAttribute(1, "char", 17, "scrubbing", "char", false, 294)] public char scrubbing; - [DNAFieldAttribute(1, "char", 18, "_pad[1]", "System.Char[]", false, 295)] + [DNAArrayAttribute(1, "char", 18, "_pad[1]", "System.Char[]", 1, 295)] public char[] _pad = new System.Char[1]; [DNAFieldAttribute(8, "ARegion", 19, "*active_region", "ARegion", true, 296)] public ARegion active_region; diff --git a/BlendFile/DNA/bSizeLikeConstraint.cs b/BlendFile/DNA/bSizeLikeConstraint.cs index 1f82e9a..e93facb 100644 --- a/BlendFile/DNA/bSizeLikeConstraint.cs +++ b/BlendFile/DNA/bSizeLikeConstraint.cs @@ -21,7 +21,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "float", 2, "power", "float", false, 12)] public float power; - [DNAFieldAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 3, "subtarget[64]", "System.Char[]", 64, 16)] public char[] subtarget = new System.Char[64]; public bSizeLikeConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bSound.cs b/BlendFile/DNA/bSound.cs index f9858b2..1a8c6b4 100644 --- a/BlendFile/DNA/bSound.cs +++ b/BlendFile/DNA/bSound.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class bSound { [DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)] public ID id; - [DNAFieldAttribute(1024, "char", 1, "name[1024]", "System.Char[]", false, 208)] + [DNAArrayAttribute(1024, "char", 1, "name[1024]", "System.Char[]", 1024, 208)] public char[] name = new System.Char[1024]; [DNAFieldAttribute(8, "PackedFile", 2, "*packedfile", "PackedFile", true, 1232)] public PackedFile packedfile; @@ -43,7 +43,7 @@ namespace BlendFile.DNA { public short flags; [DNAFieldAttribute(2, "short", 13, "tags", "short", false, 1290)] public short tags; - [DNAFieldAttribute(4, "char", 14, "_pad[4]", "System.Char[]", false, 1292)] + [DNAArrayAttribute(4, "char", 14, "_pad[4]", "System.Char[]", 4, 1292)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(8, "double", 15, "offset_time", "double", false, 1296)] public double offset_time; diff --git a/BlendFile/DNA/bSplineIKConstraint.cs b/BlendFile/DNA/bSplineIKConstraint.cs index 49b6a5b..8959b6a 100644 --- a/BlendFile/DNA/bSplineIKConstraint.cs +++ b/BlendFile/DNA/bSplineIKConstraint.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public short xzScaleMode; [DNAFieldAttribute(2, "short", 6, "yScaleMode", "short", false, 24)] public short yScaleMode; - [DNAFieldAttribute(6, "short", 7, "_pad[3]", "System.Int16[]", false, 26)] + [DNAArrayAttribute(6, "short", 7, "_pad[3]", "System.Int16[]", 3, 26)] public short[] _pad = new System.Int16[3]; [DNAFieldAttribute(4, "float", 8, "bulge", "float", false, 32)] public float bulge; diff --git a/BlendFile/DNA/bStretchToConstraint.cs b/BlendFile/DNA/bStretchToConstraint.cs index d82d722..89e39f5 100644 --- a/BlendFile/DNA/bStretchToConstraint.cs +++ b/BlendFile/DNA/bStretchToConstraint.cs @@ -33,7 +33,7 @@ namespace BlendFile.DNA { public float bulge_max; [DNAFieldAttribute(4, "float", 8, "bulge_smooth", "float", false, 36)] public float bulge_smooth; - [DNAFieldAttribute(64, "char", 9, "subtarget[64]", "System.Char[]", false, 40)] + [DNAArrayAttribute(64, "char", 9, "subtarget[64]", "System.Char[]", 64, 40)] public char[] subtarget = new System.Char[64]; public bStretchToConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bTheme.cs b/BlendFile/DNA/bTheme.cs index 4fbf450..bb38bff 100644 --- a/BlendFile/DNA/bTheme.cs +++ b/BlendFile/DNA/bTheme.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public bTheme next; [DNAFieldAttribute(8, "bTheme", 1, "*prev", "bTheme", true, 8)] public bTheme prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(1024, "char", 3, "filepath[1024]", "System.Char[]", false, 80)] + [DNAArrayAttribute(1024, "char", 3, "filepath[1024]", "System.Char[]", 1024, 80)] public char[] filepath = new System.Char[1024]; [DNAFieldAttribute(976, "ThemeUI", 4, "tui", "ThemeUI", false, 1104)] public ThemeUI tui; @@ -61,11 +61,11 @@ namespace BlendFile.DNA { public ThemeSpace tstatusbar; [DNAFieldAttribute(936, "ThemeSpace", 22, "space_spreadsheet", "ThemeSpace", false, 17992)] public ThemeSpace space_spreadsheet; - [DNAFieldAttribute(320, "ThemeWireColor", 23, "tarm[20]", "ThemeWireColor[]", false, 18928)] + [DNAArrayAttribute(320, "ThemeWireColor", 23, "tarm[20]", "ThemeWireColor[]", 20, 18928)] public ThemeWireColor[] tarm = new ThemeWireColor[20]; - [DNAFieldAttribute(32, "ThemeCollectionColor", 24, "collection_color[8]", "ThemeCollectionColor[]", false, 19248)] + [DNAArrayAttribute(32, "ThemeCollectionColor", 24, "collection_color[8]", "ThemeCollectionColor[]", 8, 19248)] public ThemeCollectionColor[] collection_color = new ThemeCollectionColor[8]; - [DNAFieldAttribute(36, "ThemeStripColor", 25, "strip_color[9]", "ThemeStripColor[]", false, 19280)] + [DNAArrayAttribute(36, "ThemeStripColor", 25, "strip_color[9]", "ThemeStripColor[]", 9, 19280)] public ThemeStripColor[] strip_color = new ThemeStripColor[9]; [DNAFieldAttribute(4, "int", 26, "active_theme_area", "int", false, 19316)] public int active_theme_area; diff --git a/BlendFile/DNA/bToolRef.cs b/BlendFile/DNA/bToolRef.cs index c4166b3..fdef58e 100644 --- a/BlendFile/DNA/bToolRef.cs +++ b/BlendFile/DNA/bToolRef.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public bToolRef next; [DNAFieldAttribute(8, "bToolRef", 1, "*prev", "bToolRef", true, 8)] public bToolRef prev; - [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "idname[64]", "System.Char[]", 64, 16)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "idname_fallback[64]", "System.Char[]", false, 80)] + [DNAArrayAttribute(64, "char", 3, "idname_fallback[64]", "System.Char[]", 64, 80)] public char[] idname_fallback = new System.Char[64]; [DNAFieldAttribute(2, "short", 4, "tag", "short", false, 144)] public short tag; diff --git a/BlendFile/DNA/bTrackToConstraint.cs b/BlendFile/DNA/bTrackToConstraint.cs index 18cf946..7e3419f 100644 --- a/BlendFile/DNA/bTrackToConstraint.cs +++ b/BlendFile/DNA/bTrackToConstraint.cs @@ -23,9 +23,9 @@ namespace BlendFile.DNA { public int reserved2; [DNAFieldAttribute(4, "int", 3, "flags", "int", false, 16)] public int flags; - [DNAFieldAttribute(4, "char", 4, "_pad[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 4, "_pad[4]", "System.Char[]", 4, 20)] public char[] _pad = new System.Char[4]; - [DNAFieldAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", false, 24)] + [DNAArrayAttribute(64, "char", 5, "subtarget[64]", "System.Char[]", 64, 24)] public char[] subtarget = new System.Char[64]; public bTrackToConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bTransLikeConstraint.cs b/BlendFile/DNA/bTransLikeConstraint.cs index ec24643..623bfe4 100644 --- a/BlendFile/DNA/bTransLikeConstraint.cs +++ b/BlendFile/DNA/bTransLikeConstraint.cs @@ -21,9 +21,9 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(1, "char", 2, "mix_mode", "char", false, 12)] public char mix_mode; - [DNAFieldAttribute(3, "char", 3, "_pad[3]", "System.Char[]", false, 13)] + [DNAArrayAttribute(3, "char", 3, "_pad[3]", "System.Char[]", 3, 13)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(64, "char", 4, "subtarget[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 4, "subtarget[64]", "System.Char[]", 64, 16)] public char[] subtarget = new System.Char[64]; public bTransLikeConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bTransformCacheConstraint.cs b/BlendFile/DNA/bTransformCacheConstraint.cs index 6cdefad..e31ecbd 100644 --- a/BlendFile/DNA/bTransformCacheConstraint.cs +++ b/BlendFile/DNA/bTransformCacheConstraint.cs @@ -17,11 +17,11 @@ namespace BlendFile.DNA { public class bTransformCacheConstraint { [DNAFieldAttribute(8, "CacheFile", 0, "*cache_file", "CacheFile", true, 0)] public CacheFile cache_file; - [DNAFieldAttribute(1024, "char", 1, "object_path[1024]", "System.Char[]", false, 8)] + [DNAArrayAttribute(1024, "char", 1, "object_path[1024]", "System.Char[]", 1024, 8)] public char[] object_path = new System.Char[1024]; [DNAFieldAttribute(8, "CacheReader", 2, "*reader", "CacheReader", true, 1032)] public CacheReader reader; - [DNAFieldAttribute(1024, "char", 3, "reader_object_path[1024]", "System.Char[]", false, 1040)] + [DNAArrayAttribute(1024, "char", 3, "reader_object_path[1024]", "System.Char[]", 1024, 1040)] public char[] reader_object_path = new System.Char[1024]; public bTransformCacheConstraint() { this.cache_file = default; diff --git a/BlendFile/DNA/bTransformConstraint.cs b/BlendFile/DNA/bTransformConstraint.cs index 9583bc3..05051db 100644 --- a/BlendFile/DNA/bTransformConstraint.cs +++ b/BlendFile/DNA/bTransformConstraint.cs @@ -17,13 +17,13 @@ namespace BlendFile.DNA { public class bTransformConstraint { [DNAFieldAttribute(8, "Object", 0, "*tar", "Object", true, 0)] public Object tar; - [DNAFieldAttribute(64, "char", 1, "subtarget[64]", "System.Char[]", false, 8)] + [DNAArrayAttribute(64, "char", 1, "subtarget[64]", "System.Char[]", 64, 8)] public char[] subtarget = new System.Char[64]; [DNAFieldAttribute(2, "short", 2, "from", "short", false, 72)] public short from; [DNAFieldAttribute(2, "short", 3, "to", "short", false, 74)] public short to; - [DNAFieldAttribute(3, "char", 4, "map[3]", "System.Char[]", false, 76)] + [DNAArrayAttribute(3, "char", 4, "map[3]", "System.Char[]", 3, 76)] public char[] map = new System.Char[3]; [DNAFieldAttribute(1, "char", 5, "expo", "char", false, 79)] public char expo; @@ -37,31 +37,31 @@ namespace BlendFile.DNA { public char mix_mode_rot; [DNAFieldAttribute(1, "char", 10, "mix_mode_scale", "char", false, 84)] public char mix_mode_scale; - [DNAFieldAttribute(3, "char", 11, "_pad[3]", "System.Char[]", false, 85)] + [DNAArrayAttribute(3, "char", 11, "_pad[3]", "System.Char[]", 3, 85)] public char[] _pad = new System.Char[3]; - [DNAFieldAttribute(12, "float", 12, "from_min[3]", "System.Single[]", false, 88)] + [DNAArrayAttribute(12, "float", 12, "from_min[3]", "System.Single[]", 3, 88)] public float[] from_min = new System.Single[3]; - [DNAFieldAttribute(12, "float", 13, "from_max[3]", "System.Single[]", false, 100)] + [DNAArrayAttribute(12, "float", 13, "from_max[3]", "System.Single[]", 3, 100)] public float[] from_max = new System.Single[3]; - [DNAFieldAttribute(12, "float", 14, "to_min[3]", "System.Single[]", false, 112)] + [DNAArrayAttribute(12, "float", 14, "to_min[3]", "System.Single[]", 3, 112)] public float[] to_min = new System.Single[3]; - [DNAFieldAttribute(12, "float", 15, "to_max[3]", "System.Single[]", false, 124)] + [DNAArrayAttribute(12, "float", 15, "to_max[3]", "System.Single[]", 3, 124)] public float[] to_max = new System.Single[3]; - [DNAFieldAttribute(12, "float", 16, "from_min_rot[3]", "System.Single[]", false, 136)] + [DNAArrayAttribute(12, "float", 16, "from_min_rot[3]", "System.Single[]", 3, 136)] public float[] from_min_rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 17, "from_max_rot[3]", "System.Single[]", false, 148)] + [DNAArrayAttribute(12, "float", 17, "from_max_rot[3]", "System.Single[]", 3, 148)] public float[] from_max_rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 18, "to_min_rot[3]", "System.Single[]", false, 160)] + [DNAArrayAttribute(12, "float", 18, "to_min_rot[3]", "System.Single[]", 3, 160)] public float[] to_min_rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 19, "to_max_rot[3]", "System.Single[]", false, 172)] + [DNAArrayAttribute(12, "float", 19, "to_max_rot[3]", "System.Single[]", 3, 172)] public float[] to_max_rot = new System.Single[3]; - [DNAFieldAttribute(12, "float", 20, "from_min_scale[3]", "System.Single[]", false, 184)] + [DNAArrayAttribute(12, "float", 20, "from_min_scale[3]", "System.Single[]", 3, 184)] public float[] from_min_scale = new System.Single[3]; - [DNAFieldAttribute(12, "float", 21, "from_max_scale[3]", "System.Single[]", false, 196)] + [DNAArrayAttribute(12, "float", 21, "from_max_scale[3]", "System.Single[]", 3, 196)] public float[] from_max_scale = new System.Single[3]; - [DNAFieldAttribute(12, "float", 22, "to_min_scale[3]", "System.Single[]", false, 208)] + [DNAArrayAttribute(12, "float", 22, "to_min_scale[3]", "System.Single[]", 3, 208)] public float[] to_min_scale = new System.Single[3]; - [DNAFieldAttribute(12, "float", 23, "to_max_scale[3]", "System.Single[]", false, 220)] + [DNAArrayAttribute(12, "float", 23, "to_max_scale[3]", "System.Single[]", 3, 220)] public float[] to_max_scale = new System.Single[3]; public bTransformConstraint() { this.tar = default; diff --git a/BlendFile/DNA/bUUID.cs b/BlendFile/DNA/bUUID.cs index 3150336..a9d56e7 100644 --- a/BlendFile/DNA/bUUID.cs +++ b/BlendFile/DNA/bUUID.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public byte clock_seq_hi_and_reserved; [DNAFieldAttribute(1, "uchar", 4, "clock_seq_low", "uchar", false, 9)] public byte clock_seq_low; - [DNAFieldAttribute(6, "uchar", 5, "node[6]", "System.Byte[]", false, 10)] + [DNAArrayAttribute(6, "uchar", 5, "node[6]", "System.Byte[]", 6, 10)] public byte[] node = new System.Byte[6]; public bUUID() { this.time_low = default; diff --git a/BlendFile/DNA/bUserAssetLibrary.cs b/BlendFile/DNA/bUserAssetLibrary.cs index 39c9371..87d3720 100644 --- a/BlendFile/DNA/bUserAssetLibrary.cs +++ b/BlendFile/DNA/bUserAssetLibrary.cs @@ -19,15 +19,15 @@ namespace BlendFile.DNA { public bUserAssetLibrary next; [DNAFieldAttribute(8, "bUserAssetLibrary", 1, "*prev", "bUserAssetLibrary", true, 8)] public bUserAssetLibrary prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(1024, "char", 3, "path[1024]", "System.Char[]", false, 80)] + [DNAArrayAttribute(1024, "char", 3, "path[1024]", "System.Char[]", 1024, 80)] public char[] path = new System.Char[1024]; [DNAFieldAttribute(2, "short", 4, "import_method", "short", false, 1104)] public short import_method; [DNAFieldAttribute(2, "short", 5, "flag", "short", false, 1106)] public short flag; - [DNAFieldAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", false, 1108)] + [DNAArrayAttribute(4, "char", 6, "_pad0[4]", "System.Char[]", 4, 1108)] public char[] _pad0 = new System.Char[4]; public bUserAssetLibrary() { this.next = default; diff --git a/BlendFile/DNA/bUserAssetShelfSettings.cs b/BlendFile/DNA/bUserAssetShelfSettings.cs index 08b321c..05f1e7d 100644 --- a/BlendFile/DNA/bUserAssetShelfSettings.cs +++ b/BlendFile/DNA/bUserAssetShelfSettings.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public bUserAssetShelfSettings next; [DNAFieldAttribute(8, "bUserAssetShelfSettings", 1, "*prev", "bUserAssetShelfSettings", true, 8)] public bUserAssetShelfSettings prev; - [DNAFieldAttribute(64, "char", 2, "shelf_idname[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "shelf_idname[64]", "System.Char[]", 64, 16)] public char[] shelf_idname = new System.Char[64]; [DNAFieldAttribute(16, "ListBase", 3, "enabled_catalog_paths", "ListBase", false, 80)] public ListBase enabled_catalog_paths; diff --git a/BlendFile/DNA/bUserExtensionRepo.cs b/BlendFile/DNA/bUserExtensionRepo.cs index cc20723..db84772 100644 --- a/BlendFile/DNA/bUserExtensionRepo.cs +++ b/BlendFile/DNA/bUserExtensionRepo.cs @@ -19,21 +19,21 @@ namespace BlendFile.DNA { public bUserExtensionRepo next; [DNAFieldAttribute(8, "bUserExtensionRepo", 1, "*prev", "bUserExtensionRepo", true, 8)] public bUserExtensionRepo prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(48, "char", 3, "module[48]", "System.Char[]", false, 80)] + [DNAArrayAttribute(48, "char", 3, "module[48]", "System.Char[]", 48, 80)] public char[] module = new System.Char[48]; [DNAFieldAttribute(8, "char", 4, "*access_token", "char", true, 128)] public char access_token; - [DNAFieldAttribute(1024, "char", 5, "custom_dirpath[1024]", "System.Char[]", false, 136)] + [DNAArrayAttribute(1024, "char", 5, "custom_dirpath[1024]", "System.Char[]", 1024, 136)] public char[] custom_dirpath = new System.Char[1024]; - [DNAFieldAttribute(1024, "char", 6, "remote_url[1024]", "System.Char[]", false, 1160)] + [DNAArrayAttribute(1024, "char", 6, "remote_url[1024]", "System.Char[]", 1024, 1160)] public char[] remote_url = new System.Char[1024]; [DNAFieldAttribute(1, "uchar", 7, "flag", "uchar", false, 2184)] public byte flag; [DNAFieldAttribute(1, "uchar", 8, "source", "uchar", false, 2185)] public byte source; - [DNAFieldAttribute(6, "char", 9, "_pad0[6]", "System.Char[]", false, 2186)] + [DNAArrayAttribute(6, "char", 9, "_pad0[6]", "System.Char[]", 6, 2186)] public char[] _pad0 = new System.Char[6]; public bUserExtensionRepo() { this.next = default; diff --git a/BlendFile/DNA/bUserMenu.cs b/BlendFile/DNA/bUserMenu.cs index 97bc36c..9468135 100644 --- a/BlendFile/DNA/bUserMenu.cs +++ b/BlendFile/DNA/bUserMenu.cs @@ -21,9 +21,9 @@ namespace BlendFile.DNA { public bUserMenu prev; [DNAFieldAttribute(1, "char", 2, "space_type", "char", false, 16)] public char space_type; - [DNAFieldAttribute(7, "char", 3, "_pad0[7]", "System.Char[]", false, 17)] + [DNAArrayAttribute(7, "char", 3, "_pad0[7]", "System.Char[]", 7, 17)] public char[] _pad0 = new System.Char[7]; - [DNAFieldAttribute(64, "char", 4, "context[64]", "System.Char[]", false, 24)] + [DNAArrayAttribute(64, "char", 4, "context[64]", "System.Char[]", 64, 24)] public char[] context = new System.Char[64]; [DNAFieldAttribute(16, "ListBase", 5, "items", "ListBase", false, 88)] public ListBase items; diff --git a/BlendFile/DNA/bUserMenuItem.cs b/BlendFile/DNA/bUserMenuItem.cs index 7de8280..8adfd27 100644 --- a/BlendFile/DNA/bUserMenuItem.cs +++ b/BlendFile/DNA/bUserMenuItem.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public bUserMenuItem next; [DNAFieldAttribute(8, "bUserMenuItem", 1, "*prev", "bUserMenuItem", true, 8)] public bUserMenuItem prev; - [DNAFieldAttribute(64, "char", 2, "ui_name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "ui_name[64]", "System.Char[]", 64, 16)] public char[] ui_name = new System.Char[64]; [DNAFieldAttribute(1, "char", 3, "type", "char", false, 80)] public char type; - [DNAFieldAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", false, 81)] + [DNAArrayAttribute(7, "char", 4, "_pad0[7]", "System.Char[]", 7, 81)] public char[] _pad0 = new System.Char[7]; public bUserMenuItem() { this.next = default; diff --git a/BlendFile/DNA/bUserMenuItem_Menu.cs b/BlendFile/DNA/bUserMenuItem_Menu.cs index e3d2e98..1ccef17 100644 --- a/BlendFile/DNA/bUserMenuItem_Menu.cs +++ b/BlendFile/DNA/bUserMenuItem_Menu.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class bUserMenuItem_Menu { [DNAFieldAttribute(88, "bUserMenuItem", 0, "item", "bUserMenuItem", false, 0)] public bUserMenuItem item; - [DNAFieldAttribute(64, "char", 1, "mt_idname[64]", "System.Char[]", false, 88)] + [DNAArrayAttribute(64, "char", 1, "mt_idname[64]", "System.Char[]", 64, 88)] public char[] mt_idname = new System.Char[64]; public bUserMenuItem_Menu() { this.item = default; diff --git a/BlendFile/DNA/bUserMenuItem_Op.cs b/BlendFile/DNA/bUserMenuItem_Op.cs index 87420bf..f1d375d 100644 --- a/BlendFile/DNA/bUserMenuItem_Op.cs +++ b/BlendFile/DNA/bUserMenuItem_Op.cs @@ -17,15 +17,15 @@ namespace BlendFile.DNA { public class bUserMenuItem_Op { [DNAFieldAttribute(88, "bUserMenuItem", 0, "item", "bUserMenuItem", false, 0)] public bUserMenuItem item; - [DNAFieldAttribute(64, "char", 1, "op_idname[64]", "System.Char[]", false, 88)] + [DNAArrayAttribute(64, "char", 1, "op_idname[64]", "System.Char[]", 64, 88)] public char[] op_idname = new System.Char[64]; [DNAFieldAttribute(8, "IDProperty", 2, "*prop", "IDProperty", true, 152)] public IDProperty prop; - [DNAFieldAttribute(64, "char", 3, "op_prop_enum[64]", "System.Char[]", false, 160)] + [DNAArrayAttribute(64, "char", 3, "op_prop_enum[64]", "System.Char[]", 64, 160)] public char[] op_prop_enum = new System.Char[64]; [DNAFieldAttribute(1, "char", 4, "opcontext", "char", false, 224)] public char opcontext; - [DNAFieldAttribute(7, "char", 5, "_pad0[7]", "System.Char[]", false, 225)] + [DNAArrayAttribute(7, "char", 5, "_pad0[7]", "System.Char[]", 7, 225)] public char[] _pad0 = new System.Char[7]; public bUserMenuItem_Op() { this.item = default; diff --git a/BlendFile/DNA/bUserMenuItem_Prop.cs b/BlendFile/DNA/bUserMenuItem_Prop.cs index 0e3fc6b..1a4ba02 100644 --- a/BlendFile/DNA/bUserMenuItem_Prop.cs +++ b/BlendFile/DNA/bUserMenuItem_Prop.cs @@ -17,13 +17,13 @@ namespace BlendFile.DNA { public class bUserMenuItem_Prop { [DNAFieldAttribute(88, "bUserMenuItem", 0, "item", "bUserMenuItem", false, 0)] public bUserMenuItem item; - [DNAFieldAttribute(256, "char", 1, "context_data_path[256]", "System.Char[]", false, 88)] + [DNAArrayAttribute(256, "char", 1, "context_data_path[256]", "System.Char[]", 256, 88)] public char[] context_data_path = new System.Char[256]; - [DNAFieldAttribute(64, "char", 2, "prop_id[64]", "System.Char[]", false, 344)] + [DNAArrayAttribute(64, "char", 2, "prop_id[64]", "System.Char[]", 64, 344)] public char[] prop_id = new System.Char[64]; [DNAFieldAttribute(4, "int", 3, "prop_index", "int", false, 408)] public int prop_index; - [DNAFieldAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", false, 412)] + [DNAArrayAttribute(4, "char", 4, "_pad0[4]", "System.Char[]", 4, 412)] public char[] _pad0 = new System.Char[4]; public bUserMenuItem_Prop() { this.item = default; diff --git a/BlendFile/DNA/bUserScriptDirectory.cs b/BlendFile/DNA/bUserScriptDirectory.cs index fda91b6..8512e2b 100644 --- a/BlendFile/DNA/bUserScriptDirectory.cs +++ b/BlendFile/DNA/bUserScriptDirectory.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public bUserScriptDirectory next; [DNAFieldAttribute(8, "bUserScriptDirectory", 1, "*prev", "bUserScriptDirectory", true, 8)] public bUserScriptDirectory prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; - [DNAFieldAttribute(768, "char", 3, "dir_path[768]", "System.Char[]", false, 80)] + [DNAArrayAttribute(768, "char", 3, "dir_path[768]", "System.Char[]", 768, 80)] public char[] dir_path = new System.Char[768]; public bUserScriptDirectory() { this.next = default; diff --git a/BlendFile/DNA/mat4x4f.cs b/BlendFile/DNA/mat4x4f.cs index 19b3968..dde0874 100644 --- a/BlendFile/DNA/mat4x4f.cs +++ b/BlendFile/DNA/mat4x4f.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(1021, "mat4x4f", 64)] public class mat4x4f { - [DNAFieldAttribute(64, "float", 0, "value[4][4]", "System.Single[,]", false, 0)] + [DNAArrayAttribute(64, "float", 0, "value[4][4]", "System.Single[,]", 8, 0)] public float[,] value = new System.Single[4,4]; public mat4x4f() { this.value = default; diff --git a/BlendFile/DNA/tPaletteColorHSV.cs b/BlendFile/DNA/tPaletteColorHSV.cs index d644a1d..5d2f301 100644 --- a/BlendFile/DNA/tPaletteColorHSV.cs +++ b/BlendFile/DNA/tPaletteColorHSV.cs @@ -15,7 +15,7 @@ namespace BlendFile.DNA { [DNAClassAttribute(136, "tPaletteColorHSV", 28)] public class tPaletteColorHSV { - [DNAFieldAttribute(12, "float", 0, "rgb[3]", "System.Single[]", false, 0)] + [DNAArrayAttribute(12, "float", 0, "rgb[3]", "System.Single[]", 3, 0)] public float[] rgb = new System.Single[3]; [DNAFieldAttribute(4, "float", 1, "value", "float", false, 12)] public float value; diff --git a/BlendFile/DNA/uiFontStyle.cs b/BlendFile/DNA/uiFontStyle.cs index 7e51d08..b159e8b 100644 --- a/BlendFile/DNA/uiFontStyle.cs +++ b/BlendFile/DNA/uiFontStyle.cs @@ -17,7 +17,7 @@ namespace BlendFile.DNA { public class uiFontStyle { [DNAFieldAttribute(2, "short", 0, "uifont_id", "short", false, 0)] public short uifont_id; - [DNAFieldAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", false, 2)] + [DNAArrayAttribute(2, "char", 1, "_pad1[2]", "System.Char[]", 2, 2)] public char[] _pad1 = new System.Char[2]; [DNAFieldAttribute(4, "float", 2, "points", "float", false, 4)] public float points; @@ -31,7 +31,7 @@ namespace BlendFile.DNA { public short shadx; [DNAFieldAttribute(2, "short", 7, "shady", "short", false, 16)] public short shady; - [DNAFieldAttribute(2, "char", 8, "_pad0[2]", "System.Char[]", false, 18)] + [DNAArrayAttribute(2, "char", 8, "_pad0[2]", "System.Char[]", 2, 18)] public char[] _pad0 = new System.Char[2]; [DNAFieldAttribute(4, "float", 9, "shadowalpha", "float", false, 20)] public float shadowalpha; diff --git a/BlendFile/DNA/uiList.cs b/BlendFile/DNA/uiList.cs index 4f6c1ab..3600224 100644 --- a/BlendFile/DNA/uiList.cs +++ b/BlendFile/DNA/uiList.cs @@ -27,7 +27,7 @@ namespace BlendFile.DNA { public int flag; [DNAFieldAttribute(4, "int", 8, "list_last_len", "int", false, 32)] public int list_last_len; - [DNAFieldAttribute(128, "char", 10, "filter_byname[128]", "System.Char[]", false, 36)] + [DNAArrayAttribute(128, "char", 10, "filter_byname[128]", "System.Char[]", 128, 36)] public char[] filter_byname = new System.Char[128]; [DNAFieldAttribute(4, "int", 11, "filter_flag", "int", false, 164)] public int filter_flag; diff --git a/BlendFile/DNA/uiPanelColors.cs b/BlendFile/DNA/uiPanelColors.cs index c5782a6..e0a568c 100644 --- a/BlendFile/DNA/uiPanelColors.cs +++ b/BlendFile/DNA/uiPanelColors.cs @@ -15,13 +15,13 @@ namespace BlendFile.DNA { [DNAClassAttribute(991, "uiPanelColors", 16)] public class uiPanelColors { - [DNAFieldAttribute(4, "char", 0, "header[4]", "System.Char[]", false, 0)] + [DNAArrayAttribute(4, "char", 0, "header[4]", "System.Char[]", 4, 0)] public char[] header = new System.Char[4]; - [DNAFieldAttribute(4, "char", 1, "back[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "back[4]", "System.Char[]", 4, 4)] public char[] back = new System.Char[4]; - [DNAFieldAttribute(4, "char", 2, "sub_back[4]", "System.Char[]", false, 8)] + [DNAArrayAttribute(4, "char", 2, "sub_back[4]", "System.Char[]", 4, 8)] public char[] sub_back = new System.Char[4]; - [DNAFieldAttribute(4, "char", 3, "_pad0[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 3, "_pad0[4]", "System.Char[]", 4, 12)] public char[] _pad0 = new System.Char[4]; public uiPanelColors() { this.header = default; diff --git a/BlendFile/DNA/uiPreview.cs b/BlendFile/DNA/uiPreview.cs index 6ffd641..607c0b4 100644 --- a/BlendFile/DNA/uiPreview.cs +++ b/BlendFile/DNA/uiPreview.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public uiPreview next; [DNAFieldAttribute(8, "uiPreview", 1, "*prev", "uiPreview", true, 8)] public uiPreview prev; - [DNAFieldAttribute(64, "char", 2, "preview_id[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "preview_id[64]", "System.Char[]", 64, 16)] public char[] preview_id = new System.Char[64]; [DNAFieldAttribute(2, "short", 3, "height", "short", false, 80)] public short height; diff --git a/BlendFile/DNA/uiStyle.cs b/BlendFile/DNA/uiStyle.cs index 94bf8f7..a822154 100644 --- a/BlendFile/DNA/uiStyle.cs +++ b/BlendFile/DNA/uiStyle.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public uiStyle next; [DNAFieldAttribute(8, "uiStyle", 1, "*prev", "uiStyle", true, 8)] public uiStyle prev; - [DNAFieldAttribute(64, "char", 2, "name[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "name[64]", "System.Char[]", 64, 16)] public char[] name = new System.Char[64]; [DNAFieldAttribute(32, "uiFontStyle", 3, "paneltitle", "uiFontStyle", false, 80)] public uiFontStyle paneltitle; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public short panelspace; [DNAFieldAttribute(2, "short", 16, "panelouter", "short", false, 228)] public short panelouter; - [DNAFieldAttribute(2, "char", 17, "_pad0[2]", "System.Char[]", false, 230)] + [DNAArrayAttribute(2, "char", 17, "_pad0[2]", "System.Char[]", 2, 230)] public char[] _pad0 = new System.Char[2]; public uiStyle() { this.next = default; diff --git a/BlendFile/DNA/uiWidgetColors.cs b/BlendFile/DNA/uiWidgetColors.cs index a02009f..8628df9 100644 --- a/BlendFile/DNA/uiWidgetColors.cs +++ b/BlendFile/DNA/uiWidgetColors.cs @@ -15,21 +15,21 @@ namespace BlendFile.DNA { [DNAClassAttribute(989, "uiWidgetColors", 40)] public class uiWidgetColors { - [DNAFieldAttribute(4, "char", 0, "outline[4]", "System.Char[]", false, 0)] + [DNAArrayAttribute(4, "char", 0, "outline[4]", "System.Char[]", 4, 0)] public char[] outline = new System.Char[4]; - [DNAFieldAttribute(4, "char", 1, "inner[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "inner[4]", "System.Char[]", 4, 4)] public char[] inner = new System.Char[4]; - [DNAFieldAttribute(4, "char", 2, "inner_sel[4]", "System.Char[]", false, 8)] + [DNAArrayAttribute(4, "char", 2, "inner_sel[4]", "System.Char[]", 4, 8)] public char[] inner_sel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 3, "item[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 3, "item[4]", "System.Char[]", 4, 12)] public char[] item = new System.Char[4]; - [DNAFieldAttribute(4, "char", 4, "text[4]", "System.Char[]", false, 16)] + [DNAArrayAttribute(4, "char", 4, "text[4]", "System.Char[]", 4, 16)] public char[] text = new System.Char[4]; - [DNAFieldAttribute(4, "char", 5, "text_sel[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 5, "text_sel[4]", "System.Char[]", 4, 20)] public char[] text_sel = new System.Char[4]; [DNAFieldAttribute(1, "char", 6, "shaded", "char", false, 24)] public char shaded; - [DNAFieldAttribute(7, "char", 7, "_pad0[7]", "System.Char[]", false, 25)] + [DNAArrayAttribute(7, "char", 7, "_pad0[7]", "System.Char[]", 7, 25)] public char[] _pad0 = new System.Char[7]; [DNAFieldAttribute(2, "short", 8, "shadetop", "short", false, 32)] public short shadetop; diff --git a/BlendFile/DNA/uiWidgetStateColors.cs b/BlendFile/DNA/uiWidgetStateColors.cs index 05a62c3..28e8fca 100644 --- a/BlendFile/DNA/uiWidgetStateColors.cs +++ b/BlendFile/DNA/uiWidgetStateColors.cs @@ -15,29 +15,29 @@ namespace BlendFile.DNA { [DNAClassAttribute(990, "uiWidgetStateColors", 48)] public class uiWidgetStateColors { - [DNAFieldAttribute(4, "char", 0, "inner_anim[4]", "System.Char[]", false, 0)] + [DNAArrayAttribute(4, "char", 0, "inner_anim[4]", "System.Char[]", 4, 0)] public char[] inner_anim = new System.Char[4]; - [DNAFieldAttribute(4, "char", 1, "inner_anim_sel[4]", "System.Char[]", false, 4)] + [DNAArrayAttribute(4, "char", 1, "inner_anim_sel[4]", "System.Char[]", 4, 4)] public char[] inner_anim_sel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 2, "inner_key[4]", "System.Char[]", false, 8)] + [DNAArrayAttribute(4, "char", 2, "inner_key[4]", "System.Char[]", 4, 8)] public char[] inner_key = new System.Char[4]; - [DNAFieldAttribute(4, "char", 3, "inner_key_sel[4]", "System.Char[]", false, 12)] + [DNAArrayAttribute(4, "char", 3, "inner_key_sel[4]", "System.Char[]", 4, 12)] public char[] inner_key_sel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 4, "inner_driven[4]", "System.Char[]", false, 16)] + [DNAArrayAttribute(4, "char", 4, "inner_driven[4]", "System.Char[]", 4, 16)] public char[] inner_driven = new System.Char[4]; - [DNAFieldAttribute(4, "char", 5, "inner_driven_sel[4]", "System.Char[]", false, 20)] + [DNAArrayAttribute(4, "char", 5, "inner_driven_sel[4]", "System.Char[]", 4, 20)] public char[] inner_driven_sel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 6, "inner_overridden[4]", "System.Char[]", false, 24)] + [DNAArrayAttribute(4, "char", 6, "inner_overridden[4]", "System.Char[]", 4, 24)] public char[] inner_overridden = new System.Char[4]; - [DNAFieldAttribute(4, "char", 7, "inner_overridden_sel[4]", "System.Char[]", false, 28)] + [DNAArrayAttribute(4, "char", 7, "inner_overridden_sel[4]", "System.Char[]", 4, 28)] public char[] inner_overridden_sel = new System.Char[4]; - [DNAFieldAttribute(4, "char", 8, "inner_changed[4]", "System.Char[]", false, 32)] + [DNAArrayAttribute(4, "char", 8, "inner_changed[4]", "System.Char[]", 4, 32)] public char[] inner_changed = new System.Char[4]; - [DNAFieldAttribute(4, "char", 9, "inner_changed_sel[4]", "System.Char[]", false, 36)] + [DNAArrayAttribute(4, "char", 9, "inner_changed_sel[4]", "System.Char[]", 4, 36)] public char[] inner_changed_sel = new System.Char[4]; [DNAFieldAttribute(4, "float", 10, "blend", "float", false, 40)] public float blend; - [DNAFieldAttribute(4, "char", 11, "_pad0[4]", "System.Char[]", false, 44)] + [DNAArrayAttribute(4, "char", 11, "_pad0[4]", "System.Char[]", 4, 44)] public char[] _pad0 = new System.Char[4]; public uiWidgetStateColors() { this.inner_anim = default; diff --git a/BlendFile/DNA/wmKeyConfig.cs b/BlendFile/DNA/wmKeyConfig.cs index 8e6994a..1560446 100644 --- a/BlendFile/DNA/wmKeyConfig.cs +++ b/BlendFile/DNA/wmKeyConfig.cs @@ -19,9 +19,9 @@ namespace BlendFile.DNA { public wmKeyConfig next; [DNAFieldAttribute(8, "wmKeyConfig", 1, "*prev", "wmKeyConfig", true, 8)] public wmKeyConfig prev; - [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "idname[64]", "System.Char[]", 64, 16)] public char[] idname = new System.Char[64]; - [DNAFieldAttribute(64, "char", 3, "basename[64]", "System.Char[]", false, 80)] + [DNAArrayAttribute(64, "char", 3, "basename[64]", "System.Char[]", 64, 80)] public char[] basename = new System.Char[64]; [DNAFieldAttribute(16, "ListBase", 4, "keymaps", "ListBase", false, 144)] public ListBase keymaps; @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public int actkeymap; [DNAFieldAttribute(2, "short", 6, "flag", "short", false, 164)] public short flag; - [DNAFieldAttribute(2, "char", 7, "_pad0[2]", "System.Char[]", false, 166)] + [DNAArrayAttribute(2, "char", 7, "_pad0[2]", "System.Char[]", 2, 166)] public char[] _pad0 = new System.Char[2]; public wmKeyConfig() { this.next = default; diff --git a/BlendFile/DNA/wmKeyConfigPref.cs b/BlendFile/DNA/wmKeyConfigPref.cs index 3a3022c..44efd5d 100644 --- a/BlendFile/DNA/wmKeyConfigPref.cs +++ b/BlendFile/DNA/wmKeyConfigPref.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public wmKeyConfigPref next; [DNAFieldAttribute(8, "wmKeyConfigPref", 1, "*prev", "wmKeyConfigPref", true, 8)] public wmKeyConfigPref prev; - [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "idname[64]", "System.Char[]", 64, 16)] public char[] idname = new System.Char[64]; [DNAFieldAttribute(8, "IDProperty", 3, "*prop", "IDProperty", true, 80)] public IDProperty prop; diff --git a/BlendFile/DNA/wmKeyMap.cs b/BlendFile/DNA/wmKeyMap.cs index 54023be..426ee35 100644 --- a/BlendFile/DNA/wmKeyMap.cs +++ b/BlendFile/DNA/wmKeyMap.cs @@ -23,13 +23,13 @@ namespace BlendFile.DNA { public ListBase items; [DNAFieldAttribute(16, "ListBase", 3, "diff_items", "ListBase", false, 32)] public ListBase diff_items; - [DNAFieldAttribute(64, "char", 4, "idname[64]", "System.Char[]", false, 48)] + [DNAArrayAttribute(64, "char", 4, "idname[64]", "System.Char[]", 64, 48)] public char[] idname = new System.Char[64]; [DNAFieldAttribute(2, "short", 5, "spaceid", "short", false, 112)] public short spaceid; [DNAFieldAttribute(2, "short", 6, "regionid", "short", false, 114)] public short regionid; - [DNAFieldAttribute(128, "char", 7, "owner_id[128]", "System.Char[]", false, 116)] + [DNAArrayAttribute(128, "char", 7, "owner_id[128]", "System.Char[]", 128, 116)] public char[] owner_id = new System.Char[128]; [DNAFieldAttribute(2, "short", 8, "flag", "short", false, 244)] public short flag; diff --git a/BlendFile/DNA/wmKeyMapItem.cs b/BlendFile/DNA/wmKeyMapItem.cs index 91dd81b..8652aa1 100644 --- a/BlendFile/DNA/wmKeyMapItem.cs +++ b/BlendFile/DNA/wmKeyMapItem.cs @@ -19,11 +19,11 @@ namespace BlendFile.DNA { public wmKeyMapItem next; [DNAFieldAttribute(8, "wmKeyMapItem", 1, "*prev", "wmKeyMapItem", true, 8)] public wmKeyMapItem prev; - [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "idname[64]", "System.Char[]", 64, 16)] public char[] idname = new System.Char[64]; [DNAFieldAttribute(8, "IDProperty", 3, "*properties", "IDProperty", true, 80)] public IDProperty properties; - [DNAFieldAttribute(64, "char", 4, "propvalue_str[64]", "System.Char[]", false, 88)] + [DNAArrayAttribute(64, "char", 4, "propvalue_str[64]", "System.Char[]", 64, 88)] public char[] propvalue_str = new System.Char[64]; [DNAFieldAttribute(2, "short", 5, "propvalue", "short", false, 152)] public short propvalue; @@ -49,7 +49,7 @@ namespace BlendFile.DNA { public short maptype; [DNAFieldAttribute(2, "short", 16, "id", "short", false, 172)] public short id; - [DNAFieldAttribute(2, "char", 17, "_pad[2]", "System.Char[]", false, 174)] + [DNAArrayAttribute(2, "char", 17, "_pad[2]", "System.Char[]", 2, 174)] public char[] _pad = new System.Char[2]; [DNAFieldAttribute(8, "PointerRNA", 18, "*ptr", "PointerRNA", true, 176)] public PointerRNA ptr; diff --git a/BlendFile/DNA/wmOperator.cs b/BlendFile/DNA/wmOperator.cs index 949e193..3767b79 100644 --- a/BlendFile/DNA/wmOperator.cs +++ b/BlendFile/DNA/wmOperator.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public wmOperator next; [DNAFieldAttribute(8, "wmOperator", 1, "*prev", "wmOperator", true, 8)] public wmOperator prev; - [DNAFieldAttribute(64, "char", 2, "idname[64]", "System.Char[]", false, 16)] + [DNAArrayAttribute(64, "char", 2, "idname[64]", "System.Char[]", 64, 16)] public char[] idname = new System.Char[64]; [DNAFieldAttribute(8, "IDProperty", 3, "*properties", "IDProperty", true, 80)] public IDProperty properties; @@ -41,7 +41,7 @@ namespace BlendFile.DNA { public uiLayout layout; [DNAFieldAttribute(2, "short", 12, "flag", "short", false, 160)] public short flag; - [DNAFieldAttribute(6, "char", 13, "_pad[6]", "System.Char[]", false, 162)] + [DNAArrayAttribute(6, "char", 13, "_pad[6]", "System.Char[]", 6, 162)] public char[] _pad = new System.Char[6]; public wmOperator() { this.next = default; diff --git a/BlendFile/DNA/wmOwnerID.cs b/BlendFile/DNA/wmOwnerID.cs index fb8915e..c69ad38 100644 --- a/BlendFile/DNA/wmOwnerID.cs +++ b/BlendFile/DNA/wmOwnerID.cs @@ -19,7 +19,7 @@ namespace BlendFile.DNA { public wmOwnerID next; [DNAFieldAttribute(8, "wmOwnerID", 1, "*prev", "wmOwnerID", true, 8)] public wmOwnerID prev; - [DNAFieldAttribute(128, "char", 2, "name[128]", "System.Char[]", false, 16)] + [DNAArrayAttribute(128, "char", 2, "name[128]", "System.Char[]", 128, 16)] public char[] name = new System.Char[128]; public wmOwnerID() { this.next = default; diff --git a/BlendFile/DNA/wmWindow.cs b/BlendFile/DNA/wmWindow.cs index f5e8295..463bb14 100644 --- a/BlendFile/DNA/wmWindow.cs +++ b/BlendFile/DNA/wmWindow.cs @@ -29,7 +29,7 @@ namespace BlendFile.DNA { public Scene scene; [DNAFieldAttribute(8, "Scene", 6, "*new_scene", "Scene", true, 48)] public Scene new_scene; - [DNAFieldAttribute(64, "char", 7, "view_layer_name[64]", "System.Char[]", false, 56)] + [DNAArrayAttribute(64, "char", 7, "view_layer_name[64]", "System.Char[]", 64, 56)] public char[] view_layer_name = new System.Char[64]; [DNAFieldAttribute(8, "Scene", 8, "*unpinned_scene", "Scene", true, 120)] public Scene unpinned_scene; @@ -77,7 +77,7 @@ namespace BlendFile.DNA { public char event_queue_check_drag_handled; [DNAFieldAttribute(1, "char", 30, "event_queue_consecutive_gesture_type", "char", false, 223)] public char event_queue_consecutive_gesture_type; - [DNAFieldAttribute(8, "int", 31, "event_queue_consecutive_gesture_xy[2]", "System.Int32[]", false, 224)] + [DNAArrayAttribute(8, "int", 31, "event_queue_consecutive_gesture_xy[2]", "System.Int32[]", 2, 224)] public int[] event_queue_consecutive_gesture_xy = new System.Int32[2]; [DNAFieldAttribute(8, "wmEvent_ConsecutiveData", 32, "*event_queue_consecutive_gesture_data", "wmEvent_ConsecutiveData", true, 232)] public wmEvent_ConsecutiveData event_queue_consecutive_gesture_data; @@ -89,7 +89,7 @@ namespace BlendFile.DNA { public wmIMEData ime_data; [DNAFieldAttribute(1, "char", 36, "ime_data_is_composing", "char", false, 264)] public char ime_data_is_composing; - [DNAFieldAttribute(7, "char", 37, "_pad1[7]", "System.Char[]", false, 265)] + [DNAArrayAttribute(7, "char", 37, "_pad1[7]", "System.Char[]", 7, 265)] public char[] _pad1 = new System.Char[7]; [DNAFieldAttribute(16, "ListBase", 38, "event_queue", "ListBase", false, 272)] public ListBase event_queue; diff --git a/BlendFile/DNA/wmWindowManager.cs b/BlendFile/DNA/wmWindowManager.cs index 41ab6d5..f27b9ca 100644 --- a/BlendFile/DNA/wmWindowManager.cs +++ b/BlendFile/DNA/wmWindowManager.cs @@ -25,7 +25,7 @@ namespace BlendFile.DNA { public ListBase windows; [DNAFieldAttribute(1, "uchar", 4, "init_flag", "uchar", false, 240)] public byte init_flag; - [DNAFieldAttribute(1, "char", 5, "_pad0[1]", "System.Char[]", false, 241)] + [DNAArrayAttribute(1, "char", 5, "_pad0[1]", "System.Char[]", 1, 241)] public char[] _pad0 = new System.Char[1]; [DNAFieldAttribute(2, "short", 6, "file_saved", "short", false, 242)] public short file_saved; @@ -65,7 +65,7 @@ namespace BlendFile.DNA { public wmTimer autosavetimer; [DNAFieldAttribute(1, "char", 24, "autosave_scheduled", "char", false, 416)] public char autosave_scheduled; - [DNAFieldAttribute(7, "char", 25, "_pad2[7]", "System.Char[]", false, 417)] + [DNAArrayAttribute(7, "char", 25, "_pad2[7]", "System.Char[]", 7, 417)] public char[] _pad2 = new System.Char[7]; [DNAFieldAttribute(8, "UndoStack", 26, "*undo_stack", "UndoStack", true, 424)] public UndoStack undo_stack; diff --git a/BlendFile/DNAArrayAttribute.cs b/BlendFile/DNAArrayAttribute.cs new file mode 100644 index 0000000..5013422 --- /dev/null +++ b/BlendFile/DNAArrayAttribute.cs @@ -0,0 +1,91 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; + + +namespace BlendFile { + + [AttributeUsageAttribute(AttributeTargets.Field)] + public class DNAArrayAttribute : BlendFile.DNAAttribute { + private int _Size; + public virtual int Size { + get { + return this._Size; + } + set { + this._Size = value; + } + } + private string _OriginalType; + public virtual string OriginalType { + get { + return this._OriginalType; + } + set { + this._OriginalType = value; + } + } + private int _OriginalIndex; + public virtual int OriginalIndex { + get { + return this._OriginalIndex; + } + set { + this._OriginalIndex = value; + } + } + private string _OriginalName; + public virtual string OriginalName { + get { + return this._OriginalName; + } + set { + this._OriginalName = value; + } + } + private string _UnderlyingType; + public virtual string UnderlyingType { + get { + return this._UnderlyingType; + } + set { + this._UnderlyingType = value; + } + } + private int _ArrayLenght; + public virtual int ArrayLenght { + get { + return this._ArrayLenght; + } + set { + this._ArrayLenght = value; + } + } + private int _MemoryOffset; + public virtual int MemoryOffset { + get { + return this._MemoryOffset; + } + set { + this._MemoryOffset = value; + } + } + public DNAArrayAttribute(int Size, string OriginalType, int OriginalIndex, string OriginalName, string UnderlyingType, int ArrayLenght, int MemoryOffset) : + base(OriginalIndex, OriginalName) { + this._Size = Size; + this._OriginalType = OriginalType; + this._OriginalIndex = OriginalIndex; + this._OriginalName = OriginalName; + this._UnderlyingType = UnderlyingType; + this._ArrayLenght = ArrayLenght; + this._MemoryOffset = MemoryOffset; + } + } +} diff --git a/BlendFile/Reader.cs b/BlendFile/Reader.cs index 3d79758..bd0e9ca 100644 --- a/BlendFile/Reader.cs +++ b/BlendFile/Reader.cs @@ -194,6 +194,18 @@ public class Reader { default: continue; //should never happen. } + + var type = field.FieldType; + var valType = value?.GetType(); + if (valType != null && type != valType) { + if (type.IsArray && valType.IsArray) { + var array = (Array)value; + var newArray = Array.CreateInstance(type.GetElementType()!, array.Length); + Array.Copy(array, newArray, array.Length); + value = newArray; + } + } + field.SetValue(obj, value); //Add the freshly handled object to the database