12 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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 years agosvn merge -r22701:22704
Campbell Barton [Sat, 22 Aug 2009 14:23:54 +0000 (14:23 +0000)]
svn merge -r22701:22704

12 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.

12 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.

12 years agosvn merge -r22668:22701
Campbell Barton [Sat, 22 Aug 2009 10:57:07 +0000 (10:57 +0000)]
svn merge -r22668:22701

12 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++

12 years agoTiny User Prefs tweaks. Also put the Save As Default button in header so it stays...
William Reynish [Sat, 22 Aug 2009 09:21:08 +0000 (09:21 +0000)]
Tiny User Prefs tweaks. Also put the Save As Default button in header so it stays put.

12 years agouse '' for enums rather then ""
Campbell Barton [Sat, 22 Aug 2009 08:48:01 +0000 (08:48 +0000)]
use '' for enums rather then ""

12 years ago2.5 MSVC projectfiles maintenance
Andrea Weikert [Sat, 22 Aug 2009 08:35:39 +0000 (08:35 +0000)]
2.5 MSVC projectfiles maintenance
* AUD_filefactory added.
* imbuf added to RNA include dirs.

12 years agoAdded extra padding for OS X at the top of the screen when opening user prefs. The...
William Reynish [Sat, 22 Aug 2009 08:06:54 +0000 (08:06 +0000)]
Added extra padding for OS X at the top of the screen when opening user prefs. The window header was still getting clipped slightly behind the menu bar.

12 years agoremove -Wnested-externs warning for CMake/unix, since this is used a lot, if we want...
Campbell Barton [Sat, 22 Aug 2009 05:46:03 +0000 (05:46 +0000)]
remove -Wnested-externs warning for CMake/unix, since this is used a lot, if we want to remove it can be re-enabled.
fix view3d python errors with no object/edit object.

12 years agoHook Modifier Bugfixes:
Joshua Leung [Sat, 22 Aug 2009 04:11:17 +0000 (04:11 +0000)]
Hook Modifier Bugfixes:

Fixed some typos made in previous commit. Hook Modifier should now work correctly again (and also for newly added Hook relationships)

* To add a hook, you currently need to perform the following steps
1) add modifier from menu (no operator in EditMode)
2) specify the object (and/or bone to use as the hook target)
3a) in EditMode, select the vertices you wish to be affected by the hook, and press 'Assign'
3b) alternatively, fill in the vertex-group field for the Vertex Group which contains the vertices to be affected
4) press 'Reset' (to make sure hook will behave correctly)
5) optionally, also press 'Recenter' if the hook position isn't right...

* BUG ALERT (Brecht/Ton): it is impossible to clear the vertexgroup/bone fields once you have assigned some value. Doing backspace+enter (or any other variation) will always result in the first item in the search menu being used.

12 years ago2.5 - Timeline now updates correctly after keyframes have been edited
Joshua Leung [Sat, 22 Aug 2009 03:10:52 +0000 (03:10 +0000)]
2.5 - Timeline now updates correctly after keyframes have been edited

12 years ago2.5 - Code shuffling
Joshua Leung [Sat, 22 Aug 2009 02:53:14 +0000 (02:53 +0000)]
2.5 - Code shuffling

Moved WeightPaint/VertexPaint toggling hotkeys to the same place that the ones for PoseMode/EditMode are defined. This means that the hotkey for toggling PoseMode works again (instead of being overwritten by WeightPaint).

12 years ago2.5/Vertex paint:
Nicholas Bishop [Sat, 22 Aug 2009 02:27:37 +0000 (02:27 +0000)]
2.5/Vertex paint:

* Added operator for filling vertex colors with the brush color
* Pythonized the vertex paint menu

12 years ago2.5/Multires:
Nicholas Bishop [Sat, 22 Aug 2009 01:01:53 +0000 (01:01 +0000)]

* Disabled multires subdivide button in editmode (again)

SVN weirdness:
I already did this in r22447. Somehow it got changed back -- but I can't find any log of it getting reverted, either in my email or on p.b.o. This is extremely weird!

12 years agoAdded standard hotkeys for standard features like copying, cutting, pasting, saving...
William Reynish [Sat, 22 Aug 2009 00:19:24 +0000 (00:19 +0000)]
Added standard hotkeys for standard features like copying, cutting, pasting, saving, loading.

Save - Ctrl S / Cmd S
Save As - Ctrl+Shift S / Cmd+Shift S
Open - Ctrl O / Cmd O
Open Recent - Ctrl+Shift O / Cmd+Shift O
New File - Ctrl N / Cmd N

Copy- Ctrl+C / Cmd+C
Cut- Ctrl+C / Cmd+C
Paste- Ctrl+V / Cmd+V
Select text- Ctrl+A / Cmd+A

Repeat Last Op - Ctrl+R / Cmd+R
Render - Ctrl+Return / Cmd+Return
Render Animation- Shift+Ctrl+Return / Shift+Cmd+Return
User Preferences - Ctrl+Comma / Cmd+Comma
Changed the important search menu to Space key.

Old hotkeys are still preserved, at least for now.

12 years agoUpdate Makefiles for audaspace.
Diego Borghetti [Fri, 21 Aug 2009 22:56:26 +0000 (22:56 +0000)]
Update Makefiles for audaspace.

This add support for: sdl, ffmpeg, openal, jack and sndfile.
We have new options:
WITH_OPENAL, default false
WITH_JACK, default false
WITH_SNDFILE, default false

and with this:
NAN_OPENAL, default /usr

NAN_JACK, default /usr
NAN_JACKCFLAGS, default -I$(NAN_JACK)/include/jack
NAN_JACKLIBS, default $(NAN_JACK)/lib/libjack.a

NAN_SNDFILE, default /usr
NAN_SNDFILELIBS, default $(NAN_SNDFILE)/lib/libsndfile.

Also add two new option on source/Makefile for jack and sndfile libs,
but only for linux, so let me know for other OS.

12 years agoSVN maintenance.
Guillermo S. Romero [Fri, 21 Aug 2009 22:06:19 +0000 (22:06 +0000)]
SVN maintenance.

12 years agoAudio file loading backend libsndfile!
Joerg Mueller [Fri, 21 Aug 2009 19:39:28 +0000 (19:39 +0000)]
Audio file loading backend libsndfile!

12 years ago2.5 Multires:
Nicholas Bishop [Fri, 21 Aug 2009 18:35:40 +0000 (18:35 +0000)]
2.5 Multires:

* Fixed doing a simple subdivide, rather than Catmull-Clark. Note that the first subdivision will still appear to be CC rather than simple, this is a bug we just have to live with for now.

12 years ago2.5/Multires:
Nicholas Bishop [Fri, 21 Aug 2009 18:15:50 +0000 (18:15 +0000)]

* Fixed multires subdivision of a sculpted object. Accidentally broke this when I fixed removing a multires modifier.

12 years agoMaterial buttons tweaks
William Reynish [Fri, 21 Aug 2009 17:53:27 +0000 (17:53 +0000)]
Material buttons tweaks

-Made Mirror and Transparency panels more consistent.
-Improved greying out, and better communicated the fact that alpha settings do work even if Ztransp/Ray Transp are not enabled. The results of low alpha and no Ztransp/Ray Transp look weird though - is this supposed to be supported?
-Added Flare panel for halo.
-Improved SSS panel.

12 years ago2.5 Object mode:
Nicholas Bishop [Fri, 21 Aug 2009 17:35:35 +0000 (17:35 +0000)]
2.5 Object mode:

* Made object mode an enum, shows better in the debugger
* Added a toggle mode to the set object mode operator
* Toggling a mode on and off goes back to the previous mode, not just object mode
* Changed the vertex mode and weight mode shortcuts to call the toggle mode operator

12 years ago2.5: Animation playback without sync option was slightly slower
Brecht Van Lommel [Fri, 21 Aug 2009 16:28:49 +0000 (16:28 +0000)]
2.5: Animation playback without sync option was slightly slower
than expected time, even when it could keep up. Changed the WM
timer logic a bit to always target the next frame time exactly,

12 years ago2.5: Load UI is now an operator property, and a user preference to
Brecht Van Lommel [Fri, 21 Aug 2009 14:33:53 +0000 (14:33 +0000)]
2.5: Load UI is now an operator property, and a user preference to
define what the default is, just like file compression for saving.

12 years ago2.5: layout.itemO now returns OperatorProperties to be filled in,
Brecht Van Lommel [Fri, 21 Aug 2009 12:57:47 +0000 (12:57 +0000)]
2.5: layout.itemO now returns OperatorProperties to be filled in,
when passing properties=True as argument.

Other changes:
* uiItemR, uiItemFullR, uiItemFullO now accept a flag argument rather
  than multiple different "boolean" arguments, but still exposed as
  booleans to python.
* Fix RNA to support setting PROP_RNAPTR for return values.

12 years agobug fix #18982
Jens Ole Wund [Fri, 21 Aug 2009 12:49:21 +0000 (12:49 +0000)]
bug fix #18982
non mesh objects missing initializers

12 years ago2.5:
Thomas Dinges [Fri, 21 Aug 2009 11:52:20 +0000 (11:52 +0000)]

* Deleted Help scripts, there are now operators in

* Some code cleanup.

12 years agoAck... committed wrong file before (fortunately it was just a harmless comment added)
Joshua Leung [Fri, 21 Aug 2009 11:22:38 +0000 (11:22 +0000)]
Ack... committed wrong file before (fortunately it was just a harmless comment added)

12 years ago2.5 - 2 Bugfixes
Joshua Leung [Fri, 21 Aug 2009 11:04:33 +0000 (11:04 +0000)]
2.5 - 2 Bugfixes

* Alt-S in Object Mode would crash. Was caused by modal-keymaps for Pose Mode not being cleared when not in Pose Mode.
Also fixed what appears to have been a copy+paste error for Armature Sketching keymaps.

* Active KeyingSet menu in TimeLine header is now properly editable. Was using the wrong type of layout call to do this.

12 years agoHook Modifier - Bone Targets
Joshua Leung [Fri, 21 Aug 2009 10:47:27 +0000 (10:47 +0000)]
Hook Modifier - Bone Targets

Made Hook Modifier be able to use bone targets. However, I haven't been able to verify that everything will work perfectly, since just creating a new Hook Modifier and assigning targets doesn't set hmd->indexar correctly.

12 years agohave texture paint use the curve rather then the falloff setting (falloff gave ugly...
Campbell Barton [Fri, 21 Aug 2009 07:19:06 +0000 (07:19 +0000)]
have texture paint use the curve rather then the falloff setting (falloff gave ugly center area of 100% opacity)

12 years ago2.5/Paint:
Nicholas Bishop [Fri, 21 Aug 2009 06:23:38 +0000 (06:23 +0000)]

* Updated texture paint UI for stroke settings.
* Removed duplicate brush blend types, just use the ones defined in imbuf instead

12 years agosvn merge -r22625:22668
Campbell Barton [Fri, 21 Aug 2009 03:09:27 +0000 (03:09 +0000)]
svn merge -r22625:22668

needed this for 2.5 testing

12 years agofix for own bug added since 2.49a,
Campbell Barton [Fri, 21 Aug 2009 03:06:36 +0000 (03:06 +0000)]
fix for own bug added since 2.49a,
2.49a tries to remove the object from the conversion list every time. Now remove from the conversion list directly without being apart of the remove object function.

12 years ago2.5: Modifiers & Menus
Brecht Van Lommel [Fri, 21 Aug 2009 02:51:56 +0000 (02:51 +0000)]
2.5: Modifiers & Menus

* Popup menus now remember the last clicked item again.
* Modifier and File Format menus are now organized in multiple
  columns with categories.
* Hook, explode, uv project modifiers have all their buttons
  again with the relevant operators implemented.
* Modifiers that can't be added by the user, or don't work on
  curves for example, are not in the menu anymore.
* Fix search menu overlapping buttons when near the bottom of
  the screen.
* Fix uv layers search menu not working in some modifiers.
* Cleanup popup menu code a bit, layout engine is used in more
  cases now instead of ugly position calculation code.

12 years ago2.5 Paint:
Nicholas Bishop [Fri, 21 Aug 2009 00:46:36 +0000 (00:46 +0000)]
2.5 Paint:

* Added airbrush and airbrush rate options to paint stroke. Works for sculpt, vertex paint, and weight paint.

12 years agoView3D: shift+c center the view but no the cursor like 2.4x
Diego Borghetti [Thu, 20 Aug 2009 21:09:48 +0000 (21:09 +0000)]
View3D: shift+c center the view but no the cursor like 2.4x

Probably missing because is not inside view3d_home, it's in the main
winqreadview3dspace function.

12 years ago2.5 Paint:
Nicholas Bishop [Thu, 20 Aug 2009 19:46:53 +0000 (19:46 +0000)]
2.5 Paint:

* Evil backbuf drawing strikes again. In paint modes, it was causing the tool panel to flash black, bad glScissor.

12 years ago2.5 filebrowser
Andrea Weikert [Thu, 20 Aug 2009 18:39:25 +0000 (18:39 +0000)]
2.5 filebrowser
* code cleanup: remove duplication in drawing, join list and preview drawing

12 years agoAdd unsigned char buffer to BLF_draw_buffer and update makefiles for lzo and lzma.
Diego Borghetti [Thu, 20 Aug 2009 18:34:14 +0000 (18:34 +0000)]
Add unsigned char buffer to BLF_draw_buffer and update makefiles for lzo and lzma.

I rename the original makefile of lzo (Makefile.bak) and a new one.
Also four new option for
WITH_LZO, default true
WITH_LZMA, default true
NAN_LZO, default extern/lzo
NAN_LZMA, default extern/lzma

It's easy add support for system libs (using lzo and lzma from OS) but I don't
know if it have much sense.

Note that I can't test the "unsigned char" buffer because the OGL animation
is not working (right ?), but is the same code that for float also the new
Makefile work fine here (Linux), but maybe need some tweak on other OS.

12 years ago2.5 Texture RNA:
Thomas Dinges [Thu, 20 Aug 2009 17:59:37 +0000 (17:59 +0000)]
2.5 Texture RNA:
Distorted Noise: "Distortion" Flag was swapped with "Basis".
Reported by schuh in IRC. Thanks.

12 years ago2.5 Multires:
Nicholas Bishop [Thu, 20 Aug 2009 17:37:38 +0000 (17:37 +0000)]
2.5 Multires:

* Fixed a memory corruption bug when deleting a multiresmodifier, was hanging on to a bad pointer. Reported on IRC by lusque

12 years ago2.5 texture paint:
Nicholas Bishop [Thu, 20 Aug 2009 16:43:55 +0000 (16:43 +0000)]
2.5 texture paint:

* Little bugfix, was passing an invalid pointer

12 years ago2.5 Paint:
Nicholas Bishop [Thu, 20 Aug 2009 16:00:17 +0000 (16:00 +0000)]
2.5 Paint:

* Weight paint and vertex paint now use the same cursor setup as sculpt

12 years agochanged layout of PovRay radiosity panel to be more consistent with other render...
William Reynish [Thu, 20 Aug 2009 15:58:28 +0000 (15:58 +0000)]
changed layout of PovRay radiosity panel to be more consistent with other render panels

12 years ago2.5 weight paint:
Nicholas Bishop [Thu, 20 Aug 2009 15:25:12 +0000 (15:25 +0000)]
2.5 weight paint:

* Refactored weight paint to use the new stroke code, now does smooth stroke and stroke spacing.

Note: weight paint is failing to free it's MocNodes in 2.5, someone might want to look into that

12 years agoSwapped some icons in the node editor. The Render Layers menu was using wrong icon...
William Reynish [Thu, 20 Aug 2009 11:38:09 +0000 (11:38 +0000)]
Swapped some icons in the node editor. The Render Layers menu was using wrong icon, for example.

12 years agoupdate MSVC project files.
Benoit Bolsee [Thu, 20 Aug 2009 09:18:55 +0000 (09:18 +0000)]
update MSVC project files.

12 years agoSmoke:
Daniel Genrich [Thu, 20 Aug 2009 09:13:57 +0000 (09:13 +0000)]
* Fix for OpenGL domain scaling/rotating/translating reported by Wahooney

12 years agoSmoke:
Daniel Genrich [Thu, 20 Aug 2009 09:00:23 +0000 (09:00 +0000)]
* Fixing my fix for opengl GL_BLEND

12 years agoSmoke:
Daniel Genrich [Thu, 20 Aug 2009 08:59:09 +0000 (08:59 +0000)]
* Fix OpenGL drawing resulting (at least on windows) in missing panels when switching fullscreen + back

12 years ago2.5/Sculpt:
Nicholas Bishop [Thu, 20 Aug 2009 05:44:32 +0000 (05:44 +0000)]

* Fixed sculpt brush stroke exec (F4 operator)
* Made a generic paint stroke exec

12 years ago2.5/Paint:
Nicholas Bishop [Thu, 20 Aug 2009 05:13:07 +0000 (05:13 +0000)]

* Converted vertex paint to use the new stroke system. Now supports the same smooth stroke and stroke spacing as sculpt mode.
* Refactored the paint cursor a bit, just sculpt for now but other modes soon.
* A couple warning fixes

12 years agoFix Smoke:
Daniel Genrich [Thu, 20 Aug 2009 01:22:07 +0000 (01:22 +0000)]
Fix Smoke:
* Making it less verbose

12 years agoLZMA: Deleting unused bad files (bad for gcc)
Daniel Genrich [Thu, 20 Aug 2009 01:02:34 +0000 (01:02 +0000)]
LZMA: Deleting unused bad files (bad for gcc)

12 years ago* Library path fixes for win64
Matt Ebb [Thu, 20 Aug 2009 00:54:40 +0000 (00:54 +0000)]
* Library path fixes for win64

12 years agoFix Smoke:
Daniel Genrich [Thu, 20 Aug 2009 00:42:57 +0000 (00:42 +0000)]
Fix Smoke:
*totally forgot scons file for lzma

12 years agoFix Smoke #1:
Daniel Genrich [Thu, 20 Aug 2009 00:37:27 +0000 (00:37 +0000)]
Fix Smoke #1:
* compile error reported by nudelZ (static/nonstatic)

12 years agoSmoke:
Daniel Genrich [Thu, 20 Aug 2009 00:33:59 +0000 (00:33 +0000)]
* cache for low res (deactivating high res for now)
* new way of view3d rendering of smoke (no longer 3 axes) -using 3dtexture now (introduced into gpu/intern)
* introducing LZO and LZMA libs into extern (makefiles missing for now)
* reducing memory usage after simulating for the frame ended (freeing temporary buffers)
* splitting smoke into 2 modifier for the cache-sake (it cannot handle more than 1 cache on the same modifier-index)
* no color on gui anymore
* fixing non-power-of-2 resolutions (hopefully)
* fixing select-deselect of domain drawing bug
* fixing drawobject.c coding style (making Ton happy) ;-)

HINT #1: If scons doesn't work -> cmakefiles are up-to-date, couldn't test scons (but i tried to mantain them, too)

CODERS HINT #1: we really need a way to disable adding all modifiers through "Add Modifiers" dropdown!

WARNING #1: before applying this commit, deactivate your SMOKE DOMAIN in your old files and save them then. You can open them then savely after that.

WARNING #2: File and cache format of smoke can be changed, this is not final!

12 years ago2.5/Paint:
Nicholas Bishop [Wed, 19 Aug 2009 21:24:52 +0000 (21:24 +0000)]

* Some initial work on a new paint abstraction, PaintStroke. For now, most of the code just pulls out stroke-related stuff from sculpt mode, next step is to integrate the other paint modes to use this. It'll enable stuff like smooth stroke for all the paint modes with less code duplication.

12 years ago2.5/Multires:
Nicholas Bishop [Wed, 19 Aug 2009 16:49:21 +0000 (16:49 +0000)]

* Fixed saving most recent sculpting on a multires object. Uses the same hack already in place for saving that info for undo.

12 years agoMore texnode preview fixes. Previews now have correct aspect ratio and are drawn...
Robin Allen [Wed, 19 Aug 2009 15:45:16 +0000 (15:45 +0000)]
More texnode preview fixes. Previews now have correct aspect ratio and are drawn by the renderer.

12 years agotexture enum was crashing when generating docs, removed radiosity from makefiles.
Campbell Barton [Wed, 19 Aug 2009 14:04:21 +0000 (14:04 +0000)]
texture enum was crashing when generating docs, removed radiosity from makefiles.

12 years ago2.5: Restored statistics in the info header.
Brecht Van Lommel [Wed, 19 Aug 2009 12:35:40 +0000 (12:35 +0000)]
2.5: Restored statistics in the info header.

* NC_SCENE or NC_OBJECT cause scene->stats to be cleared.
* NC_INFO is sent to tag info headers for redraw.
* In UI scene.statistics() creates scene->stats if it is
  NULLd, and then returns the string.

12 years ago- fix for BGE warnings
Campbell Barton [Wed, 19 Aug 2009 10:26:43 +0000 (10:26 +0000)]
- fix for BGE warnings
- when C++ uses guardedalloc SYS_DeleteSystem was called after MEM_printmemlist(), making it look like there was a leak.

12 years ago2.5: svn merge -r22291:22625
Brecht Van Lommel [Wed, 19 Aug 2009 09:35:22 +0000 (09:35 +0000)]
2.5: svn merge -r22291:22625

12 years ago2.5 Timeline:
Thomas Dinges [Wed, 19 Aug 2009 09:12:21 +0000 (09:12 +0000)]
2.5 Timeline:

* Removed timeline_header.c with old Buttons code.

12 years agocmake cleanup (remove unused includes, make some within IF checks)
Campbell Barton [Wed, 19 Aug 2009 07:48:56 +0000 (07:48 +0000)]
cmake cleanup (remove unused includes, make some within IF checks)

12 years agoupdated for new transparency RNA names
Campbell Barton [Wed, 19 Aug 2009 01:11:18 +0000 (01:11 +0000)]
updated for new transparency RNA names

12 years agoNew scons option (WITHOUT_BF_PYTHON_INSTALL) to disable copying python files from...
Martin Poirier [Wed, 19 Aug 2009 01:03:34 +0000 (01:03 +0000)]
New scons option (WITHOUT_BF_PYTHON_INSTALL) to disable copying python files from system

12 years ago2.5: Headers
Brecht Van Lommel [Wed, 19 Aug 2009 00:55:30 +0000 (00:55 +0000)]
2.5: Headers

* Fix header menu spacing bug, and make it consistent for all headers.
* For consistency, always put menus first in the header, then any enums
  to switch the type of data displayed.
* Node editor header ported to python layout. Still quite a few
  operators missing to make the menus complete.
* RNA wrapped node editor, and added use_nodes property to material
  and scene.

12 years agoTexture node previews: Well and truly fixed.
Robin Allen [Wed, 19 Aug 2009 00:46:06 +0000 (00:46 +0000)]
Texture node previews: Well and truly fixed.


12 years agoFix for my previous fix.
Robin Allen [Tue, 18 Aug 2009 21:19:29 +0000 (21:19 +0000)]
Fix for my previous fix.

12 years ago2.5:
Nicholas Bishop [Tue, 18 Aug 2009 21:14:36 +0000 (21:14 +0000)]

* Fixed CMake includes for blenkernel
* Fixed an RNA property read that was causing failures in a couple paint modes

12 years agoFixed redraw issues in texture node tree.
Robin Allen [Tue, 18 Aug 2009 21:10:03 +0000 (21:10 +0000)]
Fixed redraw issues in texture node tree.

12 years agoScons compile fix.
Thomas Dinges [Tue, 18 Aug 2009 20:47:31 +0000 (20:47 +0000)]
Scons compile fix.

Missing blenfont directory, caused error.

12 years agoSVN maintenance.
Guillermo S. Romero [Tue, 18 Aug 2009 20:24:40 +0000 (20:24 +0000)]
SVN maintenance.

12 years agoFixed the texture preview to work with multi-output node-based textures.
Robin Allen [Tue, 18 Aug 2009 19:58:27 +0000 (19:58 +0000)]
Fixed the texture preview to work with multi-output node-based textures.

12 years agoStamp info back only for float buffer. (next commit add unsigned char).
Diego Borghetti [Tue, 18 Aug 2009 19:26:53 +0000 (19:26 +0000)]
Stamp info back only for float buffer. (next commit add unsigned char).

A couple of new functions:
BLF_width_and_height - Merge of BLF_width and BLF_height in one call to avoid freetype2 stuff.
BLF_buffer - Set the buffer, size and number of channel.
BLF_buffer_col - Set the text color (the alpha is not used right now).
BLF_draw_buffer - Draw the text in the current buffer.

Also tweak a little the boundbox and draw function to avoid access the freetype2 and use the cache info.
By default the font size is 12, the UI still need work to allow change the font and size.

12 years agoMissing libed_userpref in source/Makefile
Diego Borghetti [Tue, 18 Aug 2009 17:01:59 +0000 (17:01 +0000)]
Missing libed_userpref in source/Makefile

12 years ago2.5: Middle mouse button emulation with alt + left mouse button
Brecht Van Lommel [Tue, 18 Aug 2009 16:11:53 +0000 (16:11 +0000)]
2.5: Middle mouse button emulation with alt + left mouse button
works again, implemented at windowmanager level this time.

12 years agoBGE guardedalloc, Uses WITH_CXX_GUARDEDALLOC but gives a string to MEM_mallocN for...
Campbell Barton [Tue, 18 Aug 2009 15:37:31 +0000 (15:37 +0000)]
BGE guardedalloc, Uses WITH_CXX_GUARDEDALLOC but gives a string to MEM_mallocN for better tracking memory usage.

* off by default.
* new/delete are at the bottom of each class
* python BGE objects have the new/delete in the Py_Header macro.

12 years ago2.5: Game Engine
Brecht Van Lommel [Tue, 18 Aug 2009 15:27:48 +0000 (15:27 +0000)]
2.5: Game Engine

* Added Shading and Performance panels in the scene buttons,
  containing the options previously in the 2.4x game menu.
* Added show framerate/debug/physics/warnings back in game menu.
* Moved these settings from G.fileflags to scene GameData.
* Enabled Display Lists by default.
* Some other small game scene button tweaks.

12 years agocompile time option to override C++'s new/delete to use guardedalloc, useful for...
Campbell Barton [Tue, 18 Aug 2009 15:20:29 +0000 (15:20 +0000)]
compile time option to override C++'s new/delete to use guardedalloc, useful for debugging. shows memory leaks very quickly. currently cmake only - WITH_CXX_GUARDEDALLOC

12 years agoFixed some redraw problems with texture nodes.
Robin Allen [Tue, 18 Aug 2009 14:31:13 +0000 (14:31 +0000)]
Fixed some redraw problems with texture nodes.

12 years ago2.5:
Brecht Van Lommel [Tue, 18 Aug 2009 12:58:51 +0000 (12:58 +0000)]

* Split Info and User preferences into two separate spaces.
* Renamed Buttons Window to Properties also in RNA identifiers.

12 years ago2.5: RNA. Default values were not set when calling functions, this
Brecht Van Lommel [Tue, 18 Aug 2009 12:56:43 +0000 (12:56 +0000)]
2.5: RNA. Default values were not set when calling functions, this
is fixed now. Also added option for spaces without menus in the
header in uiTemplateHeader.

12 years agoRenamed Buttons Window to Properties, for these reasons:
William Reynish [Tue, 18 Aug 2009 12:10:12 +0000 (12:10 +0000)]
Renamed Buttons Window to Properties, for these reasons:

1) This fits with our splitting the old Buttons Window into Tools and Properties

2) The name Buttons Window doesn't communicate what it is for, only that it includes buttons. Of course, most other editors include a fair amount of 'buttons' too.

3) A 'button' is not usually what you'd associate with a slider, number field, checkbox or menu. Really there are hardly any true buttons in this window space.

Also added some notifiers to sequencer RNA, though there seems to be some refresh errors in the image preview area.

12 years ago2.5 - Fixing some drawing problems I noticed in ZanQdo's file...
Joshua Leung [Tue, 18 Aug 2009 11:48:34 +0000 (11:48 +0000)]
2.5 - Fixing some drawing problems I noticed in ZanQdo's file...

Alpha for icons wasn't getting set correctly in animation editors anymore. This commit should fix the issues there, though the scrollbars still have a few minor issues still too.

Also, NLA strips with repeats now have the repeat indicators drawn only 80% or so of the height, making it easier to distinguish between strips with repeats and bunches of strips.

12 years agomissed this define when renaming bullet defines
Campbell Barton [Tue, 18 Aug 2009 11:28:57 +0000 (11:28 +0000)]
missed this define when renaming bullet defines

12 years agoBugfix: Crash in demo file from ZanQdo (reported by jaguarandi).
Joshua Leung [Tue, 18 Aug 2009 11:25:50 +0000 (11:25 +0000)]
Bugfix: Crash in demo file from ZanQdo (reported by jaguarandi).

Was caused by old animation-system code that was no longer working. I've commented out this code for now until we need something like this again.