Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[BUG] RF 3.4.4 crashes #1331

Open
ChristinaMcKay opened this issue Jul 19, 2024 · 3 comments
Open

[BUG] RF 3.4.4 crashes #1331

ChristinaMcKay opened this issue Jul 19, 2024 · 3 comments
Labels
bug !Priority v3 Applies to RF version 3x

Comments

@ChristinaMcKay
Copy link

ChristinaMcKay commented Jul 19, 2024

Retopoflow Version: 3.4.4 Blendermarket

Blender Version/Hash: 4.2.0 [sha256] (portable version)

Platform Version/Distribution:

Windows 11 Pro 23H2 System Build 22631.3880

 

Starting RF on an existing mesh (Object mode > Edit Active) causes an error. It closes immediately, the existing mesh is mirrored.

Info: Updated sidebar tabs
bl_ext.blender_org.Modifier_List_Fork: Unregistered 53 classes
bl_ext.blender_org.Modifier_List_Fork: Registered 53 classes
register_class(...):
Info: Registering panel class: 'DATA_PT_modifiers', bl_idname 'DATA_PT_modifiers' has been registered before, unregistering previous
Addon Common: use_bgl_default=False use_gpu_default=True use_gpu_scissor=True
Addon Common: {'backend': 'OPENGL', 'device': 'NVIDIA', 'vendor': 'NVIDIA Corporation', 'renderer': 'NVIDIA GeForce RTX 3060/PCIe/SSE2', 'version': '4.6.0 NVIDIA 560.70', 'compute_shader_support_get': True, 'hdr_support_get': False, 'max_batch_indices_get': 1048576, 'max_batch_vertices_get': 1048576, 'max_images_get': 8, 'max_texture_layers_get': 2048, 'max_texture_size_get': 32768, 'max_textures_frag_get': 32, 'max_textures_geom_get': 32, 'max_textures_get': 192, 'max_textures_vert_get': 32, 'max_uniforms_frag_get': 4096, 'max_uniforms_vert_get': 4096, 'max_varying_floats_get': 124, 'max_vertex_attribs_get': 16, 'shader_image_load_store_support_get': True}
RetopoFlow: Initial load
RetopoFlow git: None
RetopoFlow options path: G:\Blender\A Versionen\blender-4.2.0-Shoes\portable\extensions\user_default\retopoflow\RetopoFlow_options.json
No options file
Writing userprefs: "G:\Blender\A Versionen\blender-4.2.0-Shoes\portable\config\userpref.blend" ok
Info: Preferences saved
Read blend: "E:\1 DAZ Products Workfiles\3D-Shoes\Base lasts\Shoe Lasts\Blender Files\Base-Last_WiP03.blend"
Info: Saved "Base-Last_WiP03.blend"
RetopoFlow keymaps path: G:\Blender\A Versionen\blender-4.2.0-Shoes\portable\extensions\user_default\retopoflow\RetopoFlow_keymaps.json
RetopoFlow: Starting... keymaps and actions 0.00
RetopoFlow: Starting... statusbar and marking 0.00
RetopoFlow: Starting... undo 0.00
RetopoFlow: storing clip distances: 0.0010000000474974513 1000.0
RetopoFlow: storing view: <Vector (0.1537, -0.0225, 0.1208)> 0.40157124400138855
RetopoFlow: computing unit scaling factor
Unit scaling factor: 41.29931150340685
RetopoFlow: scaling to unit box
RetopoFlow: scaling to factor=41.29931150340685, view='SCALE', clip='OVERRIDE', mesh='SCALE'
RetopoFlow: Starting... normalizing 0.00
RetopoFlow: Loading maptcap retopoflow_dark.exr G:\Blender\A Versionen\blender-4.2.0-Shoes\portable\extensions\user_default\retopoflow\matcaps\retopoflow_dark.exr
RetopoFlow: Starting... Blender UI 0.00
RetopoFlow: Starting... stylings 0.43
RetopoFlow: Starting Total: 0.44
Addon Common: Loaded font id=26: G:\Blender\A Versionen\blender-4.2.0-Shoes\portable\extensions\user_default\retopoflow\addon_common\common\fonts\DroidSans-Blender.ttf
RetopoFlow: Pausing help image preloading
elapsed: 0.00 secs
RetopoFlow: Setting up target mesh
RetopoFlow Exception: 'NodesModifier' object has no attribute 'use_axis'


Exception Info

  • Time: 2024-07-19 23:38:23.370969
  • Count: 1
  • Hash: 5367a3ed03a9f4e17ce8d48dea15bad1
  • Info:
    • EXCEPTION (<class 'AttributeError'>): 'NodesModifier' object has no attribute 'use_axis'
    • .../common\blender.py
      
    • 000 0927:read() if self.mod.use_axis[0]: self._symmetry.add('x')
    • .../common\decorators.py
      
    • 001 0237:callit() ret = fn(*args, **kwargs)
    • .../common\blender.py
      
    • 002 0844:init() self.read()
    • 003 0829:create_new() mod = ModifierWrapper_Mirror(obj, obj.modifiers[-1])
    • G:\Blender\A Versionen\blender-4.2.0-Shoes\portable\extensions\user_default\retopoflow\retopoflow\rfmesh\rfmesh.py
      
    • 004 1504:setup_mirror() self.mirror_mod = ModifierWrapper_Mirror.create_new(self.obj)
    • 005 1487:setup() self.setup_mirror()
    • 006 1466:new() rftarget.setup(obj, unit_scaling_factor=unit_scaling_factor)
    • G:\Blender\A Versionen\blender-4.2.0-Shoes\portable\extensions\user_default\retopoflow\retopoflow\rf\rf_target.py
      
    • 007 0057:setup_target() self.rftarget = RFTarget.new(tar_object, self.unit_scaling_factor)
    • G:\Blender\A Versionen\blender-4.2.0-Shoes\portable\extensions\user_default\retopoflow\retopoflow\retopoflow.py
      
    • 008 0243:setup_next_stage() stage_fn()
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

After starting RF

 

How to Reproduce:

  • I created a small mesh I want to use as base for the retopo.
  • With that mesh active in object mode I clicked on "Edit Active" in the RF menu.
  • After a few seconds RF closed with the error (see above). A mirror modifier was added, the RF menu in the viewport disappeared. It does come back after restarting Blender in the 3D view, but got the same error when I tried again.

I don't want to post the file here but can send it by e-mail if needed.

@ChristinaMcKay ChristinaMcKay changed the title [BUG] RF 3.4.4 [BUG] RF 3.4.4 crashes Jul 19, 2024
@vxlcoder
Copy link
Contributor

thanks for the details, @ChristinaMcKay .

it looks like RF failed with a nodes modifier.

would you check if deleting the modifier works around the issue?

or, you can send the .blend file to [email protected], and I can run that and other tests here.

thanks for helping us debug this!

@ChristinaMcKay
Copy link
Author

Thanks for the fast reply @vxlcoder

It is indeed the Auto Smooth Modifier. After applying it, RF works.
It would be better not getting an error when using the Auto smooth. I guess that will be a common problem for other users as well.

@vxlcoder
Copy link
Contributor

great! yeah, we'll look into why this is happening, and try to fix it. thanks again for reporting and helping! happy retopo'ing!

@jfranmatheu jfranmatheu added the bug label Dec 3, 2024
@jlampel jlampel added v3 Applies to RF version 3x !Priority labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug !Priority v3 Applies to RF version 3x
Projects
None yet
Development

No branches or pull requests

4 participants