From a0fe08cb430fe403f0267231d066dc0dfce6d797 Mon Sep 17 00:00:00 2001 From: nortikin Date: Thu, 28 Sep 2017 21:45:34 +0300 Subject: [PATCH] help fixing --- docs/404_custom.html | 2 +- docs/nodes/matrix/{matrix_in.rst => matrix_in_mk2.rst} | 0 index.md | 2 +- menu.py | 2 +- ui/development.py | 4 ++++ ui/nodeview_space_menu.py | 2 +- 6 files changed, 8 insertions(+), 4 deletions(-) rename docs/nodes/matrix/{matrix_in.rst => matrix_in_mk2.rst} (100%) diff --git a/docs/404_custom.html b/docs/404_custom.html index be5e5080b7..b35fc33f15 100644 --- a/docs/404_custom.html +++ b/docs/404_custom.html @@ -11,7 +11,7 @@
- Sorry! It appears that overlap_polygons doesn't have a document associated with it. + Sorry! It appears that Color in doesn't have a document associated with it.

Please contact us on the GitHub issue tracker or any of the following social sites: G+, VK or Blenderartists. diff --git a/docs/nodes/matrix/matrix_in.rst b/docs/nodes/matrix/matrix_in_mk2.rst similarity index 100% rename from docs/nodes/matrix/matrix_in.rst rename to docs/nodes/matrix/matrix_in_mk2.rst diff --git a/index.md b/index.md index acba4b6ce4..2a2b78f6e2 100644 --- a/index.md +++ b/index.md @@ -9,7 +9,7 @@ > > Failing to follow these points will break the node category parser. -## Generators +## Generator SvLineNodeMK2 SvPlaneNodeMK2 SvNGonNode diff --git a/menu.py b/menu.py index 19d41d1c29..ca22895090 100644 --- a/menu.py +++ b/menu.py @@ -96,7 +96,7 @@ def juggle_and_join(node_cats): # add extended gens to Gens menu gen_ext = node_cats.pop("Generators Extended") - node_cats["Generators"].extend(gen_ext) + node_cats["Generator"].extend(gen_ext) return node_cats diff --git a/ui/development.py b/ui/development.py index 15ec28c0d5..ff4e75e8d4 100644 --- a/ui/development.py +++ b/ui/development.py @@ -94,6 +94,10 @@ def execute(self, context): string_dir = remapper.get(n.bl_idname) filename = n.__module__.split('.')[-1] + if filename in ('mask','mask_convert','mask_join'): + string_dir = 'list_masks' + elif filename in ('modifier'): + string_dir = 'list_mutators' help_url = string_dir + '/' + filename # first let's find if this is a valid doc file, by inspecting locally for the rst file. diff --git a/ui/nodeview_space_menu.py b/ui/nodeview_space_menu.py index 3408ac84b0..862dde138d 100644 --- a/ui/nodeview_space_menu.py +++ b/ui/nodeview_space_menu.py @@ -166,7 +166,7 @@ def draw(self, context): class NODEVIEW_MT_AddGenerators(bpy.types.Menu): - bl_label = "Generators" + bl_label = "Generator" def draw(self, context): layout = self.layout