Campbell Barton [Sat, 27 Aug 2011 01:20:55 +0000 (01:20 +0000)]
F3TOCHAR4 macro was assigning the same value twice (setting the alpha, then overwriting with 255).
Campbell Barton [Fri, 26 Aug 2011 22:37:20 +0000 (22:37 +0000)]
sub_v4_v4v4 was taking float[3] arguments.
Campbell Barton [Fri, 26 Aug 2011 18:48:48 +0000 (18:48 +0000)]
correct missing bpy doc references.
Campbell Barton [Fri, 26 Aug 2011 18:32:23 +0000 (18:32 +0000)]
added a section to gotcha's python bpy docs about unicode encoding problems.
Campbell Barton [Fri, 26 Aug 2011 17:55:03 +0000 (17:55 +0000)]
fix for crash when running a python script in a non utf8 blend path, inspecting the exception for the path assumed utf8.
Sergey Sharybin [Fri, 26 Aug 2011 16:38:23 +0000 (16:38 +0000)]
Fix #28301: Sculpting a object with rotational have desface
Patch from Juha Maki-Kanto
- initgrabz was called with local space coord.
- Brush radiu was multiplying by 2.0 for grab and snake brushes.
Not sure why this was needed. Made some tests and didn't notice
any regressions without this multiplication.
Brecht Van Lommel [Fri, 26 Aug 2011 11:35:33 +0000 (11:35 +0000)]
Fix #28370: border select for curve and metaball did not update number of
selected vertices in info header. Patch by Julien Duroure, thanks!
Campbell Barton [Fri, 26 Aug 2011 06:22:12 +0000 (06:22 +0000)]
when applying armature object transform now transform the bone roll too.
This means you can import a BVH, rotate 90d and apply the rotation, the animation will still work as expected - thanks to Benjy's script for showing how obvious it is that this works :)
Campbell Barton [Fri, 26 Aug 2011 04:00:55 +0000 (04:00 +0000)]
document some of the pitfalls in the blender python api (taken from frequent mails and bug reports)
Campbell Barton [Fri, 26 Aug 2011 01:32:07 +0000 (01:32 +0000)]
file-selector: when converting operator arguments to the file selector, wasnt making paths absolute (abs paths are made relative when converting the other way).
Campbell Barton [Thu, 25 Aug 2011 17:59:37 +0000 (17:59 +0000)]
executing operators that changed the context from the console wasnt returning an operator set/flag.
Campbell Barton [Thu, 25 Aug 2011 17:54:30 +0000 (17:54 +0000)]
error when a python operator gave an incorrect return value was near useless, re-raise a more comprehensive error which includes the operator name.
Campbell Barton [Thu, 25 Aug 2011 17:01:33 +0000 (17:01 +0000)]
bpy-rna - simplify enum string/set parsing.
Campbell Barton [Thu, 25 Aug 2011 16:42:42 +0000 (16:42 +0000)]
sanity checks on operator exec/modal/invoke return values.
Alexander Kuznetsov [Thu, 25 Aug 2011 16:41:08 +0000 (16:41 +0000)]
Fix for [#28304]
Show A: and B: drives in Windows file browser.
Campbell Barton [Thu, 25 Aug 2011 15:49:52 +0000 (15:49 +0000)]
picky style edits with screen/view/drawing, also remove own bad example doc.
Jens Verwiebe [Thu, 25 Aug 2011 15:18:54 +0000 (15:18 +0000)]
ups, syntax error, missing :
Jens Verwiebe [Thu, 25 Aug 2011 15:12:57 +0000 (15:12 +0000)]
OSX: refine logic for NDOF, if WITH_BF_3DMOUSE is disabled also never do weak-link framework, existing or not
Jens Verwiebe [Thu, 25 Aug 2011 14:49:47 +0000 (14:49 +0000)]
OSX: fix condition for NDOF linking
Jens Verwiebe [Thu, 25 Aug 2011 09:41:36 +0000 (09:41 +0000)]
OSX/scons: don´t link to system stubs with 10.7 sdk
Janne Karhu [Thu, 25 Aug 2011 07:30:12 +0000 (07:30 +0000)]
Fix for [#28239] Particles Billboard 3x3 Split Error.
* Patch by Alex Fraser.
Guillermo S. Romero [Thu, 25 Aug 2011 06:16:26 +0000 (06:16 +0000)]
SVN maintenance.
Campbell Barton [Thu, 25 Aug 2011 04:25:33 +0000 (04:25 +0000)]
move wiki api intro and overview docs into the api reference docs.
Updated docs since some parts still were from beta still.
Jeroen Bakker [Wed, 24 Aug 2011 20:48:37 +0000 (20:48 +0000)]
Patch for bug #28289
updated the logic behind node delete with reconnect.
When on input and output socket is connected, these two will be reconnected
see bug report for example.
http://projects.blender.org/tracker/?func=detail&aid=28289&group_id=9&atid=498
Mitchell Stokes [Wed, 24 Aug 2011 20:28:54 +0000 (20:28 +0000)]
Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport and BGE" by me.
Description from the tracker:
"It's really handy to be able to prevent an object/material from casting a shadow. So, I made use of the Cast Buffer Shadows option in the material settings, and made it work in the viewport and the BGE."
Campbell Barton [Wed, 24 Aug 2011 18:23:21 +0000 (18:23 +0000)]
part of a patch from Dan Eicher for cmake packaging.
Campbell Barton [Wed, 24 Aug 2011 18:13:11 +0000 (18:13 +0000)]
this should finally fix collada & ubuntu building with cmake
Campbell Barton [Wed, 24 Aug 2011 17:09:25 +0000 (17:09 +0000)]
attempt to fix issue with opencollada + ubuntu ppa
Campbell Barton [Wed, 24 Aug 2011 16:04:35 +0000 (16:04 +0000)]
opencollada find module. hopefully solves the problem where includes can in an `/include` subdir or not.
Campbell Barton [Wed, 24 Aug 2011 14:22:41 +0000 (14:22 +0000)]
fix [#28356] Import export STL files, problem in script in version r39307
& correct some bad comments.
Campbell Barton [Wed, 24 Aug 2011 00:44:58 +0000 (00:44 +0000)]
fix [#28340] Can't set image depth, quality from image save
Campbell Barton [Tue, 23 Aug 2011 20:54:44 +0000 (20:54 +0000)]
fix [#28351] active RenderLayer can be set to None, leading to crash
Campbell Barton [Tue, 23 Aug 2011 20:49:06 +0000 (20:49 +0000)]
fix [#28352] Deleting group name in particle system -> panel: Render crashes Blender
Campbell Barton [Tue, 23 Aug 2011 20:19:08 +0000 (20:19 +0000)]
cmake: skip rpath (paths to libs) for portable distrobution
Campbell Barton [Tue, 23 Aug 2011 19:58:15 +0000 (19:58 +0000)]
fix for 3 bugs in bone renaming
- renaming a bone could crash if the area had to spaces in it (reported by Sebastian Koenig).
- renaming bones wouldn't update inactive 3d views locked bone names.
- selecting locked bones in the UI didnt work in editmode.
Campbell Barton [Tue, 23 Aug 2011 15:08:54 +0000 (15:08 +0000)]
BLI_strescape for a basic, python like string escaping, currently only use for drag and drop ID's into the console but should eventually be used for the animsys too.
Brecht Van Lommel [Tue, 23 Aug 2011 13:15:18 +0000 (13:15 +0000)]
Fix #28343: glsl error after derivative maps commit.
Campbell Barton [Tue, 23 Aug 2011 12:09:20 +0000 (12:09 +0000)]
fix [#28336] Particles: setting to zero the count of all elements of a group crashes Blender
Campbell Barton [Tue, 23 Aug 2011 11:46:16 +0000 (11:46 +0000)]
fix [#28344] for this file, the multires smiley has 2 materials, but only 1 loads
Campbell Barton [Tue, 23 Aug 2011 11:28:18 +0000 (11:28 +0000)]
add warning about misuse of ID.user_clear() since it can crash blender.
Campbell Barton [Tue, 23 Aug 2011 09:05:12 +0000 (09:05 +0000)]
Make Ctrl+RMB in editmode behave like 2.4x, was re-using center option which worked but used center select too.
instead add 'object' option to VIEW3D_OT_select.
Thomas Dinges [Tue, 23 Aug 2011 08:02:48 +0000 (08:02 +0000)]
Fix for [#28339] Rev:39618 The revision part doesn't suffice.
NAN_BUILDINFO > WITH_BUILDINFO change from rev 39618 was missing in those files.
Campbell Barton [Tue, 23 Aug 2011 07:59:25 +0000 (07:59 +0000)]
change compression level for gzip saving to 1, approx twice as fast when saving a 194mb blend file and only slightly bigger.
Thomas Dinges [Mon, 22 Aug 2011 22:26:25 +0000 (22:26 +0000)]
Revert a part of 39385.
Vertex Select Button got somehow into the Mesh panel.
Morten Mikkelsen [Mon, 22 Aug 2011 19:57:54 +0000 (19:57 +0000)]
glsl and render support for derivative maps
Sergey Sharybin [Mon, 22 Aug 2011 19:27:54 +0000 (19:27 +0000)]
Update rules for linux cross and mingw: list of DLLs for FFmpeg should be defined there.
Campbell Barton [Mon, 22 Aug 2011 19:13:26 +0000 (19:13 +0000)]
fix for buildinfo changes with blenderplayer
Sergey Sharybin [Mon, 22 Aug 2011 19:00:32 +0000 (19:00 +0000)]
Forgot this in previous commit
Morten Mikkelsen [Mon, 22 Aug 2011 18:56:13 +0000 (18:56 +0000)]
actually, this if is still marginally good to have
Sergey Sharybin [Mon, 22 Aug 2011 18:49:42 +0000 (18:49 +0000)]
FFmpeg library update:
- Update scons/cmake rules to use new versions of libs/dlls.
- Update rules for buildbot.
Campbell Barton [Mon, 22 Aug 2011 18:13:37 +0000 (18:13 +0000)]
properly escape chars for pythons bpy objects __repr__
Campbell Barton [Mon, 22 Aug 2011 16:54:26 +0000 (16:54 +0000)]
rename NAN_BUILDINFO --> WITH_BUILDINFO
Campbell Barton [Mon, 22 Aug 2011 12:24:14 +0000 (12:24 +0000)]
buildinfo is now quoted from the build systems, avoids stripping quotes on startup.
tested with linux/cmake linux/scons windows/cmake/mingw windows/cmake/msvc
Campbell Barton [Mon, 22 Aug 2011 11:54:40 +0000 (11:54 +0000)]
remove workaround for bug in python 3.2.0 loading web pages on *nix
Campbell Barton [Mon, 22 Aug 2011 09:01:49 +0000 (09:01 +0000)]
pep8 edits and change '!= None' to 'is not None'
Campbell Barton [Mon, 22 Aug 2011 08:47:48 +0000 (08:47 +0000)]
patch [#28320] Small change to trunk needed for Motion Capture Addon - GSoC 2011 - Pepper Branch
from Benjy Cook (benjycook)
Campbell Barton [Sun, 21 Aug 2011 21:17:55 +0000 (21:17 +0000)]
fix [bf-blender-Patches][27924] Redundant applying of SetNetworkDevice
noticed by Jorge Bernal (lordloki)
Jens Verwiebe [Sun, 21 Aug 2011 21:11:26 +0000 (21:11 +0000)]
name mandatory driver for OSX NDOF compile - testcommit same time
Sergey Sharybin [Sun, 21 Aug 2011 13:31:46 +0000 (13:31 +0000)]
Fix #28154: linux3-config.py doesn't exist
Change OURPLATFORM from "linux<major_version>" to simple "linux".
Since new policy for linux kernel versions that major version in
platform doesn't make much sense for building rules so the same
rules could be used for both of linux2 and linux3 now/
Tested on both of linux2 and linux3 systems.
Ton Roosendaal [Sun, 21 Aug 2011 13:25:19 +0000 (13:25 +0000)]
Small fix, report in IRC by Olivier:
Click in Compositor on output node invoked a re-composite.
Only has to be done for inactive outputs.
Campbell Barton [Sun, 21 Aug 2011 11:06:49 +0000 (11:06 +0000)]
new cmake doesn't consider CLang == GNUCC, set flags for clang explicitly.
Campbell Barton [Sun, 21 Aug 2011 10:14:21 +0000 (10:14 +0000)]
fix for out of bounds array access for shaded drawing in the UI, remove alpha blending for uiDrawBoxShade and uiDrawBoxVerticalShade.
Campbell Barton [Sat, 20 Aug 2011 17:39:13 +0000 (17:39 +0000)]
floats were being promoted to doubles in quite a few cases (using gcc's -Wdouble-promotion), went over render module and use float constants, gives small but consistent speedup - approx 3%.
Campbell Barton [Sat, 20 Aug 2011 14:23:43 +0000 (14:23 +0000)]
use ghash for DNA_struct_find_nr(), gives ~18% speedup on loading sintel lite, will also speedup undo.
note: only works with CMake, wasn't able to get this working with scons, complains about same file being built in different environments.
Campbell Barton [Sat, 20 Aug 2011 13:29:42 +0000 (13:29 +0000)]
fix for crash when loading a file from a script, and executing user modules in the newly loaded file.
Campbell Barton [Fri, 19 Aug 2011 20:25:25 +0000 (20:25 +0000)]
remove over zealous undo's on operators that don't need it.
Campbell Barton [Fri, 19 Aug 2011 19:25:20 +0000 (19:25 +0000)]
py style change only - make property definitions consistent
Campbell Barton [Fri, 19 Aug 2011 16:21:29 +0000 (16:21 +0000)]
warning cleanup for -Wdouble-promotion
Campbell Barton [Fri, 19 Aug 2011 10:38:34 +0000 (10:38 +0000)]
minor speedup to python/rna api keyword argument lookups.
- dont use hash lookups in this case because converting the string to unicode and doing a hash lookup is slower then looping over the keys and comparing (which avoids creating and throwning away a unicode string).
Campbell Barton [Fri, 19 Aug 2011 10:35:47 +0000 (10:35 +0000)]
minor style change
Campbell Barton [Thu, 18 Aug 2011 20:01:30 +0000 (20:01 +0000)]
store a pointer to the units system in the uiBlock since the button code was doing context lookups for the scene quite a lot.
Campbell Barton [Thu, 18 Aug 2011 19:07:37 +0000 (19:07 +0000)]
misc changes to unterface & undo
- operator strings were doing undo pushes (in fileselector text for example), this is dumb since the operators themselves handle undo.
- interface code checks rna props are arrays rather then checking the array length.
- disable properties window pin undoing.
- sequencer refresh was calling undo, disable since this is clearnign global data not handled by undo.
- added commented out code for drawing mesh vertex index/key index, useful for debugging shapekey - hook issyes.
Campbell Barton [Thu, 18 Aug 2011 18:42:42 +0000 (18:42 +0000)]
minor change for operator OUTLINER_OT_item_activate
Noticed clicking anywhere in the outliner was doing undo pushes, even in empty areas.
- check if any selection is made before redrawing.
- don't do an undo push when selecting outliner items since only screen data is touched here.
Morten Mikkelsen [Thu, 18 Aug 2011 17:25:54 +0000 (17:25 +0000)]
bugfix: genx and geny are not the image resolution. Texture space variant needs this.
Campbell Barton [Thu, 18 Aug 2011 17:09:23 +0000 (17:09 +0000)]
disable undo for hard coded interface buttons:
- space type switcher.
- header menu toggle.
- properties window header buttons.
- various view3d manipulator buttons.
Campbell Barton [Thu, 18 Aug 2011 16:26:34 +0000 (16:26 +0000)]
disable undo for screen & wm RNA buttons, changing shading mode via the UI for eg was doing an undo push.
Campbell Barton [Thu, 18 Aug 2011 16:01:11 +0000 (16:01 +0000)]
fix for undo issues with generic, multi-purpose WM_OT_context* operators, operators now check if they modify certain ID data (not screne, wm, brush or scene) and only do undo in those cass.
- Zkey to switch shading was pushing undo's.
- Wkey to interactively edit camera, lamp settings wasnt doing an undo push when it should.
- Toggling settings (such as bone boolean options) now skips an undo push if there are no items selected.
Campbell Barton [Thu, 18 Aug 2011 15:25:18 +0000 (15:25 +0000)]
more minor changes to wm.py, get data_path's once at the start of each func and some minor style changes.
Campbell Barton [Thu, 18 Aug 2011 12:20:10 +0000 (12:20 +0000)]
formatting edits, no functional changes.
Campbell Barton [Thu, 18 Aug 2011 12:09:53 +0000 (12:09 +0000)]
fix for bad array access in transform operator, was assigning an array to a single float operator value.
Janne Karhu [Thu, 18 Aug 2011 02:12:23 +0000 (02:12 +0000)]
Fix for [#28216] particles objects rotation still wrong with r39287
* The emitter object's inverse matrix wasn't in global coordinates during rendering, so the surface normals of the hair emission locations were transformed with the wrong matrix.
Mitchell Stokes [Wed, 17 Aug 2011 20:44:15 +0000 (20:44 +0000)]
BGE: Upon further investigation this should have been 8 since up/down and left/right both are just one axis each. So, in actuality, the number of directions = 2, not 4, and thus JOYAXIS_MAX/directions = 16/2 = 8. 8 was also the max used in 2.4x.
Mitchell Stokes [Wed, 17 Aug 2011 20:17:27 +0000 (20:17 +0000)]
BGE: Upping the max Axis Number for the Axis event type on joystick sensors from 2 to 4. The BGE supports up to 16 axis. For Axis events (not Single Axis), you get for directions per axis (up, down, left, right). So, the max should be JOYAXIS_MAX/directions = 16/4 = 4.
Brecht Van Lommel [Wed, 17 Aug 2011 15:55:42 +0000 (15:55 +0000)]
Fix #28207: animating pin option for cloth didn't work, solver doesn't support
it, so set the property as not animatable.
Brecht Van Lommel [Wed, 17 Aug 2011 15:01:26 +0000 (15:01 +0000)]
Fix #28265: blender 2.59 not starting on OS X with old ndof driver.
Patch by Jens Verwiebe.
Brecht Van Lommel [Wed, 17 Aug 2011 14:43:11 +0000 (14:43 +0000)]
Fix #28262: uv unwrap in sync selection mode unwrapped all faces irrespective
of selection. Changed the fix for bug #27198, live unwrap not working with
sync selection.
Thomas Dinges [Wed, 17 Aug 2011 13:04:28 +0000 (13:04 +0000)]
2.6 RNA:
* Remove some NULL RNA property update calls, they do nothing.
Brecht Van Lommel [Wed, 17 Aug 2011 12:52:38 +0000 (12:52 +0000)]
Fix #28277: changing smoke border collision type did not reset cache, making
it seem like the option wasn't working.
Brecht Van Lommel [Wed, 17 Aug 2011 12:09:02 +0000 (12:09 +0000)]
Fix #28194, #28269: proxy object was not showing pose mode as available in
3d view header mode menu.
A recent bugfix was incorrectly hiding pose and particle mode when the object
data was library linked, but these modes edit object level settings so should
be available.
Campbell Barton [Tue, 16 Aug 2011 22:44:12 +0000 (22:44 +0000)]
fix [#28274] Cant select aditional object in edit mode.
missing feature from 2.4x
Campbell Barton [Tue, 16 Aug 2011 22:18:24 +0000 (22:18 +0000)]
fix for error calling RNA_property_float_get_index on non array float rotations when displaying.
Thomas Dinges [Tue, 16 Aug 2011 17:43:39 +0000 (17:43 +0000)]
Bugfix for [#28258] [UV editor] missing snapping option.
*Added back "snap_target" as we had in 2.4x.
I removed the "snap_element" though, as only Vertex Snapping is supported in the UV Image Editor.
Campbell Barton [Tue, 16 Aug 2011 13:46:51 +0000 (13:46 +0000)]
minor fix, armature selection outline was not being drawn for non-active, selected armature object when they were in pose mode.
Campbell Barton [Tue, 16 Aug 2011 13:45:17 +0000 (13:45 +0000)]
turns out recent commit made 'make' on its own fail.
Campbell Barton [Tue, 16 Aug 2011 13:10:46 +0000 (13:10 +0000)]
remove support for deprecated Vector() * Matrix(), eventually this will be added back as row_vector_multiplication bu to avoid confusion for a bit just disable it altogether so script authors get an error on use and update their scripts.
Campbell Barton [Tue, 16 Aug 2011 13:07:46 +0000 (13:07 +0000)]
add numpad key input for ghost/sdl
Daniel Salazar [Tue, 16 Aug 2011 12:37:23 +0000 (12:37 +0000)]
Front/Back togles should not disable when curve is 2D and bevel object is used
http://www.pasteall.org/pic/show.php?id=16449
Campbell Barton [Tue, 16 Aug 2011 10:34:52 +0000 (10:34 +0000)]
Convenience targets for project files:
Project Files for IDE's
* project_qtcreator - QtCreator Project Files
* project_netbeans - NetBeans Project Files
* project_eclipse - Eclipse CDT4 Project Files
Sergey Sharybin [Tue, 16 Aug 2011 10:31:28 +0000 (10:31 +0000)]
Fix #28273: Crash playing with Follow path+Bevel+Material
Crash was caused by old refactor of displists.
Added additional check to makeDispListCurveTypes.
Campbell Barton [Tue, 16 Aug 2011 10:01:19 +0000 (10:01 +0000)]
'make help' message for the convenience makefile which lists optional targets.