Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
e7d0ba4f
Commit
e7d0ba4f
authored
5 years ago
by
meta-androcto
Browse files
Options
Downloads
Patches
Plain Diff
btrace: Fix particle modes, remove warning
parent
f54338c6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
btrace/__init__.py
+2
-2
2 additions, 2 deletions
btrace/__init__.py
btrace/bTrace.py
+3
-3
3 additions, 3 deletions
btrace/bTrace.py
with
5 additions
and
5 deletions
btrace/__init__.py
+
2
−
2
View file @
e7d0ba4f
...
...
@@ -20,11 +20,11 @@
bl_info
=
{
"
name
"
:
"
Btrace
"
,
"
author
"
:
"
liero, crazycourier, Atom, Meta-Androcto, MacKracken
"
,
"
version
"
:
(
1
,
2
,
2
),
"
version
"
:
(
1
,
2
,
3
),
"
blender
"
:
(
2
,
80
,
0
),
"
location
"
:
"
View3D > Sidebar > Create Tab
"
,
"
description
"
:
"
Tools for converting/animating objects/particles into curves
"
,
"
warning
"
:
"
Particle Tracers not working
"
,
"
warning
"
:
""
,
"
wiki_url
"
:
"
https://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Curve/Btrace
"
,
"
category
"
:
"
Add Curve
"
}
...
...
This diff is collapsed.
Click to expand it.
btrace/bTrace.py
+
3
−
3
View file @
e7d0ba4f
...
...
@@ -293,7 +293,7 @@ class OBJECT_OT_particletrace(Operator):
Btrace
=
bpy
.
context
.
window_manager
.
curve_tracer
particle_step
=
Btrace
.
particle_step
# step size in frames
obj
=
bpy
.
context
.
object
obj
=
bpy
.
context
.
evaluated_depsgraph_get
().
objects
.
get
(
ob
.
name
,
None
)
obj
=
bpy
.
context
.
evaluated_depsgraph_get
().
objects
.
get
(
ob
j
.
name
,
None
)
ps
=
obj
.
particle_systems
.
active
curvelist
=
[]
curve_handle
=
Btrace
.
curve_handle
...
...
@@ -375,7 +375,7 @@ class OBJECT_OT_traceallparticles(Operator):
def
execute
(
self
,
context
):
try
:
obj
=
context
.
object
eval_
ob
=
bpy
.
context
.
evaluated_depsgraph_get
().
objects
.
get
(
obj
.
name
,
None
)
ob
j
=
bpy
.
context
.
evaluated_depsgraph_get
().
objects
.
get
(
obj
.
name
,
None
)
ps
=
obj
.
particle_systems
.
active
setting
=
ps
.
settings
...
...
@@ -385,7 +385,7 @@ class OBJECT_OT_traceallparticles(Operator):
"
Grid distribution mode for particles not supported
"
)
return
{
'
CANCELLED
'
}
Btrace
=
context
.
window_manager
.
curve_tracer
Btrace
=
bpy
.
context
.
window_manager
.
curve_tracer
# Get frame start
particle_f_start
=
Btrace
.
particle_f_start
# Get frame end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment