blender.git
10 years agoA python port of dataoc.
Joerg Mueller [Fri, 28 Aug 2009 09:38:36 +0000 (09:38 +0000)]
A python port of dataoc.

10 years ago* Tweak texture paint view3d settings, make projection paint options dependent on...
Matt Ebb [Fri, 28 Aug 2009 02:24:14 +0000 (02:24 +0000)]
* Tweak texture paint view3d settings, make projection paint options dependent on the tool, rather than (weirdly) the tool's availability dependent on projection paint settings.

10 years agoSVN maintenance.
Guillermo S. Romero [Thu, 27 Aug 2009 20:37:50 +0000 (20:37 +0000)]
SVN maintenance.

10 years ago2.5:
Thomas Dinges [Thu, 27 Aug 2009 19:10:53 +0000 (19:10 +0000)]
2.5:
* Deleted the box layout in logic editor, as discussed in IRC. We need a better solution here, maybe 2 lines?

* Typo in Sequencer RNA.

10 years ago2.5 Volumetric:
Thomas Dinges [Thu, 27 Aug 2009 18:24:12 +0000 (18:24 +0000)]
2.5 Volumetric:

* Wrapped some missing Point Density RNA and added the options to the UI.
* Some UI changes (greying out...)

Matt: Please check. :)

10 years agowas casting the PyObjectPlus type to a PyObject for new BGE vector and matrix types...
Campbell Barton [Thu, 27 Aug 2009 16:34:13 +0000 (16:34 +0000)]
was casting the PyObjectPlus type to a PyObject for new BGE vector and matrix types, need to get its proxy instead.

10 years ago- assigning vectors in the BGE wasn't updating the vector from the callback
Campbell Barton [Thu, 27 Aug 2009 15:22:41 +0000 (15:22 +0000)]
- assigning vectors in the BGE wasn't updating the vector from the callback
- Pkey only starts in BGE in Object Mode
- warning in readblenentry.c, is silent on 64bit too.

10 years agoFix for sounds with relative paths not being loaded correctly.
Joerg Mueller [Thu, 27 Aug 2009 09:52:41 +0000 (09:52 +0000)]
Fix for sounds with relative paths not being loaded correctly.

10 years agoTweaked layout of game properties. The Add button is now at the top, meaning it doesn...
William Reynish [Thu, 27 Aug 2009 08:46:39 +0000 (08:46 +0000)]
Tweaked layout of game properties. The Add button is now at the top, meaning it doesn't move around - this is also more consistent with constraints/modifiers etc. Used the same 'box' layout as constraints/modifiers.

Also ported some name changes from the materials UI script to RNA to keep these consistent. Animation editors always show the RNA name after all, so it's good to keep the names similar.

10 years agoGrease Pencil: RNA Wrapping
Joshua Leung [Thu, 27 Aug 2009 06:03:41 +0000 (06:03 +0000)]
Grease Pencil: RNA Wrapping

* Wrapped Grease Pencil datatypes in RNA.
* Hooked up Grease Pencil access in RNA (i.e. via Main, ID, and Scene)

TODO:
Updates to properties are currently lacking property-update calls, since there's no good notifier for this.

10 years agoGrease Pencil: Another quick experiment - easier usage
Joshua Leung [Thu, 27 Aug 2009 01:57:09 +0000 (01:57 +0000)]
Grease Pencil: Another quick experiment - easier usage

* Changed the hotkey to simply be:
Hold DKEY, click+drag using Left-Mouse (draw) or Right-Mouse (erase). How to get tablet erasers to work (via keymaps) is on todo...
You can simply hold DKEY until you've finished drawing, thanks to the nice way that keymaps can support standard-key modifiers now.

* Eraser works now too.

10 years agoGrease Pencil: Bugfixes
Joshua Leung [Thu, 27 Aug 2009 01:01:13 +0000 (01:01 +0000)]
Grease Pencil: Bugfixes

* Realtime updates now work again
* Fixed problems with clicks to start drawing resulting in a stroke being ended.
* Changed the hotkeys to Ctrl-Alt-Shift-LMB (draw) and Ctrl-Alt-Shift-RMB (erase). Still very temporary stuff, will probably change these a few more times as I experiment with new approaches.

10 years agoBGE shape key actuator working, though only tried a simple testcase.
Campbell Barton [Wed, 26 Aug 2009 20:06:16 +0000 (20:06 +0000)]
BGE shape key actuator working, though only tried a simple testcase.

10 years agoSVN maintenance.
Guillermo S. Romero [Wed, 26 Aug 2009 19:30:02 +0000 (19:30 +0000)]
SVN maintenance.

10 years ago2.5 Sound: RNA for bSound.
Joerg Mueller [Wed, 26 Aug 2009 18:20:17 +0000 (18:20 +0000)]
2.5 Sound: RNA for bSound.

10 years agoUpdate makefile for libed_gpencil.
Diego Borghetti [Wed, 26 Aug 2009 17:13:20 +0000 (17:13 +0000)]
Update makefile for libed_gpencil.

10 years ago2.5 Scene RNA:
Thomas Dinges [Wed, 26 Aug 2009 15:13:58 +0000 (15:13 +0000)]
2.5 Scene RNA:

* Added RNA for Render Baking.
Missing: Bake Operator and property "Quad Split Order".

10 years ago2.5 Sound:
Joerg Mueller [Wed, 26 Aug 2009 14:19:29 +0000 (14:19 +0000)]
2.5 Sound:

- Cleaned up DNA_sound_types.h, especially the bSound structure.
- Fixed a caching bug.

10 years ago- Add remove game properties now possible from the logic space properties panel.
Campbell Barton [Wed, 26 Aug 2009 12:51:27 +0000 (12:51 +0000)]
- Add remove game properties now possible from the logic space properties panel.
- PyDebugLine, utility function to run if the BGE crashes, you can see which python file and line called the C/C++ code.

10 years ago2.5 - Grease Pencil Version 2 (Crude rebirth)
Joshua Leung [Wed, 26 Aug 2009 12:01:15 +0000 (12:01 +0000)]
2.5 - Grease Pencil Version 2 (Crude rebirth)

This commit is the start of the new Grease Pencil implementation. I've just ported the old code to make it work with operators, and to store its data in Grease-Pencil datablocks.

However, this is currently still really buggy, with only the barebones of the drawing/creation tools restored (no UI panels, no options). To use (not recommended), use D+S+move_mouse (and click when finished) for now. There are some rather serious event handling errors going on here...

10 years agoClose the old audio device before and not after opening the new.
Joerg Mueller [Wed, 26 Aug 2009 10:02:17 +0000 (10:02 +0000)]
Close the old audio device before and not after opening the new.

10 years agoChanged default audio device from SDL to OpenAL after a discussion in IRC, we're...
Joerg Mueller [Wed, 26 Aug 2009 08:09:29 +0000 (08:09 +0000)]
Changed default audio device from SDL to OpenAL after a discussion in IRC, we're testing if OpenAL works flawlessly on all plattforms and if so we'll keep it as default device as it supports 3D Audio for the GE what SDL doesn't.

10 years agothis was causing failed build when the file was missing
Campbell Barton [Wed, 26 Aug 2009 07:59:58 +0000 (07:59 +0000)]
this was causing failed build when the file was missing

10 years ago* Hopefully fix some weird merging business
Matt Ebb [Wed, 26 Aug 2009 06:51:26 +0000 (06:51 +0000)]
* Hopefully fix some weird merging business

10 years ago* Fix for yesterday's valgrind fix
Matt Ebb [Wed, 26 Aug 2009 06:17:39 +0000 (06:17 +0000)]
* Fix for yesterday's valgrind fix

* Fix for plane material preview render. Now, light cache aborts if there isn't enough volume, and falls back on non-cached single scattering. It still doesn't make much sense to render a plane as a volume, but for now in the preview it will shade the region in between the plane and the checker background.

10 years ago- Mathutils.Vector assignment wasnt working in the BGE's py api, was using getValue...
Campbell Barton [Wed, 26 Aug 2009 06:15:43 +0000 (06:15 +0000)]
- Mathutils.Vector assignment wasnt working in the BGE's py api, was using getValue() rather than setValue()
- added GPL header to bpy_interface.c from 2.4x's BPY_interface.c
- warning fixes

10 years agoClear transform flag on all bones that are not transformed.
Martin Poirier [Wed, 26 Aug 2009 02:18:47 +0000 (02:18 +0000)]
Clear transform flag on all bones that are not transformed.

10 years agoMap manipulator to leftmouse, not actionmouse.
Martin Poirier [Wed, 26 Aug 2009 01:49:57 +0000 (01:49 +0000)]
Map manipulator to leftmouse, not actionmouse.

We don't want this to flip around when people change left or right mouse select.

10 years ago2.5 - Warning cleanups (for mingw+scons)
Joshua Leung [Wed, 26 Aug 2009 00:38:43 +0000 (00:38 +0000)]
2.5 - Warning cleanups (for mingw+scons)

Also, made the Outliner's horizontal scrollbar work better for keymaps view. It's still using an approximation of the width, but at least you can scroll now.

10 years agoSmoke:
Daniel Genrich [Tue, 25 Aug 2009 23:39:49 +0000 (23:39 +0000)]
Smoke:
*Bugfix for crash on using a plane as smoke domain (reported by DingTo)
* Bringing slowly high res back, not yet working

10 years agoUnconditionally define WITH_OPENEXR.
Guillermo S. Romero [Tue, 25 Aug 2009 22:56:08 +0000 (22:56 +0000)]
Unconditionally define WITH_OPENEXR.
Compiling openexr_api.cpp requires WITH_OPENEXR, to get the right part of the
openexr_multi.h file. Broken since r22739.

10 years agoremove all python api functions deprecated in 2.49
Campbell Barton [Tue, 25 Aug 2009 22:51:18 +0000 (22:51 +0000)]
remove all python api functions deprecated in 2.49

10 years agoSmoke:
Daniel Genrich [Tue, 25 Aug 2009 21:53:52 +0000 (21:53 +0000)]
Smoke:
* Deleting high res modifier again
* fixing smoke + continue physics drawing
* fixing cache reset when changing dissolve

10 years agoUpdate Makefile and missing include on voxeldata.c
Diego Borghetti [Tue, 25 Aug 2009 21:25:41 +0000 (21:25 +0000)]
Update Makefile and missing include on voxeldata.c

Note that With libsndfile also need libflac and libogg here (Linux), right
now I just add this two librarys to the NAN_SNDFILELIBS, but maybe
it's better split this ? (NAN_FLAC/NAN_OGG)

10 years agolibsndfile is not available yet for darwin, builders feel free to add the lib!
Joerg Mueller [Tue, 25 Aug 2009 20:42:21 +0000 (20:42 +0000)]
libsndfile is not available yet for darwin, builders feel free to add the lib!

10 years agoSmoke:
Daniel Genrich [Tue, 25 Aug 2009 20:22:40 +0000 (20:22 +0000)]
Smoke:
* reset cache when changing heat or gravity

10 years agoPointcache:
Daniel Genrich [Tue, 25 Aug 2009 19:58:42 +0000 (19:58 +0000)]
Pointcache:
*forgot 1 rename

10 years agoPointcache:
Daniel Genrich [Tue, 25 Aug 2009 18:53:20 +0000 (18:53 +0000)]
Pointcache:
* change function names

10 years agoPointcache:
Daniel Genrich [Tue, 25 Aug 2009 18:41:36 +0000 (18:41 +0000)]
Pointcache:
*introducing unique ID's following brechts hint from ML

Enhancements resulting from this:
* multiple caches per modifier stack position

10 years agoblender 2.5 MSVC projectfiles
Andrea Weikert [Tue, 25 Aug 2009 17:32:01 +0000 (17:32 +0000)]
blender 2.5 MSVC projectfiles
* update for bpy_array.c

10 years agoImplemented dynamic and multidimensional array support in RNA.
Arystanbek Dyussenov [Tue, 25 Aug 2009 17:06:36 +0000 (17:06 +0000)]
Implemented dynamic and multidimensional array support in RNA.

Example code: http://www.pasteall.org/7332/c.
New API functions: http://www.pasteall.org/7330/c.

Maximum number of dimensions is currently limited to 3, but can be increased arbitrarily if needed.

What this means for ID property access:

* MeshFace.verts - dynamic array, size 3 or 4 depending on MFace.v4
* MeshTextureFace.uv - dynamic, 2-dimensional array, size depends on MFace.v4
* Object.matrix - 2-dimensional array

What this means for functions:

* more intuitive API possibility, for example:
  Mesh.add_vertices([(x, y, z), (x, y, z), ...])
  Mesh.add_faces([(1, 2, 3), (4, 5, 6), ...])

Python part is not complete yet, e.g. it is possible to:

MeshFace.verts = (1, 2, 3) # even if Mesh.verts is (1, 2, 3, 4) and vice-versa
MeshTextureFace.uv = [(0.0, 0.0)] * 4 # only if a corresponding MFace is a quad

but the following won't work:

MeshTextureFace.uv[3] = (0.0, 0.0) # setting uv[3] modifies MTFace.uv[1][0] instead of MTFace.uv[3]

10 years agoblender 2.5 MSVC projectfiles
Andrea Weikert [Tue, 25 Aug 2009 17:05:04 +0000 (17:05 +0000)]
blender 2.5 MSVC projectfiles
* update for volume rendering
* update for audaspace jack
* update for rna: animation_api.c, scene_api.c

10 years agoReplaced G.sce by Main.name in sound.c.
Joerg Mueller [Tue, 25 Aug 2009 15:30:04 +0000 (15:30 +0000)]
Replaced G.sce by Main.name in sound.c.
I hoped for it to resolve the bug of loading sounds with relative paths didn't work, but Main.name isn't set before the sounds are loaded, so the bug resists!
Someone who is into file loading should please fix this!

10 years ago2.5 Material Buttons:
Thomas Dinges [Tue, 25 Aug 2009 14:26:27 +0000 (14:26 +0000)]
2.5 Material Buttons:

* Fixed some poll checks, they showed empty panels when there was no active material.
* Some minor code/whitespace cleanup.

10 years agoremove gameOb.has_key(key) method from KX_GameObject and ListValue since python 3...
Campbell Barton [Tue, 25 Aug 2009 13:54:56 +0000 (13:54 +0000)]
remove gameOb.has_key(key) method from KX_GameObject and ListValue since python 3.x removes has_key from dictionaries.
Instead use __contains__, eg.
 if key in gameOb: ...

Mathutils returns from PyMath.cpp were incorrectly using wrapped Mathutils types. Wrapped types should only be used with a callback now.

10 years agopatch from Mitchell Stokes adding dictionary like access to a scene. (like KX_GameObj...
Campbell Barton [Tue, 25 Aug 2009 13:43:21 +0000 (13:43 +0000)]
patch from Mitchell Stokes adding dictionary like access to a scene. (like KX_GameObjects have)

val = scene["prop"]
scene["prop"] = newval
if "prop" in scene: ...
val = scene.get("prop", fallback_val)

10 years agoMoved the autokey mode menu from the timeline header into the timeline menus. Its...
William Reynish [Tue, 25 Aug 2009 12:31:35 +0000 (12:31 +0000)]
Moved the autokey mode menu from the timeline header into the timeline menus. Its previous prominent large size made it seem like this setting was very important, when in fact it's a setting you are almost never likely to touch. This helps clean up the main UI.

10 years ago== SCons ==
Nathan Letwory [Tue, 25 Aug 2009 10:56:01 +0000 (10:56 +0000)]
== SCons ==
* Add sndfile support (False by default).
  Note: for this to work, make sure that FFMPEG-support is disabled.

10 years ago2.5 - Keying Sets Bugfix
Joshua Leung [Tue, 25 Aug 2009 10:32:53 +0000 (10:32 +0000)]
2.5 - Keying Sets Bugfix

Single-value properties in KeyingSets were not getting keyframed.

10 years ago* removed misleading comments. In short: NEVER EVER copy platform defaults in their...
Nathan Letwory [Tue, 25 Aug 2009 09:47:14 +0000 (09:47 +0000)]
* removed misleading comments. In short: NEVER EVER copy platform defaults in their entirety as your user-config.py.
  I'm taking this commit log as an opportunity to also remind people of the existance of doc/blender-scons.txt .
  If you're a user reading these commit logs, and you haven't pre-ordered the Durian DVD yet, do so now: http://www.blender3d.org/e-shop/product_info_n.php?products_id=120

10 years agoSmall error detected by valgrind, thanks cam
Matt Ebb [Tue, 25 Aug 2009 08:11:37 +0000 (08:11 +0000)]
Small error detected by valgrind, thanks cam

10 years ago* Volume Rendering
Matt Ebb [Tue, 25 Aug 2009 06:30:09 +0000 (06:30 +0000)]
* Volume Rendering

Finally in 2.5 branch :)

Still things to do, but will continue working in here. I won't bother
repeating the commit messages from the last year or so, however I've
written up some technical docs to help Ton/Brecht/etc review and find
their way around the code:
http://wiki.blender.org/index.php/User:Broken/VolumeRenderingDev

That above page has some known issues and todos listed, but I'm still
interested in bug reports.

Credits for this code:
* Matt Ebb
(with thanks to Red Cartel/ProMotion Studios)
* Raul Fernandez Hernandez (Farsthary) for patches:
  o Light cache based multiple scattering approximation
  o Initial voxeldata texture code
  o Depth Cutoff threshold
* Andre Susano Pinto for BVH range lookup addition
* Trilinear interpolation adapted from pbrt
* Tricubic interpolation from libtricubic

10 years ago2.5 - Action Editor
Joshua Leung [Tue, 25 Aug 2009 04:32:40 +0000 (04:32 +0000)]
2.5 - Action Editor

New Actions can now be added again from the Action Editor.

There are no guarantees that this works totally safely yet (reference counting may be quite off), so you've been warned.

10 years ago2.5 - Keying Sets API (now usable from Py-Scripts)
Joshua Leung [Tue, 25 Aug 2009 04:05:37 +0000 (04:05 +0000)]
2.5 - Keying Sets API (now usable from Py-Scripts)

Wrapped the Keying Sets API with RNA Functions so that they can now be called from Py-Scripts. This will ultimately be useful for riggers to create Keying Sets which can get loaded up/created for animators to use after importing their rig.

I've created a demo for this, which can be found at:
http://www.pasteall.org/blend/552

Notes:
- Kazanbas, I've had to create a rna_scene_api.c here to hold some of the relevant functions. Hopefully this won't cause you too much pain when you do your next merge from 2.5 to your branch ;)
- I've noticed that there seem to be a few cases mentioned in the demo which don't totally work yet. I'll commit some fixes for those later.

10 years ago2.5 - NLA Bugfixes:
Joshua Leung [Tue, 25 Aug 2009 01:46:05 +0000 (01:46 +0000)]
2.5 - NLA Bugfixes:

* F-Modifiers on F-Curves can now taken into account when calculating the extents of actions. This is used when there are some NLA strips and some action with some F-Modifiers is being played back on top of those.

* The toggles in the NLA channels list now respect the width of the list instead of using a hardcoded position. This means that clicking on these toggles when the list is resized works again.

10 years agosvn merge -r 22628:22753 https://svn.blender.org/svnroot/bf-blender/branches/blender2... volume25
Matt Ebb [Tue, 25 Aug 2009 01:37:08 +0000 (01:37 +0000)]
svn merge -r 22628:22753 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender

10 years ago2.5 - Assorted Bugfixes for Animation Editing
Joshua Leung [Tue, 25 Aug 2009 00:12:11 +0000 (00:12 +0000)]
2.5 - Assorted Bugfixes for Animation Editing

* Inserting keyframes now takes into account whether the F-Curve was editable or not.

* Editing keyframes in animation editors now sends proper depsgraph updates instead of just tagging the relevant objects.

Thanks JiriH for reporting these bugs.

10 years agoTiny tweaks to Display panel in image editor
William Reynish [Mon, 24 Aug 2009 23:27:07 +0000 (23:27 +0000)]
Tiny tweaks to Display panel in image editor

10 years agoReverted some keymap changes.
William Reynish [Mon, 24 Aug 2009 21:45:09 +0000 (21:45 +0000)]
Reverted some keymap changes.

Moving to standards for opening/saving etc was causing uproar in IRC.

10 years agoSmoke:
Daniel Genrich [Mon, 24 Aug 2009 21:39:48 +0000 (21:39 +0000)]
Smoke:
*enable non-2^n textrues for all gfx cards which support it.
* try to enhance the visual quality under linux a bit when gfx card doesn't support it (still errors visible)

10 years agoSmoke:
Daniel Genrich [Mon, 24 Aug 2009 21:16:23 +0000 (21:16 +0000)]
Smoke:
*fixing the fix as usual

10 years agoSmoke:
Daniel Genrich [Mon, 24 Aug 2009 21:06:55 +0000 (21:06 +0000)]
Smoke:
* Bugfix for scaling on non-2^n-textures

10 years agoCorrect transform descriptions.
Martin Poirier [Mon, 24 Aug 2009 14:26:58 +0000 (14:26 +0000)]
Correct transform descriptions.

Some operations were described as vertex only when they aren't.

10 years ago* r22739 broke compilation with scons. Make sure WITH_OPENEXR definition is given
Nathan Letwory [Mon, 24 Aug 2009 12:34:19 +0000 (12:34 +0000)]
* r22739 broke compilation with scons. Make sure WITH_OPENEXR definition is given

10 years ago[#19232] (2.5) Correction of cmake for windows about audio (jack and openal)
Campbell Barton [Mon, 24 Aug 2009 10:21:53 +0000 (10:21 +0000)]
[#19232] (2.5) Correction of cmake for windows about audio (jack and openal)

Didnt apply the patch updated with sndfile.

10 years ago[#19232] (2.5) Correction of cmake for windows about audio (jack and openal)
Campbell Barton [Mon, 24 Aug 2009 10:07:49 +0000 (10:07 +0000)]
[#19232] (2.5) Correction of cmake for windows about audio (jack and openal)
from Guillaume Lecocq (lguillaume)

[#19247] (2.5) useless WITH_OPENEXR redefinition
from Mauro Toffanin (equilibrium)

10 years agopatch from Ron Walker (o6a).
Campbell Barton [Mon, 24 Aug 2009 09:17:09 +0000 (09:17 +0000)]
patch from Ron Walker (o6a).
Descriptions for TFM, TEXT, CONSOLE and ED operators.
- Made some minor edits.

10 years ago* Fix for camera+internal surface object inside ztransp volume
Matt Ebb [Mon, 24 Aug 2009 08:13:09 +0000 (08:13 +0000)]
* Fix for camera+internal surface object inside ztransp volume

10 years ago2.5 - Sliders in Animation Editors
Joshua Leung [Mon, 24 Aug 2009 04:31:13 +0000 (04:31 +0000)]
2.5 - Sliders in Animation Editors

The 'Show Sliders' option for DopeSheet and Graph Editors now works again. When this option is enabled (it is disabled by default), a slider (or combobox) is shown beside the mute/lock toggles for F-Curves. Editing the slider will result in a new keyframe being added on the current frame.

So, for all the (ex)-Maya animators out there, you can now animate in a channelbox-like way. :)

Also in this commit:
* Fixed some warnings in modifier.c from previous commits there
* Fixed some refresh problems with DopeSheet channel list (which were only obvious after adding back the sliders)
* Removed the old/unrestored and nasty slider code used in the past by the Action Editor only.

10 years ago* merge r22734 from trunk
Nathan Letwory [Mon, 24 Aug 2009 02:51:59 +0000 (02:51 +0000)]
* merge r22734 from trunk

NOTE: Remember to svn up your lib/windows. Also, CMake files might need updating still

10 years ago* changes to work with updated FFMPEG libs. Mainly build system. CMake files may...
Nathan Letwory [Mon, 24 Aug 2009 02:49:57 +0000 (02:49 +0000)]
* changes to work with updated FFMPEG libs. Mainly build system. CMake files may need changing too.

NOTE: remember to svn up in lib/windows!

10 years agoMade menu text more consistent, using '...' when a menu item spawns a popup or confir...
William Reynish [Mon, 24 Aug 2009 00:01:09 +0000 (00:01 +0000)]
Made menu text more consistent, using '...' when a menu item spawns a popup or confirmation, and removing redundant starting words in submenus.

Also added notifiers for user prefs, and tweaked wave modifier layout.

10 years agoAdjusted spacing of header items.
William Reynish [Sun, 23 Aug 2009 22:22:58 +0000 (22:22 +0000)]
Adjusted spacing of header items.
Made toggle buttons less wide, with less extra space around them
Made number widgets wider to allow larger numbers, such as the current frame field in the timeline.

10 years ago* Fix for volume materials + AAO
Matt Ebb [Sun, 23 Aug 2009 22:19:45 +0000 (22:19 +0000)]
* Fix for volume materials + AAO

10 years ago2.5 3DView:
Thomas Dinges [Sun, 23 Aug 2009 22:13:56 +0000 (22:13 +0000)]
2.5 3DView:
Patch by Lorenzo Pierfederici (lento). Many thanks!

* Ported some more menus to python (Pose, Particle...)
* Some cleanup and reorganization in the python file to reduce code. :)
* Cleanup of old C buttons code.

10 years ago* Fix for rendering wire materials
Matt Ebb [Sun, 23 Aug 2009 22:11:19 +0000 (22:11 +0000)]
* Fix for rendering wire materials

10 years agoUI
William Reynish [Sun, 23 Aug 2009 21:56:32 +0000 (21:56 +0000)]
UI

Changed the rounding of action buttons. The round style looked pleasing when they were isolated, viewed by themselves, but looked terrible when grouped, or at small sizes with icons as it was often used. The old Filebrowse or Render This Window buttons were examples of how badly they looked with an icon, and the rounding in the tools area made for some weird visual shapes. When combined in groups of widgets, such as the datablock selectors it looked even weirder, because one side of the group would be square and the other would be round, causing some spatial clashes.

http://www.reynish.com/files/blender25/actionbuttons_new.png

Also tweaked the tools sub-area color which stood out as being much brighter than the rest of the UI. When the tools area was open in the default layout, the overall impression was asymmetrical, non-harmonic.

10 years agorevert previous change, povray rendering works again, somehow I managed to render...
Campbell Barton [Sun, 23 Aug 2009 18:20:31 +0000 (18:20 +0000)]
revert previous change, povray rendering works again, somehow I managed to render with previous changes
(probably failed to reload the module and was using the register un-modified version)

10 years agodeprecated world settings were being used making new world's have zero gravity in...
Campbell Barton [Sun, 23 Aug 2009 17:33:34 +0000 (17:33 +0000)]
deprecated world settings were being used making new world's have zero gravity in the game engine.
Double checked these aren't used anymore by renaming the vars in DNA_world_types.h

10 years ago2.5/Sculpt:
Nicholas Bishop [Sun, 23 Aug 2009 17:03:06 +0000 (17:03 +0000)]
2.5/Sculpt:

* Deleted unused file

10 years ago* Compile fix after merge - disabled high-res smoke rendering in voxeldata texture...
Matt Ebb [Sun, 23 Aug 2009 13:15:10 +0000 (13:15 +0000)]
* Compile fix after merge - disabled high-res smoke rendering in voxeldata texture. Will re-enable when the modifier situation has been worked out.

10 years ago2.5 - Custom Shape and Bone Groups can be viewed/set on Bones again.
Joshua Leung [Sun, 23 Aug 2009 12:53:55 +0000 (12:53 +0000)]
2.5 - Custom Shape and Bone Groups can be viewed/set on Bones again.

10 years agomissed this in last commit.
Campbell Barton [Sun, 23 Aug 2009 12:50:08 +0000 (12:50 +0000)]
missed this in last commit.

10 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22704:22717
Campbell Barton [Sun, 23 Aug 2009 07:46:34 +0000 (07:46 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22704:22717

10 years agospacebar for the search menu was overriding space in the text editor
Campbell Barton [Sun, 23 Aug 2009 07:33:29 +0000 (07:33 +0000)]
spacebar for the search menu was overriding space in the text editor

10 years agoOption for MouseFocus sensor. only used when 'Mouse over any' type is set.
Campbell Barton [Sun, 23 Aug 2009 06:17:59 +0000 (06:17 +0000)]
Option for MouseFocus sensor. only used when 'Mouse over any' type is set.

Previously the only way to detect if the mouse moved over a different object was to enable true-level-triggering and have a python script detect the change.

When the Pulse option is set, focusing on a different object pulses true.
Python attribute is focusSensor.usePulseFocus.

This is similar to the collision sensors pulse option where changes in the set of collision objects generates an event too.

Found this functionality missing when trying to make a logic demo that used mouse-over with overlapping objects.

10 years agosvn merge -r 22628:22714 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
Matt Ebb [Sun, 23 Aug 2009 03:33:33 +0000 (03:33 +0000)]
svn merge -r 22628:22714 https://svn.blender.org/svnroot/bf-blender/branches/blender2.5/blender

10 years ago* enable ztransp transparency type for new materials by default.
Matt Ebb [Sun, 23 Aug 2009 02:59:18 +0000 (02:59 +0000)]
* enable ztransp transparency type for new materials by default.

10 years ago* Volume rendering - z transparency
Matt Ebb [Sun, 23 Aug 2009 02:54:30 +0000 (02:54 +0000)]
* Volume rendering - z transparency

This solves one of the last remaining hurdles for
volume rendering. Previously it always used ray
tracing to shade other objects inside or behind the
volume. This meant that said objects would look
aliased, unless you used Full OSA on the volume
(which is slow!). As well as this, it meant that you didn't
get a good alpha channel out of the volume to use for
compositing, similar to ray refracting materials.

This commit enables z transparency for volume
materials. Although it can be potentially less
physically correct, in most situations there's no
difference, and you get the benefit of nice sampling for
other objects and an alpha channel for compositing too.

10 years agouse class __props__ for povray settings.
Campbell Barton [Sat, 22 Aug 2009 17:50:10 +0000 (17:50 +0000)]
use class __props__ for povray settings.

10 years ago2.5: Python subclasses can now define RNA properties by making
Brecht Van Lommel [Sat, 22 Aug 2009 17:30:47 +0000 (17:30 +0000)]
2.5: Python subclasses can now define RNA properties by making
a __props__ list in the class, same as for operators.

10 years ago[#19226] (2.5) blender uses deprecated 'strstream' STL class, causes warnings with gcc
Campbell Barton [Sat, 22 Aug 2009 17:19:31 +0000 (17:19 +0000)]
[#19226] (2.5) blender uses deprecated 'strstream' STL class, causes warnings with gcc
thanks to Mauro Toffanin (equilibrium)

This is the only place where strstream were used.

10 years ago[#19229] 1 line fix resolves - segmentation Fault
Campbell Barton [Sat, 22 Aug 2009 17:11:36 +0000 (17:11 +0000)]
[#19229] 1 line fix resolves - segmentation Fault
from Martin Frances (martinfrances)

Added a scene check when appending objects so you can append data without a scene.

10 years agobpy's __rna__ attribute doesnt work as it should, since the parent classes __rna__...
Campbell Barton [Sat, 22 Aug 2009 17:06:10 +0000 (17:06 +0000)]
bpy's __rna__ attribute doesnt work as it should, since the parent classes __rna__ overrides the subtypes.

For now have pyrna_struct_as_srna look in the dict first for __rna__ before using PyDict_GetItemString.
Somehow __rna__ is not calling the pyrna_struct_getattro function, python find it first.

The only relyable way to get the rna from python currently is.
bpy.types.SomeType.__dict__['__rna__']

10 years agoBugfixing.
Joerg Mueller [Sat, 22 Aug 2009 16:54:18 +0000 (16:54 +0000)]
Bugfixing.

10 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22701:22704
Campbell Barton [Sat, 22 Aug 2009 14:23:54 +0000 (14:23 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22701:22704

10 years agomissed this in last commit. keyboard event manager was stored twice.
Campbell Barton [Sat, 22 Aug 2009 14:19:27 +0000 (14:19 +0000)]
missed this in last commit. keyboard event manager was stored twice.

10 years agoMoved mesh display options to the 3D view n-key area, next to other display options.
William Reynish [Sat, 22 Aug 2009 11:51:26 +0000 (11:51 +0000)]
Moved mesh display options to the 3D view n-key area, next to other display options.
The DNA/RNA for these options should be changed to reflect this.

10 years agosvn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22668:22701
Campbell Barton [Sat, 22 Aug 2009 10:57:07 +0000 (10:57 +0000)]
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r22668:22701

10 years ago- BGE, Some sensors, stored the event manager in 2 places (became confusing to do...
Campbell Barton [Sat, 22 Aug 2009 10:51:21 +0000 (10:51 +0000)]
- BGE, Some sensors, stored the event manager in 2 places (became confusing to do changes in this area)
- Change compiler warnings for linux/scons/C++