Maniphest T68951

'Scatter Objects' add-on
Closed, Resolved

Assigned To
Jacques Lucke (JacquesLucke)
Authored By
Hoang Duy Tran (hoangduytran)
Aug 21 2019, 7:52 AM
Tags
  • Add-ons (Community)
Subscribers
Antonio Vazquez (antoniov)
Hoang Duy Tran (hoangduytran)
Jacques Lucke (JacquesLucke)
Philipp Oeser (lichtwerk)

Description

Targetting Project
Add-on Development (Scatter Objects)

System Information
Operating system:
Kernel: 4.15.0-20-generic x86_64 bits: 64 compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.8
Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic

Graphics card:
Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Hewlett-Packard driver: i915 v: kernel
Device-2: NVIDIA GK208M [GeForce GT 740M] vendor: Hewlett-Packard driver: nouveau v: kernel

Blender Version
Blender 2.81 (sub 2)
build date: 2019-08-20
build time: 10:36:27
build commit date: 2019-08-20
build commit time: 07:45
build hash: f2cab8267f22
build platform: Linux
build type: Release

Short description of error
While translating texts for 'Object Scatter' add on, I ran a test on the add-on and found the following problems:

  1. Unable to get a reasonable value for 'Seed'
  2. The appearance of the original object in the scattering field
  3. Needed a button to execute the scattering, rather than using F3 for search

I recorded the test session in the following video:

and you can load this test file I used to test:

Exact steps for others to reproduce the error

  • Enable the 'Scatter Objects' add-on.
  • Load the attached test file.
  • Left click mouse to select the stone object on the side of the plane (distorted cube), then
  • Hold down the Shift key,
  • Select the plane using left mouse click.
  • Press F3 to search, type 'scatter',
  • Press Enter to execute 'Object Scatter'
  • Left click and hold the mouse to draw lines on the plane to generate objects on the side of the drawn lines.
  • Press Enter to confirm the scatterings generated and to terminate the routine.
  • Notice the 'Object' (Cube) used to scatter in the centre of the plane. If you select this and press 'Delete', you will remove the entire scattering objects just generated.
  • Now try to change the 'Seed' by mouse (not by keyboard) and you'll see how difficult it is to change the value.

Revisions and Commits

rB Blender

Related Objects

Mentioned Here
T68943: GP time offset modifier, frame offset value changes to -2147483647 when using the inc/dec icons
rBf2cab8267f22: Memory: Fix guarded aligned malloc with small alignment

Event Timeline

Hoang Duy Tran (hoangduytran) created this task.Aug 21 2019, 7:52 AM
Hoang Duy Tran (hoangduytran) updated the task description.Aug 21 2019, 7:56 AM
Philipp Oeser (lichtwerk) edited projects, added Add-ons (Community); removed BF Blender.Aug 21 2019, 10:28 AM
Philipp Oeser (lichtwerk) added subscribers: Jacques Lucke (JacquesLucke), Philipp Oeser (lichtwerk).

CC @Jacques Lucke (JacquesLucke)

Jacques Lucke (JacquesLucke) lowered the priority of this task from 90 to 50.Aug 21 2019, 10:59 AM

I can confirm the issue. My first guess is that this is a bug in Blender and not in the addon, because the addon just declares the property as any other. Will have a look.

Jacques Lucke (JacquesLucke) changed the task status from Unknown Status to Resolved by committing rBecfe020e6c8f: Fix T68951: Incrementing int property causes overflow.Aug 21 2019, 11:32 AM
Jacques Lucke (JacquesLucke) claimed this task.
Jacques Lucke (JacquesLucke) added a commit: rBecfe020e6c8f: Fix T68951: Incrementing int property causes overflow.
Antonio Vazquez (antoniov) added a subscriber: Antonio Vazquez (antoniov).Aug 21 2019, 12:39 PM

Task T68943 was related to this too.

Hoang Duy Tran (hoangduytran) added a comment.Aug 21 2019, 5:16 PM

Just a note while you're at it, can you make the scattering process interactive, ie. users should be able to change parameters on the fly to see the changes before commit. I know we can undo and redo but that would make the add-on SUPER to use.