Campbell Barton [Mon, 20 Jun 2011 02:54:56 +0000 (02:54 +0000)]
- add example for python rna property update
- edit the copyright for blender specific cmake find modules
Michael Fox [Mon, 20 Jun 2011 02:37:13 +0000 (02:37 +0000)]
small safety fix for recent commit to normal mapping (uninitialised variables)
Daniel Salazar [Sun, 19 Jun 2011 20:41:41 +0000 (20:41 +0000)]
By Morten S. Mikkelsen; this adds support for tangent bump shading
left: legacy bump, righ: sparkybump
http://pasteall.org/pic/show.php?id=13875
bugs [#26320], [#27506]
there's still an issue with texture OSA as you can see
Campbell Barton [Sun, 19 Jun 2011 15:55:49 +0000 (15:55 +0000)]
fix for python include in msvc
Campbell Barton [Sun, 19 Jun 2011 15:03:50 +0000 (15:03 +0000)]
cmake: add find jack module
Campbell Barton [Sun, 19 Jun 2011 14:55:51 +0000 (14:55 +0000)]
cmake: add find jemalloc module
Campbell Barton [Sun, 19 Jun 2011 14:14:29 +0000 (14:14 +0000)]
fix for building opencollada + msvc
Campbell Barton [Sun, 19 Jun 2011 13:49:20 +0000 (13:49 +0000)]
since cmake new auto-detects many features, print a summery of the configuration on first run.
Campbell Barton [Sun, 19 Jun 2011 13:06:21 +0000 (13:06 +0000)]
cmake: fix for recent break in msvc+collada, also dont cache duplicate python include/library variables.
Campbell Barton [Sun, 19 Jun 2011 11:04:15 +0000 (11:04 +0000)]
add back PYTHON_LIBPATH, needed for installing on python
Campbell Barton [Sun, 19 Jun 2011 10:19:10 +0000 (10:19 +0000)]
fix for building with msvc
Campbell Barton [Sun, 19 Jun 2011 09:32:37 +0000 (09:32 +0000)]
removing python includes for blenkernel since pynodes are commented.
Campbell Barton [Sun, 19 Jun 2011 08:57:34 +0000 (08:57 +0000)]
cmake add module for finding fftw3.
also allow debug blender to build with non debug python
Campbell Barton [Sun, 19 Jun 2011 08:20:02 +0000 (08:20 +0000)]
cmake: add libsamplerate find module
Campbell Barton [Sun, 19 Jun 2011 07:46:24 +0000 (07:46 +0000)]
cmake: added FindOpenJPEG module.
Campbell Barton [Sun, 19 Jun 2011 06:57:56 +0000 (06:57 +0000)]
cmake:
new macro file_list_suffix() for adding a suffix to every file in a path before the file extension.
useful to create names for debug libs on windows.
Campbell Barton [Sun, 19 Jun 2011 01:23:50 +0000 (01:23 +0000)]
fixed possible use of uninitialized variable.
Guillermo S. Romero [Sat, 18 Jun 2011 23:22:55 +0000 (23:22 +0000)]
SVN maintenance.
Campbell Barton [Sat, 18 Jun 2011 15:53:47 +0000 (15:53 +0000)]
cmake: make python search into a find package module.
Campbell Barton [Sat, 18 Jun 2011 15:15:31 +0000 (15:15 +0000)]
make better use of cmake builtin funcitons for finding python library/header
Campbell Barton [Sat, 18 Jun 2011 14:12:54 +0000 (14:12 +0000)]
rename cmake include/libraries to conform with suggested cmake names
Campbell Barton [Sat, 18 Jun 2011 12:12:19 +0000 (12:12 +0000)]
added FindSndFile cmake module to replace inline checks.
Campbell Barton [Sat, 18 Jun 2011 11:40:44 +0000 (11:40 +0000)]
fix for error caused with module relocation - broke loading ngons in OBJ files
Campbell Barton [Sat, 18 Jun 2011 09:01:26 +0000 (09:01 +0000)]
use ascii drawing function where utf8 isnt needed.
Campbell Barton [Sat, 18 Jun 2011 08:45:45 +0000 (08:45 +0000)]
py-api: store frequently used strings as unicode PyObject's to avoid creating/distroying every time.
also fix for cmake warning
Campbell Barton [Sat, 18 Jun 2011 03:14:24 +0000 (03:14 +0000)]
throw an error if preprocessor definitions are used for DNA array lengths (previously would fail silently & not work right).
Andrea Weikert [Fri, 17 Jun 2011 21:24:05 +0000 (21:24 +0000)]
fix fileselect for images from sequencer
* recent code to provide directory only fileselect broke selection of images with 'A' (rev. rev. 37552.)
Ton Roosendaal [Fri, 17 Jun 2011 13:57:41 +0000 (13:57 +0000)]
Bugfix, irc report:
Adding new material in active node didn't update the material
properties buttons.
Brecht Van Lommel [Fri, 17 Jun 2011 13:53:47 +0000 (13:53 +0000)]
Fix #27660: texture space panel was missing for curve & metaballs, now they
have same panel as mesh. Patch by Ronan Ducluzeau, thanks!
Campbell Barton [Fri, 17 Jun 2011 13:02:23 +0000 (13:02 +0000)]
fix [#25598] projection surface snap issue
Excuse the thrashing, this is from r35438, reverted r35444 under the _wrong_ impression Martin considered unacceptable.
Campbell Barton [Fri, 17 Jun 2011 12:48:33 +0000 (12:48 +0000)]
fix [#26621] Memory leaks when creating popup window.
also fixes memory leak when cancelling a popup dialog (new image for example).
Daniel Salazar [Fri, 17 Jun 2011 08:50:47 +0000 (08:50 +0000)]
adding .m4a video extension
Campbell Barton [Fri, 17 Jun 2011 07:27:27 +0000 (07:27 +0000)]
BGE: Camera.getScreenPosition wasn't working because of an unhandled exception when called with a non vector argument (object or object name).
Daniel Salazar [Fri, 17 Jun 2011 07:18:51 +0000 (07:18 +0000)]
aiff too
Daniel Salazar [Fri, 17 Jun 2011 07:15:36 +0000 (07:15 +0000)]
Adding .aif to known audio extensions so it doesn't get hiden by default
Campbell Barton [Fri, 17 Jun 2011 05:56:17 +0000 (05:56 +0000)]
fix for memory leak converting an idproperty group into a dict
Campbell Barton [Fri, 17 Jun 2011 05:45:46 +0000 (05:45 +0000)]
IDProperty python module update
- add support for IDProp array slicing, but not resizing.
- rename array attribute type to typecode and use chars 'f', 'd', 'i' which match pythons array module. (was using int's which only have a meaning internally).
- rename function 'convert_to_pyobject' to 'to_dict' and 'to_list' for IDProp group and array types respectively.
- remove 'len' array attribute, calling len(array) is fine.
Campbell Barton [Fri, 17 Jun 2011 03:17:07 +0000 (03:17 +0000)]
fix for drawing bones names twice in object with viewport 'Outline' option enabled.
Campbell Barton [Fri, 17 Jun 2011 02:26:34 +0000 (02:26 +0000)]
ulti line formatting for PyErr_Format calls (no functional change)
Campbell Barton [Fri, 17 Jun 2011 02:22:38 +0000 (02:22 +0000)]
fix [#27681] Python: crash assigning a 'set' to an array
Nathan Letwory [Fri, 17 Jun 2011 00:30:04 +0000 (00:30 +0000)]
Fix [#27666] Python/Windows issue: "import uuid" results in an error popup
submitted by Gaia Clary
Ignore msvc runtime libs while linking. Tested on win64.
Ton Roosendaal [Thu, 16 Jun 2011 17:14:38 +0000 (17:14 +0000)]
Small todo item: outliner display actions were sending undo pushes, not needed
for UI stuff.
Brecht Van Lommel [Thu, 16 Jun 2011 16:13:26 +0000 (16:13 +0000)]
Python Docs: update layout.html to match blender.org development submenu changes.
Campbell Barton [Thu, 16 Jun 2011 15:28:39 +0000 (15:28 +0000)]
use directory selector for properties defined as PROP_DIRPATH, user preferences 'File' buttons for eg.
Campbell Barton [Thu, 16 Jun 2011 15:01:22 +0000 (15:01 +0000)]
directory only filesel for operators which don't have a filepath or filename property.
Campbell Barton [Thu, 16 Jun 2011 12:48:25 +0000 (12:48 +0000)]
fix [#27671] Transforming sequencer effects strips crashes
Campbell Barton [Thu, 16 Jun 2011 07:59:22 +0000 (07:59 +0000)]
fix [#27675] Bones shift out of place when leaving edit mode
- float precision issue, details commented in the source.
Campbell Barton [Thu, 16 Jun 2011 07:48:22 +0000 (07:48 +0000)]
fix for baking actions for objects with no animation data.
Campbell Barton [Thu, 16 Jun 2011 07:02:33 +0000 (07:02 +0000)]
fix for own error in r37542
Campbell Barton [Thu, 16 Jun 2011 06:47:54 +0000 (06:47 +0000)]
fix [#27673] Value sliders >1 do not represent numerical ratios right
the soft limits for array buttons not take into account the min/max of all array elements
Campbell Barton [Thu, 16 Jun 2011 06:00:02 +0000 (06:00 +0000)]
minor speedup for UI draw code, noticed ui_get_but_val() could be called 3-5 times per button draw,
for RNA buttons this gets the entire array for each call so its not great to call many times.
Campbell Barton [Thu, 16 Jun 2011 02:55:26 +0000 (02:55 +0000)]
include some extra search paths for cmake openexr
Campbell Barton [Thu, 16 Jun 2011 02:48:07 +0000 (02:48 +0000)]
fix to FindOpenEXR pointed out by Sergey Sharybin,
also added check for IlmThread and marked individual library cache variables as advanced.
Mitchell Stokes [Wed, 15 Jun 2011 23:43:02 +0000 (23:43 +0000)]
Blenderplayer: Setting G.main to NULL after it's freed to avoid issues later with GPU_free_images()
Mitchell Stokes [Wed, 15 Jun 2011 18:59:22 +0000 (18:59 +0000)]
Committing patch #25676 Anisotropic filtering in viewport and BGE by me.
This patch adds anisotropic filtering of textures in the viewport and the BGE. The quality of the filtering is adjustable in the user preferences under System. For more information on anisotropic filtering:
http://en.wikipedia.org/wiki/Anisotropic_filtering
One current limitation of this setup (having the option a user preference) is it makes runtimes more troublesome. Runtimes don't have user preferences set, so for now the blender player defaults to 2x AF. Options will be added later to change this value (probably a command line option).
Campbell Barton [Wed, 15 Jun 2011 14:06:25 +0000 (14:06 +0000)]
remove unused arguments
Campbell Barton [Wed, 15 Jun 2011 14:00:50 +0000 (14:00 +0000)]
error in recent commit
Campbell Barton [Wed, 15 Jun 2011 13:54:57 +0000 (13:54 +0000)]
use full library paths for openexr & msvc, also remove unneeded exr includes
Campbell Barton [Wed, 15 Jun 2011 13:42:02 +0000 (13:42 +0000)]
cmake: combine debug/optimized into one target_link_libraries() call.
Campbell Barton [Wed, 15 Jun 2011 12:09:02 +0000 (12:09 +0000)]
replace own inline cmake include search logic for a typical FindXXX.cmake module.
Campbell Barton [Wed, 15 Jun 2011 11:50:45 +0000 (11:50 +0000)]
fix for openexr include path, for both cmake and scons a custom openexr install wouldn't work since it expected BF_OPENEXR/include and BF_OPENEXR/include/OpenEXR to be in the search path.
Brecht Van Lommel [Wed, 15 Jun 2011 10:19:35 +0000 (10:19 +0000)]
Code cleanup: remove reference to workob global that no longer exists.
Brecht Van Lommel [Wed, 15 Jun 2011 10:17:06 +0000 (10:17 +0000)]
Code cleanup: remove unused shaded draw mode code.
Brecht Van Lommel [Wed, 15 Jun 2011 09:45:26 +0000 (09:45 +0000)]
Fix #27654: vertex parenting not working with constructive modifiers.
Vertex parents were not requesting the original index layer, now do this as
part of depsgraph building, and make constraints with vertex groups use the
same system. Fix is based on patch by Campbell, but with some changes.
Campbell Barton [Wed, 15 Jun 2011 06:25:05 +0000 (06:25 +0000)]
fix [#27658] Bake action operator error on non armature objects
add support for baking object transformations too, also add option to clear constraints (off by default).
Campbell Barton [Wed, 15 Jun 2011 02:17:39 +0000 (02:17 +0000)]
correction for own commit r37492
Campbell Barton [Wed, 15 Jun 2011 02:14:38 +0000 (02:14 +0000)]
de-duplicate multires image filter function. (no functional change)
Campbell Barton [Wed, 15 Jun 2011 01:56:49 +0000 (01:56 +0000)]
fix [#27662] Storing png/tga images ignore Alpha settings
- don't clear alpha when baking RGB images
- when baking results in partial alpha. set the depth to 32.
Campbell Barton [Wed, 15 Jun 2011 00:16:30 +0000 (00:16 +0000)]
Changes to quick explode
- fix python error when the object had an empty material slot
- initialize start frame from the current frame
- set frame range to 300000 max (which is blenders own maximum)
- mesh order was arbitrary, instead use selected -> active, removed invert option.
also fix for missing include in bpy_extras.view3d_utils
Ton Roosendaal [Tue, 14 Jun 2011 17:48:42 +0000 (17:48 +0000)]
RGB curve widget follows user preference DPI now too.
Ton Roosendaal [Tue, 14 Jun 2011 15:55:46 +0000 (15:55 +0000)]
Nodes display now follow 'DPI' user pref too
Campbell Barton [Tue, 14 Jun 2011 11:18:00 +0000 (11:18 +0000)]
fix [#25423] Mirror clipping is ignored with single vertex extrusion when using Face Snapping.
Ton Roosendaal [Tue, 14 Jun 2011 09:55:38 +0000 (09:55 +0000)]
Bugfix #27573
Sculpt and Paint undo steps kept hanging in the sculpt/paint modes.
Now undo will switch back to global undo, and redo enter the mode
again. Just like weight/vertex paint.
Campbell Barton [Tue, 14 Jun 2011 09:41:29 +0000 (09:41 +0000)]
fix [#27659] Segfault when adding None to a group
Campbell Barton [Tue, 14 Jun 2011 07:46:38 +0000 (07:46 +0000)]
include some useful info in bge docs, by ZiauddinMK on IRC.
Sergey Sharybin [Tue, 14 Jun 2011 07:33:25 +0000 (07:33 +0000)]
Fixed weird assignment inside condition statement.
Campbell Barton [Tue, 14 Jun 2011 05:19:16 +0000 (05:19 +0000)]
revert own fix for [#27648], looks like this needs to work differently to be fixed.
Campbell Barton [Tue, 14 Jun 2011 04:19:00 +0000 (04:19 +0000)]
own mistake in recent mask commit.
Campbell Barton [Tue, 14 Jun 2011 04:05:58 +0000 (04:05 +0000)]
edit DAG defines to make it easier to add more & modify.
Campbell Barton [Tue, 14 Jun 2011 02:26:43 +0000 (02:26 +0000)]
mask modifier: replace bone hash lookup with a boolean array to quickly check selection state.
simple test gives ~28% speedup in building the vertex hash. (no functional change)
Campbell Barton [Tue, 14 Jun 2011 01:54:03 +0000 (01:54 +0000)]
mask modifier was taking into account zero weighted verts.
Campbell Barton [Tue, 14 Jun 2011 01:04:11 +0000 (01:04 +0000)]
fix [#27648] Weird shading behind grayed out negate checkbox
Campbell Barton [Tue, 14 Jun 2011 00:24:50 +0000 (00:24 +0000)]
cmake: correct uninitialized vars
Campbell Barton [Mon, 13 Jun 2011 21:35:24 +0000 (21:35 +0000)]
Since scene sequence strips use the 'use_sequencer' setting, make it available in the sequencer panel.
Thomas Dinges [Mon, 13 Jun 2011 20:21:48 +0000 (20:21 +0000)]
2.5 Camera:
* Increase "Ortho_scale" maximum from 1k to 4k, Request by francoisgfx.
Dalai Felinto [Mon, 13 Jun 2011 17:08:33 +0000 (17:08 +0000)]
BGE Patch: [#27425] Allow to change the damping of the camera actuator
##########
original name: "Allow to change the strenght of the "go behind" constraint of the camera actuator"
The camera actuator is an actuator that drive the camera to follow an object, with a set of constraint.
Currently, when the object followed rotate on himself (like a person, or an helicopter), the camera is really slow to go behind (at least 10 seconds).
This patch gives the UI to tweak the strenght of the 'go behind'[named damping] constraint.
###########
epydocs (rst) updated too
Nathan Letwory [Mon, 13 Jun 2011 15:07:36 +0000 (15:07 +0000)]
Fix [#27463] COLLADA light quadratic attenuation exported wrong?
Reported by Pelle Johnsen
Fix falloff import. Point light and Spot light always were set to inverse quad, instead of choosing the proper one based on imported values.
The
Brecht Van Lommel [Mon, 13 Jun 2011 14:56:47 +0000 (14:56 +0000)]
Fix #27540: bug with bump mapping + reflection texture coordinates + nodes.
Brecht Van Lommel [Mon, 13 Jun 2011 14:11:29 +0000 (14:11 +0000)]
Fix #27570: apply button for modifiers required the modifier to be enabled, we
now just enable the modifier before apply.
Patch Bastien Montagne (with some tweaks), thanks!
Brecht Van Lommel [Mon, 13 Jun 2011 12:03:13 +0000 (12:03 +0000)]
Fix #27594: non-active object in weight paint mode doesn't free memory.
Also removed some commented out 2.4x code that is already replaced.
Ton Roosendaal [Mon, 13 Jun 2011 12:03:05 +0000 (12:03 +0000)]
Bugfix #27537
Using texture properties, the material nodes now re-render previews too.
Brecht Van Lommel [Mon, 13 Jun 2011 11:36:25 +0000 (11:36 +0000)]
Fix #27635: GLSL filter uniform variable not set for group instance.
The problem was that SCA_2DFilterActuator was defining and using a
variable called "m_gameObj", when it should be using "m_gameobj" as
defined by SCA_ILogicBrick. The way it was, reparenting did only half
the work required to duplicate the actuator.
Patch by Alex Fraser, thanks!
Nathan Letwory [Mon, 13 Jun 2011 09:33:27 +0000 (09:33 +0000)]
Turn off Quicktime support by default. Will be phased out soon.
Campbell Barton [Mon, 13 Jun 2011 03:09:14 +0000 (03:09 +0000)]
minor updates to the cmake checker
Daniel Genrich [Mon, 13 Jun 2011 00:02:23 +0000 (00:02 +0000)]
Elbeem / Fluidsim:
a) Also fixed an "upcomming" bug in regard of gravx,y,z now converted into an array.
b) Little typo fix
Daniel Genrich [Sun, 12 Jun 2011 23:51:30 +0000 (23:51 +0000)]
Elbeem / Fluidsim update:
a) Enable the possibility to remove the "air bubble" around submerged collision object. This feature is enabled as standard for new files. The code was found in elbeem by nudelZ, coded and provided by Nils Thürey (thanks!)
b) Old baked files gets deleted if a new bake gets started (were overwritten before and resulted in weird old bake + new bake mixture) (idea by nudelZ)
Thomas Dinges [Sun, 12 Jun 2011 20:27:28 +0000 (20:27 +0000)]
Fix/Workaround for [#27643] drawing glitch:
* Removed the Icon of the menu, when an icon is used, it draws a triangle icon, assuming it is a sub menu.
Ton Roosendaal [Sun, 12 Jun 2011 13:35:17 +0000 (13:35 +0000)]
Bugfix #27519
Full Sample AA (FSA) was failing in cases. Bug report was an empty
scene (with compo nodes) linking in another .blend scene (with render).
That case gave warning "FSA not supported with rendering". That now is
allowed.
Then I noticed FSA was giving corrupt sample buffers or crashes in cases,
especially on first buffer, this appeared to be a missing compo tag on
first sample buffer.
Lastly, to make FSA render a tiny bit less frustrating: added render window
statistic to show which of the FSA steps is being done.
Janne Karhu [Sun, 12 Jun 2011 11:14:28 +0000 (11:14 +0000)]
Quick Explode operator:
* Sets up a particle system and an explode modifier.
* In "blend" mode requires two selected objects and creates "crossed keyed" particle systems between the objects for a simple blend effect where the first object explodes and then recombines as the second object.
* Also renamed the other quick effect operators as "Quick ..." to bring some consistency to the operators (also nice that now you can just write "quick" to the operator search and get all these operators).
Janne Karhu [Sun, 12 Jun 2011 11:09:39 +0000 (11:09 +0000)]
Bug fix: keyed physics didn't work properly if the first key wasn't the keyed particle system itself
* Also some nicer rotation handling for the explode modifier