11 years agosvn merge -r 30718:30912
Joerg Mueller [Fri, 30 Jul 2010 22:34:27 +0000 (22:34 +0000)]
svn merge -r 30718:30912

11 years agoAudaspace: Refactored the complete 3D Device code giving a nicer API.
Joerg Mueller [Fri, 30 Jul 2010 22:20:08 +0000 (22:20 +0000)]
Audaspace: Refactored the complete 3D Device code giving a nicer API.

11 years agoProperties Window:
Thomas Dinges [Fri, 30 Jul 2010 16:15:56 +0000 (16:15 +0000)]
Properties Window:
* Deleted file as I doubt that these buttons will be done in python. File was not used anyway.
* Deleted some ifdef checks from space_buttons.c for the py header.

11 years agoLogic Editor:
Thomas Dinges [Fri, 30 Jul 2010 15:44:26 +0000 (15:44 +0000)]
Logic Editor:
*Removed the old header menu code, replacing with Python menus.

11 years agoUi Scripts:
Thomas Dinges [Fri, 30 Jul 2010 14:56:17 +0000 (14:56 +0000)]
Ui Scripts:
* Made a "View" Menu in the Text Editor, these settings don't belong into a "Text" Menu.
* Added "Properties" Operator into the VSE "View" menu.

11 years agoFix #23086: crash reading 1bit tiff files.
Brecht Van Lommel [Fri, 30 Jul 2010 13:31:22 +0000 (13:31 +0000)]
Fix #23086: crash reading 1bit tiff files.

11 years agobugfix [#23105] Scene strips renders out darker (no gamma corection?)
Campbell Barton [Fri, 30 Jul 2010 11:55:41 +0000 (11:55 +0000)]
bugfix [#23105] Scene strips renders out darker (no gamma corection?)

11 years ago2.5: remove vertex normal flip option, this is more harmful than helpful
Brecht Van Lommel [Fri, 30 Jul 2010 11:50:00 +0000 (11:50 +0000)]
2.5: remove vertex normal flip option, this is more harmful than helpful
in many cases, and also gave incorrect rim lighting.

11 years agobugfix [#23106] Blender crashes (segfault) when scene strip file is missing
Campbell Barton [Fri, 30 Jul 2010 11:40:23 +0000 (11:40 +0000)]
bugfix [#23106] Blender crashes (segfault) when scene strip file is missing

11 years agobugfix [#23104] Crash when console: <SpaceView3D object>.local_view. autocomplete
Campbell Barton [Fri, 30 Jul 2010 11:19:41 +0000 (11:19 +0000)]
bugfix [#23104] Crash when console: <SpaceView3D object>.local_view. autocomplete

11 years agoFix #23103:
Brecht Van Lommel [Fri, 30 Jul 2010 10:44:00 +0000 (10:44 +0000)]
Fix #23103:
* missing glsl update when changing color management setting
* disable glsl lamps only when disabling them for render

11 years agoRevert [#23093] Curve -> CurveMapping in brush. Don't use camel case for
Brecht Van Lommel [Fri, 30 Jul 2010 09:32:21 +0000 (09:32 +0000)]
Revert [#23093] Curve -> CurveMapping in brush. Don't use camel case for
UI text, and this makes it inconsistent with the property name too, Curve
is just fine...

11 years agobugfix [#20038] Vertex path selection not working in Vertex/Face mode
Campbell Barton [Fri, 30 Jul 2010 08:43:22 +0000 (08:43 +0000)]
bugfix [#20038] Vertex path selection not working in Vertex/Face mode
- disable this tool if edge mode isnt enabled using its poll function. Also fixed a bug where it would de-select the last active edge.
- made view3d grid drawing use GL_LINES's for less context switching.

11 years agobugfix [#22660] Text Boxes properties are not animateable.
Campbell Barton [Fri, 30 Jul 2010 06:48:18 +0000 (06:48 +0000)]
bugfix [#22660] Text Boxes properties are not animateable.
suggestion [#23093] Curve -> CurveMapping in brush...

11 years agobugfix [#22859] Multi-user images cant be made into single user in texure panel.
Campbell Barton [Fri, 30 Jul 2010 06:09:23 +0000 (06:09 +0000)]
bugfix [#22859] Multi-user images cant be made into single user in texure panel.
turns out this isnt exactly a bug since support was never written for this but may as well support it.
now rna/py can do image.copy() too.

11 years agoFixing a typo in the BGE Python API:
Mitchell Stokes [Fri, 30 Jul 2010 04:57:27 +0000 (04:57 +0000)]
Fixing a typo in the BGE Python API:
  BL_ArmatureChannel.rotaion_euler -> BL_ArmatureChannel.rotation_euler

Making the docs match the code:
  BL_ArmatureChannel.rotation -> BL_ArmatureChannel.rotation_quaternion
  BL_ArmatureChannel.euler_rotation -> BL_ArmatureChannel.rotation_euler

11 years ago3 duplicate functions: bone_flip_name() object_flip_name() flip_side_name()
Campbell Barton [Fri, 30 Jul 2010 01:13:07 +0000 (01:13 +0000)]
3 duplicate functions: bone_flip_name() object_flip_name() flip_side_name()
removed object_flip_name() & bone_flip_name(), use flip_side_name()

11 years agopatch [#23060] ColorRamp python access functions
Campbell Barton [Fri, 30 Jul 2010 00:20:05 +0000 (00:20 +0000)]
patch [#23060] ColorRamp python access functions
from Dan Eicher (dna)
 elem =

- Modified the patch to make generic functions for adding and removing (inline code was in 3 different places)

11 years agoPreview commit in sculpt brushes broke resetting curves in other areas (rgb curves...
Matt Ebb [Fri, 30 Jul 2010 00:06:59 +0000 (00:06 +0000)]
Preview commit in sculpt brushes broke resetting curves in other areas (rgb curves etc).

Fixed by adding a 'slope' parameter to curvemap_reset() to mirror curve presets around Y axis.

Also removed curve preset with 'random' icon, wasn't doing what it looked like it should,
this was intended only for hue correct node anyway.

11 years agopatch [#23088] 2.5 Text Editor: Preserve indentation with spaces
Campbell Barton [Thu, 29 Jul 2010 22:34:46 +0000 (22:34 +0000)]
patch [#23088] 2.5 Text Editor: Preserve indentation with spaces
from Fabian Fricke (frigi)

11 years agoFix make/darwin build, was not updated for moved bin/ directory.
Brecht Van Lommel [Thu, 29 Jul 2010 13:04:20 +0000 (13:04 +0000)]
Fix make/darwin build, was not updated for moved bin/ directory.

11 years agoFix for error while weight painting:
Campbell Barton [Thu, 29 Jul 2010 12:16:15 +0000 (12:16 +0000)]
Fix for error while weight painting:
 RNA_boolean_get: OperatorStrokeElement.flip not found.

flip was renamed to pen_flip but not updated everywhere.

11 years agobugfix [#21093] Alt-arrowkey 'Swap Strips' confused
Campbell Barton [Thu, 29 Jul 2010 11:47:00 +0000 (11:47 +0000)]
bugfix [#21093] Alt-arrowkey 'Swap Strips' confused

11 years agoFix #23073: glsl and 3d view background color didn't take color managment into
Brecht Van Lommel [Thu, 29 Jul 2010 10:09:20 +0000 (10:09 +0000)]
Fix #23073: glsl and 3d view background color didn't take color managment into
account yet, should now be consistent with render.

11 years agoFix weird colours in areas of high transmission when camera inside a volume.
Matt Ebb [Thu, 29 Jul 2010 07:22:43 +0000 (07:22 +0000)]
Fix weird colours in areas of high transmission when camera inside a volume.

11 years agoAdded back modal keymap items for view manipulation mode switching in
Matt Ebb [Thu, 29 Jul 2010 07:21:57 +0000 (07:21 +0000)]
Added back modal keymap items for view manipulation mode switching in
zoom/pan, so they can be added in customisation. Not sure why these were removed.

11 years ago== Sculpt ==
Nicholas Bishop [Thu, 29 Jul 2010 05:16:42 +0000 (05:16 +0000)]
== Sculpt ==

* Changed rotation brush to not scale down the rotation angle; easier to control this way (and works the same as anchored brush rotation.)

Note: rotate brush seems to work much better with USE_ORIGINAL_NORMAL, this should probably be made the default, if not forced on.

11 years agoFixed some potential memory corruption
Nicholas Bishop [Thu, 29 Jul 2010 02:29:32 +0000 (02:29 +0000)]
Fixed some potential memory corruption

11 years agobugfix [#23062] Resolve conflict button in text editor dissappers in Blener 2.5 beta...
Campbell Barton [Thu, 29 Jul 2010 00:44:53 +0000 (00:44 +0000)]
bugfix [#23062] Resolve conflict button in text editor dissappers in Blener 2.5 beta release
also uncommented console some code for testing by mistake & remove warning.

11 years agobugfix [#23075] Point clouds invisible with VBOs
Campbell Barton [Thu, 29 Jul 2010 00:06:22 +0000 (00:06 +0000)]
bugfix [#23075] Point clouds invisible with VBOs

11 years agominor changes to r30843
Campbell Barton [Wed, 28 Jul 2010 23:24:17 +0000 (23:24 +0000)]
minor changes to r30843
- the __main__ modules namespace was initialized cleanly but left dirty, now restore when finished executing a script incase a module uses this later.
- made the interactive console use the __main__ modules namespace.

11 years ago* for win64 fftw3 support is already enabled by default, doing so also for win32.
Nathan Letwory [Wed, 28 Jul 2010 17:08:24 +0000 (17:08 +0000)]
* for win64 fftw3 support is already enabled by default, doing so also for win32.

11 years agoFix #23071: making vertex parent not correct with subsurf modifier, now it
Brecht Van Lommel [Wed, 28 Jul 2010 16:47:12 +0000 (16:47 +0000)]
Fix #23071: making vertex parent not correct with subsurf modifier, now it
also uses the final derivedmesh for the coordinates in edit mode.

11 years agobugfix [#23065] Pickle can not dump instances of user defined classes
Campbell Barton [Wed, 28 Jul 2010 16:26:42 +0000 (16:26 +0000)]
bugfix [#23065] Pickle can not dump instances of user defined classes
- __import__("__main__").__dict__ will now always match the current scripts namespace. (which is what pickle expects).
- __builtins__ as a module rather then a dict from PyEval_GetBuiltins() acts slightly differently, use the module to follow python.

11 years agoFix #22959: uv selection mode was not initialized correctly for new scenes.
Brecht Van Lommel [Wed, 28 Jul 2010 13:19:02 +0000 (13:19 +0000)]
Fix #22959: uv selection mode was not initialized correctly for new scenes.

11 years agoFix #22996: switching scenes did not exit editmode, meaning changes
Brecht Van Lommel [Wed, 28 Jul 2010 13:15:29 +0000 (13:15 +0000)]
Fix #22996: switching scenes did not exit editmode, meaning changes
made were not visible in the other scene in object mode.

11 years agoAudaspace Refactor:
Joerg Mueller [Wed, 28 Jul 2010 12:43:59 +0000 (12:43 +0000)]
Audaspace Refactor:

* Removed whole Capabilities System
* Fixed Py API error strings
* Improved some Py API properties
* Minor other changes

11 years agofix for running rna subclasses own __init__ functions.
Campbell Barton [Wed, 28 Jul 2010 12:11:40 +0000 (12:11 +0000)]
fix for running rna subclasses own __init__ functions.
- exceptions in the __init__ functions were not being checked for and segfaulting
- avoid creating a new BPy_StructRNA instance per function call, use the existing one if the type matches.

11 years agoFix #22964: incorrect derivatives for global texture coordinates, showed up as
Brecht Van Lommel [Wed, 28 Jul 2010 11:10:56 +0000 (11:10 +0000)]
Fix #22964: incorrect derivatives for global texture coordinates, showed up as
artifacts in bump mapping.

11 years agoAudaspace: HUGE Refactor.
Joerg Mueller [Wed, 28 Jul 2010 09:36:03 +0000 (09:36 +0000)]
Audaspace: HUGE Refactor.

Some points of the refactor not sorted by importance:

* Fixed immutability of readers and factories (there are exceptions...)
* Fixed copy constructors and = operators
* Removed messaging system
* Removed reader types
* Added const where possible
* Using initalisers when possible
* Avoided use of pointers when possible
* Removed AUD_NEW and AUD_DELETE macros
* Removed useless NULL pointer checks
* Fixed exception catching
* Fixed some yet unknown bugs
* Lots of other stuff

11 years agoAssorted small volume render related fixes.
Matt Ebb [Wed, 28 Jul 2010 08:06:46 +0000 (08:06 +0000)]
Assorted small volume render related fixes.

11 years agoFix [#22197] empty XYZ text size changing according to distance from origin
Matt Ebb [Wed, 28 Jul 2010 08:05:39 +0000 (08:05 +0000)]
Fix [#22197] empty XYZ text size changing according to distance from origin

Partial revert for commit r 27946

Empty/axis xyz text is now purely aligned to object space. Previous 3d view matrix manipulation
stuff that I added wasn't correct, and causing more problems than it solved. Perhaps someone
can tweak this later to be fixed size/screen aligned, but for now this is less annoying.

11 years agosequencer ui
Campbell Barton [Wed, 28 Jul 2010 07:52:05 +0000 (07:52 +0000)]
sequencer ui
- opacity seq button was messed up.
- only show opengl preview option in preview window.

11 years agofix for un-initialized memory use with thumb's & minor internal improvement for bpy...
Campbell Barton [Wed, 28 Jul 2010 07:37:24 +0000 (07:37 +0000)]
fix for un-initialized memory use with thumb's & minor internal improvement for bpy.utils.clean_name()

11 years ago* moved Threaded Sculpt, Fast Navigate, and Show Brush back to Sculpt Options panel...
Jason Wilkins [Wed, 28 Jul 2010 07:19:54 +0000 (07:19 +0000)]
* moved Threaded Sculpt, Fast Navigate, and Show Brush back to Sculpt Options panel until they are properly moved in memory to the corresponding places they were in the UI.

Fast Navigate apparently needs to be made an option of the multires modifier

Threaded Sculpt and Show Brush need to be made UserPrefs

Some of these options were removed form UserPref panel without placing them anywhere else in the interface so this commit at least puts them somewhere so they can be used.

11 years agobugfix [#23053] Blender crashes when adding image as a strip
Campbell Barton [Wed, 28 Jul 2010 07:00:40 +0000 (07:00 +0000)]
bugfix [#23053] Blender crashes when adding image as a strip
buffer overrun when copying image name.

11 years agobugfix [#23055] transforms with proportional fall off affect hidden vertices in certa...
Campbell Barton [Wed, 28 Jul 2010 05:47:46 +0000 (05:47 +0000)]
bugfix [#23055] transforms with proportional fall off affect hidden vertices in certain situations
faces were not being checked if they were hidden before adding their internal edges for connected proportional editing.

11 years agobugfix [#23052] New Bracket Highlighting Patch Causes Seg Fault [Patch to fix attached]
Campbell Barton [Tue, 27 Jul 2010 19:22:23 +0000 (19:22 +0000)]
bugfix [#23052] New Bracket Highlighting Patch Causes Seg Fault [Patch to fix attached]
by Justin Dailey (dail) for bracket highlight patch from yesterday.

11 years agoSmoke:
Daniel Genrich [Tue, 27 Jul 2010 16:18:12 +0000 (16:18 +0000)]
- Bugfix for using uninitalised velocity in case of PART_PHYS_NO (reported by MiikaH)

11 years ago== Sculpt ==
Nicholas Bishop [Tue, 27 Jul 2010 16:09:02 +0000 (16:09 +0000)]
== Sculpt ==

Added a brush reset operator so that a user won't need to reload the default blend to get back default brush settings

* New brush.reset operator, resets a brush based on the currently-selected tool
* Added UI button in the tools panel

* Only resets sculpt brushes right now, other paint modes should be added
* Sculpt polish tool exists only as a Brush, not as a tool; I'd suggest we make it a tool so it can be reset to defaults too

11 years agoSmoke:
Daniel Genrich [Tue, 27 Jul 2010 15:33:21 +0000 (15:33 +0000)]
- Fix typo in tooltip
- Add timeframe independand timesteps

11 years agoFluid: Fix empty named fluid particle system; Smoke: Fix typo
Daniel Genrich [Tue, 27 Jul 2010 15:04:50 +0000 (15:04 +0000)]
Fluid: Fix empty named fluid particle system; Smoke: Fix typo

11 years agoSmoke Patch + additions: a) Applying patch #22765 by Miika Hämäläinen (domain border...
Daniel Genrich [Tue, 27 Jul 2010 14:53:20 +0000 (14:53 +0000)]
Smoke Patch + additions: a) Applying patch #22765 by Miika Hämäläinen (domain border collision settings, vorticity settings, time scale, non absolute density, smooth high res emitter, initial velocity multiplier, high res strength available to be set to 0), b) Additions by me: --Initial velocity is now per flow object, not per domain; --Using boundingbox as standard display mode for domains (was wire before); --When adding a flow object, an initial nice SmokeParticle system is added too with nice initial settings (life=1, no_render, unborn, etc) fitting smoke simulation; --Adaptive timesteps introduced to the smoke sim (depending on the magnitude of the velocity) because it was quite unstable when used for fire simulations, still needs to be tested and will also slow down some simulations.

11 years agoFix #22875: image browser crashes on true colour jpg. The skip_input_data
Brecht Van Lommel [Tue, 27 Jul 2010 14:40:48 +0000 (14:40 +0000)]
Fix #22875: image browser crashes on true colour jpg. The skip_input_data
callback was not correct, modified now to based on jpeg_mem_src as included
with libjpeg.

11 years agoFix #22950: width of a layout object does not propagate to its sub-layout
Brecht Van Lommel [Tue, 27 Jul 2010 12:11:25 +0000 (12:11 +0000)]
Fix #22950: width of a layout object does not propagate to its sub-layout
objects (row, column, box, etc.). Patch by Tamito Kajiyama, thanks!

11 years agoFix #22673: crash with solidify + subsurf + array modifier in edit mode.
Brecht Van Lommel [Tue, 27 Jul 2010 12:01:40 +0000 (12:01 +0000)]
Fix #22673: crash with solidify + subsurf + array modifier in edit mode.

11 years agoFix #22986: glsl didn't take object hiding into account yet for lamps.
Brecht Van Lommel [Tue, 27 Jul 2010 11:10:34 +0000 (11:10 +0000)]
Fix #22986: glsl didn't take object hiding into account yet for lamps.

11 years agoGame engine was not updated yet to disable vertex/normal state on exit as
Brecht Van Lommel [Tue, 27 Jul 2010 11:07:34 +0000 (11:07 +0000)]
Game engine was not updated yet to disable vertex/normal state on exit as
other parts of Blender expect, might have caused issues with VBO's in some

11 years agoFix part of bug #23042: unnecessary texture preview re-render on changing
Brecht Van Lommel [Tue, 27 Jul 2010 10:31:22 +0000 (10:31 +0000)]
Fix part of bug #23042: unnecessary texture preview re-render on changing
brush properties.

11 years agoFix #23044: sculpted mesh not updated in object mode with VBO's enabled.
Brecht Van Lommel [Tue, 27 Jul 2010 10:27:08 +0000 (10:27 +0000)]
Fix #23044: sculpted mesh not updated in object mode with VBO's enabled.

11 years agoFix #23014: 3d view pivot point default was bounding box instead of
Brecht Van Lommel [Tue, 27 Jul 2010 10:06:43 +0000 (10:06 +0000)]
Fix #23014: 3d view pivot point default was bounding box instead of
median point as in 2.4x.

11 years agobugfix [#23046] export obj "selection only" issue
Campbell Barton [Tue, 27 Jul 2010 10:00:34 +0000 (10:00 +0000)]
bugfix [#23046] export obj "selection only" issue

11 years agoBugfix #23000: AnimData on Meshes not saved (and loaded)
Joshua Leung [Tue, 27 Jul 2010 06:06:36 +0000 (06:06 +0000)]
Bugfix #23000: AnimData on Meshes not saved (and loaded)

* Animation data for meshes wasn't getting saved at all (the linked actions were, but that doesn't really count)
* Lib-linked actions from other files may not load correctly too

11 years agoDammit to whoever removed the X-Ray button AGAIN from the armature buttons. I remembe...
Joshua Leung [Tue, 27 Jul 2010 05:53:29 +0000 (05:53 +0000)]
Dammit to whoever removed the X-Ray button AGAIN from the armature buttons. I remember specifically restoring this a few months ago, but it seems to have gone missing again.

Despite the overlap with Object draw settings, this is a one-off setting that you'll end up turning on/off quickly while working with armatures and is also more conveniently set while chosing armature drawtypes (than jumping back to object buttons).


11 years agobugfix [#21754] Smooth view + repeeted view orbit results in slow orbiting.
Campbell Barton [Tue, 27 Jul 2010 04:56:24 +0000 (04:56 +0000)]
bugfix [#21754] Smooth view + repeeted view orbit results in slow orbiting.
- original quat was not assigned yet so never gave a good result.
- quat angle comparison as vector is wrong.

11 years agobugfix [#22027] Group disappears in render after adding a group instance
Campbell Barton [Tue, 27 Jul 2010 04:02:09 +0000 (04:02 +0000)]
bugfix [#22027] Group disappears in render after adding a group instance

11 years agobugfix [#21407] 3DS Import do not show import options (resizing\transform fix)
Campbell Barton [Tue, 27 Jul 2010 02:41:30 +0000 (02:41 +0000)]
bugfix [#21407] 3DS Import do not show import options (resizing\transform fix)

11 years ago[#22274] Special chars = 2 characters
Campbell Barton [Tue, 27 Jul 2010 01:20:24 +0000 (01:20 +0000)]
[#22274] Special chars = 2 characters
workaround, just remove utf from number strings until we have proper UTF editing.

11 years agobugfix [#22605] Context auto-compleate fails first time
Campbell Barton [Tue, 27 Jul 2010 00:38:00 +0000 (00:38 +0000)]
bugfix [#22605] Context auto-compleate fails first time

11 years agoJason, from your merge 30325.
Campbell Barton [Mon, 26 Jul 2010 23:49:23 +0000 (23:49 +0000)]
Jason, from your merge 30325.

move toolsettings out of the userprefs into the sculpt menu, if these should be userprefs then they should be moved into that struct.

11 years ago* Partially revert r30763, where PROP_IMAGEPATH was added.
Nicholas Bishop [Mon, 26 Jul 2010 23:40:46 +0000 (23:40 +0000)]
* Partially revert r30763, where PROP_IMAGEPATH was added.
* Brush icon property back to not using image browser until a better solution is decided on.

11 years agopatch [#23041] CMake WITH_PYTHON_INSTALL option
Campbell Barton [Mon, 26 Jul 2010 23:16:21 +0000 (23:16 +0000)]
patch [#23041] CMake WITH_PYTHON_INSTALL option
from Dan Eicher (dna)

--- snip ---
Adds the option to not copy python into the .blender/python directory.

Also fixes the problem of deleting the blender installed python where the blender runtime only looks for the copied python and not the system one but not entirely sure why, something to do with CMake hardcoding the PYTHONPATH and PYTHONHOME vars I suppose.

This patch only applies to the 'UNIX AND NOT APPLE' platforms but, then again, those are the only ones anyone really
cares about...or at least the only ones where using the system python is really viable.

11 years agobugfix [#22832] ctrl+shift+a on linked in group which is in a group makes outline...
Campbell Barton [Mon, 26 Jul 2010 22:33:58 +0000 (22:33 +0000)]
bugfix [#22832] ctrl+shift+a on linked in group which is in a group makes outline green

11 years ago== node editor ==
Luca Bonavita [Mon, 26 Jul 2010 21:37:55 +0000 (21:37 +0000)]
== node editor ==

- added backdrop commands in the view menu
  I couldnt finf them in the menus and also liquidape asked for them

- added cut links command in menu, since also this one wasnt thast obvious (now it's ctrl-drag)

- micro patch reviewed by jesterKing

11 years agopatch [#22901] pixel- and aspectratio corrected camera representation in 3dview
Campbell Barton [Mon, 26 Jul 2010 21:35:24 +0000 (21:35 +0000)]
patch [#22901] pixel- and aspectratio corrected camera representation in 3dview
from Ralf Hölzemer (cheleb) with my own edits to make the selected camera more clear in the camera view, this also works around the problem where you cant see the camera to select it with passepartout close to 1.0.

--- snip ---
Attached patch changes the camera representation to draw pixel- and aspectratio corrected in 3dview. It does also fix
a little issue where the camera name would jump when the title save would be (de)activated in the camera view.

11 years ago* Fix: CPU usage was going way up because some WM_main_add_notifier functions that...
Jason Wilkins [Mon, 26 Jul 2010 20:42:50 +0000 (20:42 +0000)]
* Fix: CPU usage was going way up because some WM_main_add_notifier functions that I thought were commented out somehow became active again.

11 years ago* removing code meant for debugging
Jason Wilkins [Mon, 26 Jul 2010 20:17:21 +0000 (20:17 +0000)]
* removing code meant for debugging

11 years agoSaved a call to 'brush_alpha'
Jason Wilkins [Mon, 26 Jul 2010 20:05:08 +0000 (20:05 +0000)]
Saved a call to 'brush_alpha'

11 years agopatch [#23039] cmake install taget fix for brush icons on linux
Campbell Barton [Mon, 26 Jul 2010 19:59:33 +0000 (19:59 +0000)]
patch [#23039] cmake install taget fix for brush icons on linux
from Ralf Hölzemer (cheleb)

11 years agopatch from Roelf De Kock (kiemdoder), removes redundant values from the snapquats...
Campbell Barton [Mon, 26 Jul 2010 19:57:44 +0000 (19:57 +0000)]
patch from Roelf De Kock (kiemdoder), removes redundant values from the snapquats[] array.

11 years agobugfix [#22985] dope sheet crashes Blender 2.5 Beta
Campbell Barton [Mon, 26 Jul 2010 19:48:35 +0000 (19:48 +0000)]
bugfix [#22985] dope sheet crashes Blender 2.5 Beta

11 years agoFix: Overlay should draw areas that will be affected transparently and areas that...
Jason Wilkins [Mon, 26 Jul 2010 19:29:21 +0000 (19:29 +0000)]
Fix: Overlay should draw areas that will be affected transparently and areas that will not be effected opaquely.

11 years agoCurve shape keys:
Sergey Sharybin [Mon, 26 Jul 2010 19:07:33 +0000 (19:07 +0000)]
Curve shape keys:

- Fixed incorrect working of "from mix" insert keyblock operator property
  shapekey coordinated are applying on curve's data when creating displist,
  so curve's nurbs can't be used as unchanged data -- use basis keyblock data instead

- Fixed tilt damaging when loading editcurve -- made a typo in array indexes

11 years agobugfix [#23038] View rotation snap has left and right view names swapped arround.
Campbell Barton [Mon, 26 Jul 2010 19:00:15 +0000 (19:00 +0000)]
bugfix [#23038] View rotation snap has left and right view names swapped arround.
also noticed some spelling errors.

11 years ago[#23033] Unindent after continue statement in Text Space [Patch to fix attached]
Campbell Barton [Mon, 26 Jul 2010 18:50:38 +0000 (18:50 +0000)]
[#23033] Unindent after continue statement in Text Space [Patch to fix attached]
from Justin Dailey (dail)

from the tracker
--- snip ---
In the text space after the python commands return, break, pass or yeild and hitting "Enter" for a new line,
it unindents 1 tab. However it does not do this for the continue statement.

11 years ago[#23032] Bracket Highlighting in Text Space Fix [Patch to fix attached]
Campbell Barton [Mon, 26 Jul 2010 18:38:12 +0000 (18:38 +0000)]
[#23032] Bracket Highlighting in Text Space Fix [Patch to fix attached]
from Justin Dailey (dail)

 from the tracker
 --- snip ---

In the text editor doing something like this:


When it goes to match the closing bracket, it will highlight the one in the string, not the first one. Also doing:


will cause it to match the second [ with the closing one.

I have attached a patch to fix this issue. (See attached image to see correct highlighting)
It also works with triple quotes strings(ie """...""" or '''...''')

*Note* However, originally bracket highlighting always on even if syntax highlighting is off. The patch makes it so
it only highlights brackets when syntax highlighting is on (this is a side effect of doing the code this way, if it
was done any other way ALOT of code would have been needed to check for strings,triple quoted strings, escaped quotes,
and comments forwards and backwards). When highlighting matching brackets, the code checks the line's format string
to see if the char is in a string or comment to skip it. If syntax highlighting is turned off, the format string is
null and cannot be used,thus no bracket highlighting.

11 years ago* Added a new RNA subtype, PROP_IMAGEPATH. It's the same as PROP_FILEPATH, but for...
Nicholas Bishop [Mon, 26 Jul 2010 18:37:47 +0000 (18:37 +0000)]
* Added a new RNA subtype, PROP_IMAGEPATH. It's the same as PROP_FILEPATH, but for images only.
* Changed UI code to display image browser for PROP_IMAGEPATH
* Set the icon_filepath RNA property for brushes to use PROP_IMAGEPATH
* Changed preview icon drawing to ignore unset icons
* Fixed const warnings in brush RNA

11 years ago[#23035] Obj export crash
Campbell Barton [Mon, 26 Jul 2010 18:32:22 +0000 (18:32 +0000)]
[#23035] Obj export crash
check for an active object before switching modes.

11 years ago[#23008] Wrong numbers in Edge Length
Campbell Barton [Mon, 26 Jul 2010 18:20:20 +0000 (18:20 +0000)]
[#23008] Wrong numbers in Edge Length
- tooltips didnt say how to get global values.
- save a vector addition per vertex when drawing stats by using mul_mat3_m4_v3() instead of mul_m4_v3()

11 years agoHopefully fix building with MSVC 2008 from rev 30746.
Campbell Barton [Mon, 26 Jul 2010 17:46:10 +0000 (17:46 +0000)]
Hopefully fix building with MSVC 2008 from rev 30746.

SCA_PythonController.cpp(303) : error C2133: 'mod_path' : unknown size

11 years agoFix #22749: texture view mapping for spot lamps wasn't doing perspective
Brecht Van Lommel [Mon, 26 Jul 2010 14:46:16 +0000 (14:46 +0000)]
Fix #22749: texture view mapping for spot lamps wasn't doing perspective
division, giving incorrect projection.

11 years agomove directories:
Campbell Barton [Mon, 26 Jul 2010 11:47:33 +0000 (11:47 +0000)]
move directories:
 dlltool --> build_files/make/dlltool
 bin --> release/bin

Since dlltool is only used make + mingw and ./bin is misleading because it would seem the blender binary would be copied there, but its just used for home directory files.

updated scons/cmake/make

11 years agoAudaspace Py API:
Joerg Mueller [Mon, 26 Jul 2010 11:17:43 +0000 (11:17 +0000)]
Audaspace Py API:
* Renamed get_c_device() to device()
* Made the threshold parameter of Sound.square() optional
* Added a sample rate parameter for Sound.sine()
* Example updates

11 years ago[#22846] GCC 4.4.1 support in Windows
Sergey Sharybin [Mon, 26 Jul 2010 10:41:26 +0000 (10:41 +0000)]
[#22846] GCC 4.4.1 support in Windows

In this commit i've fixed crash when opening file browser. This crash was caused
by different _stat structures size in storage.c and filelist.c (because of force
setting __MSVCRT_VERSION__ in storage.c), other errors from report
were fixed earlier.

I've used _stati64 strcutrure and functions and tested on official
mingw-gcc 3.4.5, official mingw-gcc 4.4.0, tdm-mingw-gcc 4.4.1,
cross mingw-gcc 4.4.4 and cross mingw-gcc 4.2.1-sjlj -- everything was
ok in  this configurations (except openexr and opencollada libraries which
requires sjlj compiler, so i was unable to build blender with that
libraries by official mingw-gcc 4.4.0)

11 years agoFix for [#22073] Particle Emit From Volume Button No Different Than Emit From Faces...
Janne Karhu [Mon, 26 Jul 2010 10:31:51 +0000 (10:31 +0000)]
Fix for [#22073] Particle Emit From Volume Button No Different Than Emit From Faces Button

11 years agoAdd missing banner for installer.
Nathan Letwory [Mon, 26 Jul 2010 10:30:59 +0000 (10:30 +0000)]
Add missing banner for installer.

11 years agoAudaspace Py API:
Joerg Mueller [Mon, 26 Jul 2010 09:29:36 +0000 (09:29 +0000)]
Audaspace Py API:
* Renaming superpose and double to mix and join
* Making most of the static methods of Sound normal ones
* Minor documentation fixes

11 years agoin debug mode report the time to load addon modules.
Campbell Barton [Mon, 26 Jul 2010 09:09:53 +0000 (09:09 +0000)]
in debug mode report the time to load addon modules.

11 years agopatch from Mitchell Stokes with some changes.
Campbell Barton [Mon, 26 Jul 2010 08:49:16 +0000 (08:49 +0000)]
patch from Mitchell Stokes with some changes.
BGE Py Controllers were effectively doing this...
 "a.b.c" --> "__import__('a').b.c()"

This was annoying because it meant module 'a' would need to import 'b' explicitly.

Now use import like this.
 "a.b.c" --> "__import__("a.b").c()"

Note that this has the slight disadvantage that these need to be modules, where as before they could be collections of functions in a class instance for eg. So its possible this breaks existing files but dont think anyone used this since its a fairly obscure use case.

11 years agoreplace macros VECCOPY and QUATCOPY with inline math functions no functional changes
Campbell Barton [Mon, 26 Jul 2010 06:34:56 +0000 (06:34 +0000)]
replace macros VECCOPY and QUATCOPY with inline math functions no functional changes
also replace mul_m4_v3() with mul_v3_m4v3() in a few places.