Janne Karhu
5a70edc4af
Possible fix for [ #26190 ] Changing particle amount crashes
...
* In some cases fluid particles could be born at the exact same locations. Now these cases are just ignored and such particles don't effect each other.
2011-02-23 10:42:27 +00:00
Campbell Barton
9416daf97e
remove unused functions,
...
note: BPY_class_validate() could come in handy later if we need to check classes for properties/functions but for now there is no point in keeping it in.
2011-02-23 09:12:55 +00:00
Joseph Eagar
c128a8c12a
=bmesh= fix bug with uvlayers
2011-02-23 08:12:27 +00:00
Campbell Barton
9349374359
add back view 1:1 operator from 2.4x (Shift+PadEnter)
2011-02-23 06:48:47 +00:00
Campbell Barton
2f472ccd60
add back 2.4x mesh vertex sort/randomize operators, were called xsort and hash in 2.4x.
...
available from vertex menu.
2011-02-23 05:17:29 +00:00
Campbell Barton
0a7fecac8f
add 2.4x posemode & weightpaint feature as an operator - Flip Active, Shift+F.
2011-02-23 04:58:08 +00:00
Campbell Barton
aeeb09bd56
fix [ #26164 ] bpy.ops.transform.translate ignores AutoIK mode
...
auto-ik updates are done by notifiers at the moment which are ignored when running bpy.ops.transform.translate(), so add an special_aftertrans_update() check for this case.
2011-02-23 04:03:58 +00:00
Campbell Barton
43007d7fed
- fix python error for poselib UI when none is active.
...
- add info to create_dupli_objects rna function docstring.
- transform snap had bad define, disabling BVH accelerated snap (own fault).
2011-02-23 03:08:14 +00:00
Tamito Kajiyama
745e396d63
Fixed a compilation error due to inconsistent data structure renaming in the last
...
merge in revision 34997. Reported by treatkor (tkroo), thanks a lot!
2011-02-23 03:08:11 +00:00
Joseph Eagar
1c0cf60377
=bmesh=
...
Fixed join meshes, and an annoying modifier bug (making modifiers
not work in editmode). Also fixed a tesselation bug.
Also got edge slide to work right, yay! Dunno why I couldn't get
it working right before; took me twenty minutes to fix.
2011-02-23 00:01:50 +00:00
Daniel Salazar
698f9948d8
Adding "frame" to print in background rendering for
...
"Calculating previous (frame) vectors"
now it fits better with
"Calculating next frame vectors"
@jesterking: yes you are
@jesterking: yes you are!!
2011-02-22 23:32:29 +00:00
Lukas Toenne
2d7b4d1579
Empty groups are now displayed with some basic spacing in edit mode. Long socket lists don't outgrow the group box any more; the box height is adjusted to fit the length of the socket list instead.
2011-02-22 21:22:27 +00:00
Lukas Toenne
e7750aa6ed
Convenience fix: Exposing internal sockets now copies the default input value to the group sockets. The "expose" function on group inputs/outputs has an optional parameter "add_link", which can be used to prevent the automatic linking.
2011-02-22 20:49:34 +00:00
Guillermo S. Romero
692b711bf4
SVN maintenance.
2011-02-22 20:47:17 +00:00
Lukas Toenne
b3c60ef3ea
Added RNA functions to group tree inputs/outputs for exposing internal sockets or adding custom sockets by name and type ( fixes #26171 ). Changed a few function names for groups for consistency.
2011-02-22 20:24:06 +00:00
Nathan Letwory
1f4fc992ef
doxygen: bge scenegraph and videotexture
2011-02-22 19:30:37 +00:00
Ton Roosendaal
ca930c3208
Bugfix #25967
...
Node Materials: option "Front/Back" in geometry node failed for
"full osa" case in ZTransp.
2011-02-22 17:19:02 +00:00
Joerg Mueller
354fc0076e
Fix for [ #26160 ] Blender Crashes when undoing
...
Was trying to free audio data from sequencer strips that don't even have audio. Corrected the error in several ways so this will definitely not happen again :-)
2011-02-22 16:32:05 +00:00
Nathan Letwory
5e41760a15
doxygen: add bullet to extern libs, some small changes in page names, and fixes around license blocks
2011-02-22 16:12:12 +00:00
Campbell Barton
bde2f96257
blender as module - workaround for not knowing __file__ when the module is initialized.
2011-02-22 14:19:09 +00:00
Nathan Letwory
79f79e0cac
doxygen: BGE Network, Physics, Rasterizer
2011-02-22 12:42:55 +00:00
Campbell Barton
99d3b68d70
fix for uninitialized stack variable in displaying the modifier template.
2011-02-22 12:19:27 +00:00
Ton Roosendaal
8089f857ad
Too many ifdefs made me miss the fact variables were declared inside
...
function...
2011-02-22 12:17:45 +00:00
Ton Roosendaal
1ad603c39e
No idea why this goes wrong, but I can't get preprocessor output with
...
cmake here.
Somehow in OSX a function call doesn't return but enters a next function.
Will find around if someone else can make an OSX preprocessed version
of this C file. With this commit things go fine, and it's a sane check
anyway.
2011-02-22 12:01:57 +00:00
Nathan Letwory
148eb5ca9c
remove unused code.
2011-02-22 11:43:50 +00:00
Campbell Barton
d60a5cfc55
feature back from 2.4x where a python error moves the cursor to the error line, added moving to exact column for syntax errors too.
2011-02-22 11:32:29 +00:00
Sergey Sharybin
ef6cbc3da0
Fixed crash when sculpting on deformed mesh with smooth brush:
...
vertex iter should be declared inside omp block or it'll be
thread-unsafe otherwise.
2011-02-22 10:56:49 +00:00
Nathan Letwory
5138615554
doxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer, ketsji
2011-02-22 10:33:14 +00:00
Janne Karhu
7729ecc98f
Fix for [ #26163 ] New Texture selectors don't update Texture preview
...
* Send texture notifier instead of generic property space notifier when texture context is changed.
2011-02-22 10:27:32 +00:00
Janne Karhu
fdf60eaca1
Bug fix: Fluidsim paths were not handled properly
...
* Tsk! Using sizeof(string) to determine string length works if the string is a char array, but not if it's a pointer to a char array!
* Now the fluid code uses the actual size of the string directly.
2011-02-22 09:34:43 +00:00
Campbell Barton
36c6c13a55
missed updating this when modifying addons module.
2011-02-22 09:14:29 +00:00
Campbell Barton
8186ba15ab
last commit used py3.2 function, inline for py3.1
2011-02-22 08:29:25 +00:00
Lukas Toenne
d82ff93fa5
Small fix: reset the NTREE_DO_VERSIONS flag, so new node trees don't get updated in future.
2011-02-22 08:22:06 +00:00
Lukas Toenne
8b5d019139
Fixed missing initialization of node stack entries.
2011-02-22 07:58:49 +00:00
Campbell Barton
1e120098fc
pyapi, use direct access to the frame rather then python attributes.
2011-02-22 07:57:18 +00:00
Lukas Toenne
91357ae2ea
Fixed sloppyness bug, used wrong pointer names when calling lib_nodetree_do_versions_group.
2011-02-22 06:45:47 +00:00
Campbell Barton
12e4c52c5a
cmake was using dna source list with the variable out of scope, possibly causing dependency problems.
2011-02-22 06:23:07 +00:00
Campbell Barton
d13470ba72
patch from sambler on irc, writes version info for OSX.
2011-02-22 06:05:08 +00:00
Campbell Barton
dd8383e469
make doc generation close files (py3.2 complains about this),
...
minor formatting changes for C docstrings.
2011-02-22 05:23:20 +00:00
Campbell Barton
a8f04dfb52
bugfix [ #26126 ] Transparency panel label issue
2011-02-22 05:16:04 +00:00
Campbell Barton
12d62831b8
fix [ #26172 ] Lattice vertice selection by border selection ( shortcut B ) doesn't update vertice number ( in info header )
...
missing notifier.
2011-02-22 03:19:58 +00:00
Campbell Barton
36618a0996
operator ED_OT_undo_push, needed for editmode undo/redo glitch fix, (coming next).
2011-02-22 02:42:19 +00:00
Tamito Kajiyama
df7f4f639f
Two minor fixes:
...
* Fixed a bug in MaterialF0D::operator() that an error condition was ignored due
to a wrong return value.
* Fixed a typo in the docstring of StrokeVertex::setPoint().
2011-02-22 01:43:08 +00:00
Tamito Kajiyama
ecd76d99d6
Consolidation of stroke drawing.
...
Fixed a complicated bug that caused a failure of CurvePoint::getFEdge()
which had affected a number of C/Python API functions such as MaterialF0D.
The current view map building procedure may generate ViewEdges whose
two-dimensional (2D) length is almost or exactly zero. Such a zero-length
ViewEdge is possibly chained with other ViewEdges to form a stroke. When
the stroke is finally generated by Operators::create(), an attempt to remove
redundant vertices at the same 2D point is made. This possibly breaks the
links of ViewEdges on top of which the stroke has been built, and eventually
result in a fatal error of CurvePoint::getFEdge() when API functions that
rely on this method are called from within a style module.
The present fix addresses this issue by automatically removing zero-length
ViewEdges (and Chains of them) before stroke drawing is started and after
splitting is performed (e.g., using Operators::sequentialSplit()).
2011-02-22 01:39:56 +00:00
Mitchell Stokes
b5e3d2a2ea
Bugfix #25803 (LibLoad'ed scene objects don't have timer property updated)
...
The KX_Scenes' SCA_TimeEventManagers were not being merged. These handle the timer prop
2011-02-21 23:44:11 +00:00
Mitchell Stokes
648dec3411
Fix for bug #25804 (LibLoad'ed scene objects material CRASH when doing mat.getShader())
...
X_Material's mScene member variable wasn't properly set on merge if it didn't have an mBlenderShader defined. This patch always makes sure it gets set on merge.
2011-02-21 23:41:47 +00:00
Ton Roosendaal
8327333b40
Accidentally left in a print for commit 34912
2011-02-21 18:18:55 +00:00
Lukas Toenne
4fb730d6d0
Fixed do_versions for node groups which contain nodes that have changed sockets. do_versions is running before the lib_verify_nodetree function updates socket lists of nodes. This means that when adding unlinked sockets in do_versions to restore older node groups, the new sockets are not taken into account. To fix this a temporary node tree flag has been introduced, which delays actual group socket do_version until the group tree internal nodes have been updated. After that the unlinked group sockets are exposed (like old node groups did), then the external sockets look up the new index, so that external links to group instances are preserved.
2011-02-21 18:18:37 +00:00
Ton Roosendaal
33887fa41d
Bugfix #26116
...
Node materials with 'ray transparency' set now work again.
Fix provided by Ervin Weber, thanks a lot!
2011-02-21 18:06:52 +00:00
Nathan Letwory
3459c1b26c
Finally got around to fixing priorities, so cleanup in stubs.c can be done. blenderplayer builds again with cmake.
2011-02-21 16:41:36 +00:00