blender.git
10 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)

10 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

10 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

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

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

(Probably.)

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

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

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

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

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

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

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

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

10 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

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

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

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

10 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

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

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

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

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

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

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

10 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

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

10 years ago2.5 - Newly created KeyingSets are now automatically named properly.
Joshua Leung [Tue, 18 Aug 2009 04:15:47 +0000 (04:15 +0000)]
2.5 - Newly created KeyingSets are now automatically named properly.

10 years agoforgot to updated scons and make for the bullet defines
Campbell Barton [Tue, 18 Aug 2009 04:15:28 +0000 (04:15 +0000)]
forgot to updated scons and make for the bullet defines

10 years agoCMake/Warnings
Campbell Barton [Tue, 18 Aug 2009 03:24:46 +0000 (03:24 +0000)]
CMake/Warnings
* WITH_GAMEENGINE and WITH_BULLET were being added to the compiler flags, only define in areas that use them.
* removed C++ unix warnings by adding -Wno-invalid-offsetof -Wno-sign-compare. the py api uses invalid offsets for attributes.
* removed C unix -Wnested-externs warning, these are everywhere in blender.
* removed unused BGE python headers
* undefine _XOPEN_SOURCE and _POSIX_C_SOURCE in the BGE, python redefines.
* renamed USE_BULLET in collision.c to WITH_BULLET for consistency

10 years ago2.5/Sculpt:
Nicholas Bishop [Tue, 18 Aug 2009 01:39:49 +0000 (01:39 +0000)]
2.5/Sculpt:

* Added UI for rake mode

10 years ago2.5: RNA, defining enums, pointers and collections properties is now
Brecht Van Lommel [Tue, 18 Aug 2009 01:29:25 +0000 (01:29 +0000)]
2.5: RNA, defining enums, pointers and collections properties is now
possible from python, but it's still work in progress.

Pointers and collections are restricted to types derived from
IDPropertyGroup (same as for operators), because RNA knows how to
allocate/deallocate those.

Collections have .add() and .remove(number) functions that can be
used. The remove function should be fixed to take an other argument
than a number.

With the IDPropertyGroup restriction, pointers are more like nested
structs. They don't have add(), remove() yet, not sure where to put
them. Currently the pointer / nested struct is automatically allocated
in the get() function, this needs to be fixed, rule is that RNA get()
will not change any data for thread safety.

Also, it is only possible to add properties to structs after they have
been registered, which needs to be improved as well.

Example code:
http://www.pasteall.org/7201/python

10 years ago2.5/Sculpt:
Nicholas Bishop [Tue, 18 Aug 2009 01:19:00 +0000 (01:19 +0000)]
2.5/Sculpt:

* Added UI for brush stroke. Contains for now spacing and smooth stroke
* Removed Sculpt UI for airbrush -- doesn't do anything in sculpt mode
* Improved smooth stroke by using float instead of int precision, so smooth stroke is even smoother now

10 years ago2.5/Sculpt:
Nicholas Bishop [Mon, 17 Aug 2009 23:37:39 +0000 (23:37 +0000)]
2.5/Sculpt:

* Fixed tablet pressure for brush size.

10 years agoBugfix for time line: Fixing usage of uninitialized memory which resulted in e.g...
Daniel Genrich [Mon, 17 Aug 2009 22:27:08 +0000 (22:27 +0000)]
Bugfix for time line: Fixing usage of uninitialized memory which resulted in e.g. backward playing time line.

10 years agoImplemented multisampling for texture nodes.
Robin Allen [Mon, 17 Aug 2009 22:17:25 +0000 (22:17 +0000)]
Implemented multisampling for texture nodes.

10 years agoSlight refactor of texture nodes.
Robin Allen [Mon, 17 Aug 2009 20:30:11 +0000 (20:30 +0000)]
Slight refactor of texture nodes.

Delegates now receive a TexParams* instead of float *coords. This gives texture nodes access to dxt, dyt, cfra as well as coords. This fixes the time node and allows nice sampling to be implemented.

10 years agoNew command line argument to specify render engine
Martin Poirier [Mon, 17 Aug 2009 20:04:28 +0000 (20:04 +0000)]
New command line argument to specify render engine

-E <engine>

-E help: lists all available engine and then quits. (blender window might flash open and then disappear. io python scripts need to be read for all engine, so we have to load interface and not do that before like other help options).

When run after -b, only builtin engines are available because of the python scripts not being read correctly bug.

10 years ago2.5/Ghost:
Nicholas Bishop [Mon, 17 Aug 2009 19:54:29 +0000 (19:54 +0000)]
2.5/Ghost:

* Hopefully fixed X tablet support. The name string was not a reliable way of finding tablet anymore, so now we get the type string and search it for 'stylus' and 'eraser'. Still not very robust, but without UI I don't see how to do better.

10 years agoMade texture nodes accessible in the interface.
Robin Allen [Mon, 17 Aug 2009 18:37:58 +0000 (18:37 +0000)]
Made texture nodes accessible in the interface.

* Exposed Tex.use_nodes, Tex.nodetree, MTex.which_output in RNA
* Added node controls to texture buttons (Use Nodes and Use Output)
* Made new texture outputs have unique names by default, though unique names still aren't required.

Note: The preview window in the texture buttons only takes which_output into account when in "material" mode, and in the material half of "both" mode; the plain texture display ignores the user's output choice.

This is because ED_preview_draw draws a Tex* and not an MTex* -- still some work to do here.

10 years ago- rna sequence sound was referencing unknown struct
Campbell Barton [Mon, 17 Aug 2009 18:07:40 +0000 (18:07 +0000)]
- rna sequence sound was referencing unknown struct
- cmake was using libs that were disabled (whitespace changes too)
- unit conversion missing checks for % ~ & operators

10 years ago2.5/Sculpt:
Nicholas Bishop [Mon, 17 Aug 2009 17:49:33 +0000 (17:49 +0000)]
2.5/Sculpt:

* Fixed a mem leak with the grab brush

10 years ago2.5 Particle edit:
Nicholas Bishop [Mon, 17 Aug 2009 17:34:15 +0000 (17:34 +0000)]
2.5 Particle edit:

* Fixed cursor poll, so the cursor won't show up outside the 3d view

10 years ago2.5 editmode:
Nicholas Bishop [Mon, 17 Aug 2009 17:26:58 +0000 (17:26 +0000)]
2.5 editmode:

* Added a poll to the editmode operator that checks first that the object is an editable type (no more tabkey on camera, bug reported by DingTo)

10 years agorna reference doc generation
Campbell Barton [Mon, 17 Aug 2009 17:26:54 +0000 (17:26 +0000)]
rna reference doc generation
- rna classes,  only include props and functions that are not inherited (epydoc then gives inheritance info)
- include function arguments and return values for in cross reference

10 years ago2.5:
Nicholas Bishop [Mon, 17 Aug 2009 17:14:37 +0000 (17:14 +0000)]
2.5:

* Added icons to viewport shading enum. On a side note, why do we have an icon called "ICON_POTATO" for texture mode?
* Fixed clay brush at zero-strength bug, was dividing by zero. Still todo is fixing clay brush strength relative to other brushes.

10 years ago2.5
Ton Roosendaal [Mon, 17 Aug 2009 16:54:52 +0000 (16:54 +0000)]
2.5

Stablity commit: on render, all running jobs are stopped now (previews,
composite, screencast). First render has to be more threadsafe, to allow
multiple renders simulatenously.

10 years ago2.5/Sculpt:
Nicholas Bishop [Mon, 17 Aug 2009 16:08:09 +0000 (16:08 +0000)]
2.5/Sculpt:

* Hopefully fixed the tablet pressure in sculpt mode? Can't test because Blender isn't seeing my tablet.

10 years ago2.5 paint:
Nicholas Bishop [Mon, 17 Aug 2009 15:17:45 +0000 (15:17 +0000)]
2.5 paint:

* Fixed texture paint UI

10 years ago2.5 Paint:
Nicholas Bishop [Mon, 17 Aug 2009 15:05:18 +0000 (15:05 +0000)]
2.5 Paint:

* Updated the brush selection UI to make the slots less apparent; adding and removing brushes now directly adds and removes slots.

10 years agounits with no separator can now be typed into number buttons - eg, 5'7" 2km4m
Campbell Barton [Mon, 17 Aug 2009 12:48:56 +0000 (12:48 +0000)]
units with no separator can now be typed into number buttons - eg, 5'7"  2km4m

10 years ago2.5 Timeline:
Thomas Dinges [Mon, 17 Aug 2009 11:45:24 +0000 (11:45 +0000)]
2.5 Timeline:

* Added "Only selected" Option in View menu.

10 years ago* libjack.dll copying
Nathan Letwory [Mon, 17 Aug 2009 11:39:34 +0000 (11:39 +0000)]
* libjack.dll copying

10 years ago* I accidently committed a tainted SConstruct with some old tests. This disabled...
Nathan Letwory [Mon, 17 Aug 2009 11:37:43 +0000 (11:37 +0000)]
* I accidently committed a tainted SConstruct with some old tests. This disabled copying of Python .dlls. Fixed.

10 years ago2.5 - Bugfixes:
Joshua Leung [Mon, 17 Aug 2009 10:39:03 +0000 (10:39 +0000)]
2.5 - Bugfixes:

* Reverse playback works again. Flag was getting overriden before it had a chance to do anything

* Active KeyingSet field in TimeLine header should now only be marked as editable when there are some Keying Sets. However, there still seems to be a bug when trying to change this...

TODO (Brecht?): it would be nice to be able to specify a list/collection of data for pointer-buttons that aren't ID's.

10 years ago2.5 3DView:
Thomas Dinges [Mon, 17 Aug 2009 10:13:24 +0000 (10:13 +0000)]
2.5 3DView:
* Ported Edit Menus to python.
Many thanks to Lorenzo Pierfederici (lento) for this patch.

10 years ago* Jack support should be off by default until things have been cleared up (see meetin...
Nathan Letwory [Mon, 17 Aug 2009 09:20:14 +0000 (09:20 +0000)]
* Jack support should be off by default until things have been cleared up (see meeting notes 16.8.2009)

10 years ago2.5 - Keying Sets Fixes
Joshua Leung [Mon, 17 Aug 2009 07:35:38 +0000 (07:35 +0000)]
2.5 - Keying Sets Fixes

* Properly wrapped Keying Sets in RNA. Now the timeline header shows a popup for choosing KeyingSets instead of the nasty index button.

* Fixed bugs in Outliner code for adding/removing array elements to Keying Sets. This makes it possible to add only the x and z location settings for an object for example.

10 years agopaint toolbox layout grouping
Campbell Barton [Mon, 17 Aug 2009 07:35:23 +0000 (07:35 +0000)]
paint toolbox layout grouping

10 years agoscons support for extracting python from the system on unix os's
Campbell Barton [Mon, 17 Aug 2009 07:34:41 +0000 (07:34 +0000)]
scons support for extracting python from the system on unix os's

10 years ago2.5 Texture paint:
Nicholas Bishop [Mon, 17 Aug 2009 04:40:59 +0000 (04:40 +0000)]
2.5 Texture paint:

* Converted to use Paint struct. Now all the brush modes are done.

TODO:
* Make the UI better

10 years agomesh operator documentation patch from Ron walker, (edited a few of the descriptions)
Campbell Barton [Mon, 17 Aug 2009 04:15:53 +0000 (04:15 +0000)]
mesh operator documentation patch from Ron walker, (edited a few of the descriptions)

10 years ago2.5/Sculpt:
Nicholas Bishop [Mon, 17 Aug 2009 03:16:14 +0000 (03:16 +0000)]
2.5/Sculpt:

* Some UI fixes suggested by broken, removed specialized Add Brush menu in favor of standard ID add button, also put a separator between brush selection and brush properties.

10 years ago2.5 Paint:
Nicholas Bishop [Mon, 17 Aug 2009 02:49:31 +0000 (02:49 +0000)]
2.5 Paint:

* Converted vertex paint and weight paint to use the new Paint type

10 years ago== SCons ==
Nathan Letwory [Mon, 17 Aug 2009 01:16:50 +0000 (01:16 +0000)]
== SCons ==
* add jack support for audio system.
  Note that for OSX jack support is still off by default, since
  I'm not sure about what goes where. OSX maintainers, please check and fix.

10 years ago2.5 Paint:
Nicholas Bishop [Mon, 17 Aug 2009 00:39:00 +0000 (00:39 +0000)]
2.5 Paint:

* Refactored the file write/read code for the new Paint type. Just used for sculpt for now, but this'll make it easier when the other paint modes are converted.

10 years ago2.5 Armatures:
Nicholas Bishop [Mon, 17 Aug 2009 00:24:49 +0000 (00:24 +0000)]
2.5 Armatures:

* Missed one posemode flag-to-mode switch, drawing of armatures works correct now.

10 years ago2.5 Timeline:
Thomas Dinges [Mon, 17 Aug 2009 00:22:04 +0000 (00:22 +0000)]
2.5 Timeline:

Some fixes:
* Added missing "Layered" Button.
* Jump to last keyframe operator was called incorrect.

10 years ago2.5: Fix timeline space redraw properties, these were not RNA wrapped
Brecht Van Lommel [Sun, 16 Aug 2009 23:37:46 +0000 (23:37 +0000)]
2.5: Fix timeline space redraw properties, these were not RNA wrapped
correct, and were missing update. Also moved this update code to
screen_edit.c, next to the other animation play stuff.

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

* Fixed a few warnings (unused vars, missing forward struct)

10 years ago2.5: Render Api
Brecht Van Lommel [Sun, 16 Aug 2009 22:53:15 +0000 (22:53 +0000)]
2.5: Render Api

* Add RenderResult.load_from_file to load whole multilayer exr's at once.
* Removed x/y offset from RenderLayer.load_from_file, better to encourage
  using offset in begin_result() to minimize memory usage.
* Added WITH_OPENEXR in some screen/file/image module for scons/make, exr
  was not working in some places there.

10 years ago2.5
Brecht Van Lommel [Sun, 16 Aug 2009 22:49:17 +0000 (22:49 +0000)]
2.5

* Use scene->r.audio instead of scene->audio everywhere, was using both still.
* Fix time_top_left_3dwindow link error, not sure why this happens, somehow
  with scons building it seems that files (like time_header.c) wich are not
  called from the same .a module get stripped?

10 years agoAdd jack subdir makefile and standarize audaspace sub-lib names.
Guillermo S. Romero [Sun, 16 Aug 2009 22:48:30 +0000 (22:48 +0000)]
Add jack subdir makefile and standarize audaspace sub-lib names.
Jack support not enabled for now.

10 years agoAdd debug support like other libs.
Guillermo S. Romero [Sun, 16 Aug 2009 22:35:22 +0000 (22:35 +0000)]
Add debug support like other libs.

10 years ago2.5 Timeline:
Thomas Dinges [Sun, 16 Aug 2009 22:01:20 +0000 (22:01 +0000)]
2.5 Timeline:
* Finally the header and menus are done via python.
* Added RNA for sync audio.

Note: This is just a basic working version in python. It needs more work and some layout changes.
Joshua: Feel free to adjust this further :)

10 years ago2.5:
Nicholas Bishop [Sun, 16 Aug 2009 21:05:57 +0000 (21:05 +0000)]
2.5:

Fixed a crasher reported in IRC by DingTo (bad pointer dereference)

10 years agoSVN maintenance.
Guillermo S. Romero [Sun, 16 Aug 2009 20:53:10 +0000 (20:53 +0000)]
SVN maintenance.

10 years ago2.5: Sound
Brecht Van Lommel [Sun, 16 Aug 2009 20:37:22 +0000 (20:37 +0000)]
2.5: Sound

* Move sound_init to make sure it gets called everytime user
  preferences is reloaded.
* Merged sound_reinit and sound_init. One used user preferences
  while the other did not, don't see the point of this, so just
  made it always use user preferences now.
* Timeline header audio sync option now controls scene flag
  rather than timeline flag. Since it uses the same playback
  operator now, there is no distinction anymore.
* Added boolean property sync to animation play operator, to sync
  with audio or not. Uses scene setting if property is not set.
* Playback stop button in info header now calls operator, so sounds
  stop playing too.

10 years ago2.5: Added operator ui() callback for defining own ui layout
Brecht Van Lommel [Sun, 16 Aug 2009 20:23:34 +0000 (20:23 +0000)]
2.5: Added operator ui() callback for defining own ui layout
to show properties.

* One problem is that we currently have 3 different kinds of
  property layouts, single column, two column, and single column
  with text inside button, probably best to reduce this..
* Last operator panel now shows operator name in the header.
* Fix extrude operator to not include transform properties
  anymore, since they are already there now due to macro system.

10 years ago2.5: Update GPU module to deal with removed G_TEXTUREPAINT
Brecht Van Lommel [Sun, 16 Aug 2009 20:14:49 +0000 (20:14 +0000)]
2.5: Update GPU module to deal with removed G_TEXTUREPAINT
global, passing along enable/disable mipmap setting through
various functions instead.

10 years ago2.5 Sculpt:
Nicholas Bishop [Sun, 16 Aug 2009 19:50:00 +0000 (19:50 +0000)]
2.5 Sculpt:

* Added a new Paint type in scene DNA. This is now the base struct for Sculpt.
* The Paint type contains a list of Brushes, you can add or remove these much like material and texture slots.
* Modified the UI for the new Paint type, now shows the list of brushes active for this mode
* Added a New Brush operator, shows in the UI as a list of brush tool types to add
* Made the sculpt tool property UI smaller and not expanded, expectation is that we will have a number of preset brushes that will cover the basic sculpt brush types

TODO:
* Vertex paint, weight paint, texture paint need to be converted to this system next
* Add brush presets to the default blend

10 years ago2.5
Ton Roosendaal [Sun, 16 Aug 2009 18:25:22 +0000 (18:25 +0000)]
2.5

Another keymap goodie for test fun: Tweak events allow to be limited
to a direction, like North, South-West, etc.

Tested with View3D keymap for border, circle & lasso. Issue to look at
still is whether a border should start immediate, or first draw a cross...
this can be an operator property of course.

Note that tweak code can be extended to corner-gestures too (so you can
do a north+east, north+west, and so on... nice for later).

Time to get keymap saving work! :)

(Fixed bug in Mesh edit circle select, missing notifier)

10 years agocopy the systems python to the install dir for re-distrobution (non-osx unix), remove...
Campbell Barton [Sun, 16 Aug 2009 18:14:17 +0000 (18:14 +0000)]
copy the systems python to the install dir for re-distrobution (non-osx unix), removed some unused stuff in makefiles

10 years ago2.5
Ton Roosendaal [Sun, 16 Aug 2009 17:42:09 +0000 (17:42 +0000)]
2.5

Muscle flexing commit; put the "any key modifier" to work, also exposed
(ugly) in keymap editor. Notes for it works:

- You can use any keyboard key to become modifier now (not mouse buttons)
- But, if this key was assigned to be a regular hotkey, that still gets
  triggered, obviously.
- So: only use unused keys for this, like "~" or other special ones?

For test fun: L+K now does animplay.

10 years ago2.5 Object mode:
Nicholas Bishop [Sun, 16 Aug 2009 16:38:32 +0000 (16:38 +0000)]
2.5 Object mode:

* Cleaned up code in 3d header; still requires custom code for creating the object mode button, but removed all the nasty V3D_XXXMODE stuff, and the mode switching code is now just an operator call.

10 years agosimple crash fix
Campbell Barton [Sun, 16 Aug 2009 16:35:14 +0000 (16:35 +0000)]
simple crash fix

10 years ago2.5 Timeline:
Thomas Dinges [Sun, 16 Aug 2009 16:15:13 +0000 (16:15 +0000)]
2.5 Timeline:

* Python conversion is nearly done, still uncommented.

10 years agorna function return values in generated docs,
Campbell Barton [Sun, 16 Aug 2009 15:46:09 +0000 (15:46 +0000)]
rna function return values in generated docs,
added prop.use_return so you can tell if a prop is a return value.

10 years agotweaked units layout
William Reynish [Sun, 16 Aug 2009 15:45:27 +0000 (15:45 +0000)]
tweaked units layout

10 years ago2.5: RNA, added context.screen.animation_playing to detect
Brecht Van Lommel [Sun, 16 Aug 2009 15:34:30 +0000 (15:34 +0000)]
2.5: RNA, added context.screen.animation_playing to detect
animation playback.

10 years agoAdded jack audio support, building with cmake only currently, feel free to add scons...
Joerg Mueller [Sun, 16 Aug 2009 14:53:11 +0000 (14:53 +0000)]
Added jack audio support, building with cmake only currently, feel free to add scons and maybe cmake.

10 years ago2.5/RNA:
Nicholas Bishop [Sun, 16 Aug 2009 14:43:08 +0000 (14:43 +0000)]
2.5/RNA:

* Added Context access to RNA_property_as_string. This is needed for doing a Python call to the object mode set operator, which has a dynamic enum property that needs context.

10 years ago2.5:
Thomas Dinges [Sun, 16 Aug 2009 14:38:59 +0000 (14:38 +0000)]
2.5:

* Removed some more old sculpt layout code.

* Fixed Channel hack in sequencer. This is now fixed in layout engine.

10 years ago2.5
Ton Roosendaal [Sun, 16 Aug 2009 13:51:33 +0000 (13:51 +0000)]
2.5

Small fix: region-zones (currently triangles) overlapped when closed in
cases. Happened for 3d window toolbar for example.

10 years ago2.5
Ton Roosendaal [Sun, 16 Aug 2009 13:01:40 +0000 (13:01 +0000)]
2.5

Flaw in python UI for headers: code missing to correctly set the total
width of header, plus obsolete call in view3d header template to set width.

Now MMB scroll of view3d header works again.

10 years ago2.5 3DView Header:
Thomas Dinges [Sun, 16 Aug 2009 12:52:57 +0000 (12:52 +0000)]
2.5 3DView Header:

* Sculpt Menu is now written in python.
* Select Menus are only for Object, Edit and Particle Mode, added code to check on that, fixed Console warnings.

* Fixed a typo in armature buttons, reported in IRC by "ebrain".

10 years agoown mistake, __rna__ wasnt causing circular references. python can handle this. chang...
Campbell Barton [Sun, 16 Aug 2009 12:29:46 +0000 (12:29 +0000)]
own mistake, __rna__ wasnt causing circular references. python can handle this. changing broke python operators like the pyConsole.

10 years ago2.5
Ton Roosendaal [Sun, 16 Aug 2009 11:45:25 +0000 (11:45 +0000)]
2.5

Skipping UI script and keymap calls for -b background mode.

10 years agoMinor adjustments to particle buttons and particle brush panels. Use only two rows...
William Reynish [Sun, 16 Aug 2009 11:25:18 +0000 (11:25 +0000)]
Minor adjustments to particle buttons and particle brush panels. Use only two rows in lists, and added greying out.

10 years ago2.5
Ton Roosendaal [Sun, 16 Aug 2009 11:19:22 +0000 (11:19 +0000)]
2.5

AUD library Makefile missed ranlib for OSX.

10 years agounits for edge length and area mesh drawing.
Campbell Barton [Sun, 16 Aug 2009 11:16:04 +0000 (11:16 +0000)]
units for edge length and area mesh drawing.

10 years agoMinor adjustments to game physics. Moved some of the name changes into RNA and moved...
William Reynish [Sun, 16 Aug 2009 09:47:33 +0000 (09:47 +0000)]
Minor adjustments to game physics. Moved some of the name changes into RNA and moved some options around for nicer alignment.

10 years ago- typos in boxpack comments (incorrectly had comment that it was from NAN)
Campbell Barton [Sun, 16 Aug 2009 08:36:08 +0000 (08:36 +0000)]
- typos in boxpack comments (incorrectly had comment that it was from NAN)
- removed unused defines STREQ, STREQ2, STREQ3 and MINSIZE