Howard Trickey
ee22fe7bac
Bmesh: fix array copies (fixes snapping), from patch #28429 by Andrew Wiggin (ender79
2011-09-02 10:43:16 +00:00
Campbell Barton
bffd4b5eee
patch [ #28463 ] BMesh: fixes for removedoubles and friends
...
from Andrew Wiggin (ender79)
2011-09-02 06:48:14 +00:00
Campbell Barton
b62b9f16b8
ability to create polygons and loops from python (low level mesh creation access, not nice api but functional).
...
updated:
mesh.from_pydata(vert, edge, polys)
... so it can take polygons rather then faces, this is much better suited for scripter access.
2011-09-01 09:11:00 +00:00
Campbell Barton
1db6d629a0
BKE_mesh_calc_edges() now uses polygons when available.
2011-09-01 08:27:35 +00:00
Campbell Barton
5095a36d2e
copy the remaining files from trunk
2011-09-01 07:51:20 +00:00
Campbell Barton
cc88eebd37
copying from trunk, failed to merge somehow
2011-09-01 07:47:06 +00:00
Campbell Barton
6510b66efa
svn merge -r39830:39831 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-01 01:28:45 +00:00
Campbell Barton
a22dc764bb
fix for error in patch from r39821.
2011-09-01 01:13:50 +00:00
Campbell Barton
fb3f7d9566
svn merge -r39792:39829 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-01 00:56:21 +00:00
Campbell Barton
9bc92b2146
svn merge -r39781:39792 https://svn.blender.org/svnroot/bf-blender/trunk/blender , merge pepper, manually merged source/blender/editors/transform/transform_generics.c
2011-09-01 00:35:30 +00:00
Dalai Felinto
22676a434e
making carbon to build again (note: NDOF is not working here)
...
- fix typo
- isolate NDOF callsi in #ifdefs
2011-09-01 00:03:20 +00:00
Mitchell Stokes
1ad8ed8a60
BGE animations: Updating some constant names. They were still the originally proposed names instead of the ones that are actually used now.
2011-08-31 23:46:31 +00:00
Mitchell Stokes
812d5d2e5c
BGE Animations: The return type for KX_GameObject.getActionFrame() was an integer when it should have been a float. I've fixed this and converted the tabs in the new BGE animation docs to space. I have also added more info on return types for KX_GameObject.getActionFrame() and KX_GameObject.isPlayingAction().
2011-08-31 22:32:14 +00:00
Jens Verwiebe
d8394b9d67
set OSX default python to static
2011-08-31 14:46:27 +00:00
Jens Verwiebe
5e8d191930
OSX/scons: fix compile with static python, my patch was a bit outdates, sorry
2011-08-31 14:15:14 +00:00
Campbell Barton
4593e2e410
rna polygon access to loop vertex indicies.
2011-08-31 11:21:54 +00:00
Campbell Barton
fde215025e
patch [ #28218 ] During-render callback functionality
...
from Jesse Kaukonen (gekko)
--- text from the patch.
Recently Campbell Barton added callback functionality for Python's usage, but this only includes pre- and post-render callbacks. There are no callbacks for the duration of the render. This patch adds the few lines required for executing a callback while Blender Render is working. The callback resides in the rendering pipeline stats function, so whenever statistics are printed, the callback is executed. This functionality is required if one wants to:
1) Observe what is happening while Blender is rendering via the command line
2) Add custom statistics that Blender prints while the renderer works
3) The user wants to continue executing his Python script without the code halting at bpy.ops.render.render()
Personally I'm currently using this for printing out more detailed progress reports at Renderfarm.fi (such as CPU time, time spent rendering, total progress in regards to the entire rendering process). Tested on Windows, Linux and OS X.
Example on how to use the callback:
def statscall(context): print("Thanks for calling!")
bpy.app.handlers.render_stats.append(statscall)
bpy.ops.render.render(animation=False, write_still=True)
2011-08-31 10:43:22 +00:00
Nathan Letwory
d0d82c69e9
COLLADA: Take parent bone length and direction instead of using bone pointing up with length 1. Looks much nicer and less confusing on larger armatures now.
2011-08-31 09:37:14 +00:00
Mitchell Stokes
f63d049adc
BGE: Adding two new functions to bge.render to allow users to change the anisotropic filtering level used by textures:
...
* setAnisotropicFiltering(level)
* getAnisotropicFiltering()
2011-08-31 05:51:51 +00:00
Campbell Barton
03d9428141
initial support for rna wrapping polygons, no loop support though.
2011-08-31 05:13:21 +00:00
Campbell Barton
ecb32d9148
quiet warnings
2011-08-31 05:11:12 +00:00
Campbell Barton
471c005137
typo fix: end of lines ;; --> ;
2011-08-31 01:07:55 +00:00
Campbell Barton
79249f8aed
fix [ #28430 ] Image with Stampinfo does not get saved correctly with alpha
2011-08-31 01:05:40 +00:00
Jens Verwiebe
2457c2134a
OSX: additionally choice to link against python-framework again
2011-08-30 23:52:12 +00:00
Campbell Barton
2883e035c8
fix for error in my recent change to image save.
...
- relative path wasn't being made absolute.
- saving renders was always defaulting to multilayer exr, now use the output format set.
2011-08-30 23:37:46 +00:00
Campbell Barton
c58a0c5eb8
catch exception and report an error when failing to write exr files - was crashing with debug builds.
2011-08-30 23:08:38 +00:00
Guillermo S. Romero
5ac81bfe9c
SVN maintenance.
2011-08-30 19:38:32 +00:00
Mitchell Stokes
2475ad0ab9
When creating a multisample window for Win32, the first context created, which checks for multisample support, was never being deleted.
2011-08-30 17:30:35 +00:00
Nathan Letwory
c6f994062e
Check for potential crasher.
...
Reported and suggested in [#27687 ] by Dean Giberson. Couldn't redo crash myself, but better safe than sorry :)
2011-08-30 15:43:00 +00:00
Sergey Sharybin
9eb9d9b7d2
Fix #28427 : smooth faces flash momentarily when extruded using "extrude and move on normals" tool (E key)
...
Update normals just after extrude -- topology is changing when extruding
and normals for non-extruded faces should be recalculated after this.
2011-08-30 15:30:38 +00:00
Thomas Dinges
131c2a3208
Fix for [ #28425 ] when user prefs -> editing -> align to == "view" newly inserted objects do not show the applied rotation in the tools panel
...
Patch by Andrew Wiggin, thanks! :)
2011-08-30 14:41:23 +00:00
Thomas Dinges
0de9af375b
2.5 Game UI:
...
*Fix for clutter after pepper merge, 3 booleans in one row, is 1 too much here ;-)
2011-08-30 12:45:56 +00:00
Nathan Letwory
24ea5fe424
Enable libsndfile by default on win32 too.
2011-08-30 12:40:15 +00:00
Thomas Dinges
047e8224b1
Fix for my last commit.
2011-08-30 11:31:48 +00:00
Campbell Barton
b20c9b0ba3
minor edits, pep8 - also correct float -> double promotion for blf.
2011-08-30 10:49:58 +00:00
Thomas Dinges
6c9ee34dd8
2.5 UI Files:
...
* Code cleanup after Pepper merge.
2011-08-30 10:44:02 +00:00
Joerg Mueller
947d4a654b
Fix for [ #25062 ] Sound Actuator - Positional Audio.
...
Now all sounds that are not mono but have 3D checked automatically get reduced to mono during BGE conversion time.
Also removed the now unneeded function sound_get_channels and added a missing header file to audaspace's CMakeLists.txt.
2011-08-30 10:09:10 +00:00
Brecht Van Lommel
b3704f45c4
Fixes for snprintf usage:
...
* replace by BLI_snprintf in various places, note _snprintf on windows
does not properly null terminate the string.
* fix overflow in sequencer proxy code due to buffer being smaller than
specified size.
* fix some usage of snprintf as strcpy, this is will go wrong if the
string contains % characters.
* remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf
2011-08-30 10:07:50 +00:00
Campbell Barton
27ec8d5043
fix for some warnings with the recent merge, also tag unused args.
2011-08-30 09:50:31 +00:00
Joerg Mueller
c7dcbdb830
Removing outdated files.
2011-08-30 09:26:59 +00:00
Joerg Mueller
9424b1ceff
Merging pepper to trunk at revision 39791.
...
Important note: I used rsync to do the local merge, as "svn merge --reintegrate ^/branches/soc-2011-pepper" doesn't work with our svn server right now!
2011-08-30 09:15:55 +00:00
Joerg Mueller
43ab8e8624
* Merge trunk up to r39790.
...
* Subversion bump (also for init_userdef_do_versions).
* Minor fix for compilation without ffmpeg.
2011-08-30 08:22:03 +00:00
Joerg Mueller
5b5e600db6
Last bunch of minor fixes before merge.
...
* Use NULL in AUD_Reference.h
* Use SETLOOPER in sound.c
* Move flags to the end of Speaker struct.
2011-08-30 07:57:55 +00:00
Campbell Barton
d049a722fe
fix [ #28413 ] bpy.ops.nla.bake can't bake from frame 0
2011-08-30 04:13:48 +00:00
Joseph Eagar
e12d2d1110
=bmesh= fixed uv unwrap tool
2011-08-30 02:57:35 +00:00
Joseph Eagar
2c62878ef5
=bmesh= sculpt without multires updates properly now. not sure I did this correctly, though.
2011-08-30 02:33:27 +00:00
Joseph Eagar
fef906d19b
=bmesh= fixed loop select for wire edges
2011-08-30 02:11:19 +00:00
Joseph Eagar
3e4bf6d4ad
=bmesh= knife tool applies to modifier cage now, also fixed some bugs in it
2011-08-30 01:59:33 +00:00
Joseph Eagar
74e1a33db4
=bmesh= fixed bridge tool
2011-08-30 00:54:07 +00:00
Campbell Barton
c5a3f361a0
svn merge -r39765:39781 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-30 00:23:11 +00:00