10 years agoreverting own recent change to switch off RULE_MESSAGES since you cant see which...
Campbell Barton [Wed, 9 Jun 2010 06:21:07 +0000 (06:21 +0000)]
reverting own recent change to switch off RULE_MESSAGES since you cant see which files are rebuilding.

10 years agoFix [#22111] Quad View panes have wrong view when switching between Global/Local...
Matt Ebb [Wed, 9 Jun 2010 04:54:10 +0000 (04:54 +0000)]
Fix [#22111] Quad View panes have wrong view when switching between Global/Local View

Joe already committed this to render branch in r28545, but it's not in trunk.
The code that was committed doesn't seem to work properly, either, needs braces.

10 years agoFix [#22538] Crash when Selecting Particle Properties Tab (File-dependant)
Matt Ebb [Wed, 9 Jun 2010 02:42:20 +0000 (02:42 +0000)]
Fix [#22538] Crash when Selecting Particle Properties Tab (File-dependant)

psys->parent pointer wasn't getting handled in lib_link_particlesystems()

10 years agoChanged the HairKey location rna prop to give a location in object space,
Matt Ebb [Wed, 9 Jun 2010 01:17:51 +0000 (01:17 +0000)]
Changed the HairKey location rna prop to give a location in object space,
rather than in its own internally used emitting-face-coordinate-system
(which is how the data is stored in DNA - that data now exists in rna as

Basically this makes the hair information that's in rna a lot more useful,
making it possible to export hair strands to external renderers for example.

10 years agoFix #22534 linking object data for two forces results in crash.
Diego Borghetti [Tue, 8 Jun 2010 20:24:28 +0000 (20:24 +0000)]
Fix #22534 linking object data for two forces results in crash.

This is because the make_links_data_exec don't check for the
object type like before, so try to access the obdata of an empty
and blender crash.

The solution is not the best, we have a new function
allow_make_links_data to check if we can links data from one
object to another.

The real solution is build the menu like the 2.4x, so only
show the options that we allow for the object type that
we have select/active.

Matt, any suggestion ?

10 years agotexture user attributes, users_material, users_object_modifier
Campbell Barton [Tue, 8 Jun 2010 13:03:49 +0000 (13:03 +0000)]
texture user attributes, users_material, users_object_modifier

10 years agobetter not have an instant crash key, script reload currently disabled ubless running...
Campbell Barton [Tue, 8 Jun 2010 10:56:59 +0000 (10:56 +0000)]
better not have an instant crash key, script reload currently disabled ubless running in debug mode.
removing keying sets and netrender makes reloading work so probably a problem with how rna works with these classes.

10 years agoReverting Tom's change to Merge to Quad in Trunk too
Daniel Salazar [Tue, 8 Jun 2010 10:42:35 +0000 (10:42 +0000)]
Reverting Tom's change to Merge to Quad in Trunk too

10 years agoAssorted View2D formatting tidyups...
Joshua Leung [Tue, 8 Jun 2010 00:51:57 +0000 (00:51 +0000)]
Assorted View2D formatting tidyups...

10 years agoBugfix #22453: Jump to Next keyframe doesn't work on some frame
Joshua Leung [Tue, 8 Jun 2010 00:08:45 +0000 (00:08 +0000)]
Bugfix #22453: Jump to Next keyframe doesn't work on some frame

Jump to keyframe would get 'stuck' if it encountered a keyframe on "fraction" frames. Now, it will try multiple times until it finds one.

10 years ago== python api docs ==
Luca Bonavita [Mon, 7 Jun 2010 23:50:43 +0000 (23:50 +0000)]
== python api docs ==


- removed lists if they were already available in bge.logic and crosslinked
  where the list contained description, moved the descriptions in bge.logic
  so we have useful thing in one place only
- fixed a lot of bad formatting, like bad indentation and usage of TAB
- changed from literal to codeblocks that smerch for the useful suggestion :)
- whered appropriate I've moved code examples to the end, after notes and all
  it is blocking to have a big black block before actually see a method parameters or return type
- have doubt about the list at bge.types.html#bge.types.SCA_MouseSensor.mode
  possibly tomorrow will ask Dalai


- added sensor status list
- cross linked with bge.types where needed
- added a section "ShapeAction Actuator" because in bge.types these constants are docuemented, but in 2.5 I don't see the ShapeAction Actuator
(anymore, or for now)
  I'll ask Dalai tomorrow or when possible (check bge.logic.html#shape-action-actuator once cambo rebuilds the docs)
- moved descriptions from bge.types lists to logic page where appropriate
- where possible, added custom directive :value: so we have a consistent way to show the value of constants

10 years agoMerge -c 29322 from COLLADA branch into trunk.
Arystanbek Dyussenov [Mon, 7 Jun 2010 20:37:56 +0000 (20:37 +0000)]
Merge -c 29322 from COLLADA branch into trunk.

10 years agoset the default options for new cameras to be the same as the default blend file
Campbell Barton [Mon, 7 Jun 2010 20:08:03 +0000 (20:08 +0000)]
set the default options for new cameras to be the same as the default blend file

10 years agoFix COLLADA build error. This was caused by the difference in OpenCollada versions...
Arystanbek Dyussenov [Mon, 7 Jun 2010 20:07:31 +0000 (20:07 +0000)]
Fix COLLADA build error. This was caused by the difference in OpenCollada versions between Windows and Linux/Mac. Windows uses OpenCollada revision 746, Linux/Mac - 721.

10 years agonode toggle preview and hidden socket key shortcuts (Ctrl+H, Shift+H)
Campbell Barton [Mon, 7 Jun 2010 20:03:40 +0000 (20:03 +0000)]
node toggle preview and hidden socket key shortcuts (Ctrl+H, Shift+H)

10 years agoReverting commit 21540, incorrect bugfix.
Nicholas Bishop [Mon, 7 Jun 2010 19:16:56 +0000 (19:16 +0000)]
Reverting commit 21540, incorrect bugfix.

10 years agoBugfix: copying a newly-created vertex group caused a crash.
Nicholas Bishop [Mon, 7 Jun 2010 18:50:19 +0000 (18:50 +0000)]
Bugfix: copying a newly-created vertex group caused a crash.

10 years agoFixed bug #21540, Array Modifier Capping refresh on open problem.
Nicholas Bishop [Mon, 7 Jun 2010 18:20:59 +0000 (18:20 +0000)]
Fixed bug #21540, Array Modifier Capping refresh on open problem.

* Problem was that the modifier directly accessed ob->derivedFinal, but that wasn't being built if the object was on a different layer. Changed to mesh_get_derived_final.

* I fixed this for array and boolean, reported in the bug; there might be other places affected by this mistake. It's an easy fix if so.
* The datamask being passed in isn't especially correct. Possibly we should be accessing the datamask being used to build the array modifier DerivedMesh? Anyway, at least this will get the mesh to show up in the viewport.

10 years agoFix #22487: Shrinkwrap ignores preceding deform modifiers
Sergey Sharybin [Mon, 7 Jun 2010 17:38:52 +0000 (17:38 +0000)]
Fix #22487: Shrinkwrap ignores preceding deform modifiers

ShrinkwrapCalcData->vert contains verts from derivedMesh this coordinated
are deformed by vertexCos only for normal projection (to get correct normals)
for other cases this field contains undeformed dm's coordinates and
vertexCos should be used

10 years agoFix bug #22317 View reamins in camera's view after camera is deleted.
Diego Borghetti [Mon, 7 Jun 2010 16:24:24 +0000 (16:24 +0000)]
Fix bug #22317 View reamins in camera's view after camera is deleted.

The object in the view3d don't get update, so point to the delete
camera and make Blender crash when you go into fly mode.

10 years agoman page from debian updated for 2.5, better maintain here for other linux distros.
Campbell Barton [Mon, 7 Jun 2010 15:37:59 +0000 (15:37 +0000)]
man page from debian updated for 2.5, better maintain here for other linux distros.

10 years agoSmoke UI:
Thomas Dinges [Mon, 7 Jun 2010 15:28:17 +0000 (15:28 +0000)]
Smoke UI:
* Greying out for Smoke High Resolution Panel.
* Code cleaning, removed some unnecessary declarations.

10 years agofix for crash with the job system progress bar on load, matt you may want to check...
Campbell Barton [Mon, 7 Jun 2010 14:54:42 +0000 (14:54 +0000)]
fix for crash with the job system progress bar on load, matt you may want to check if this case should be happening at all.

10 years agoFix #22331: mesh deform modifier not caculate all shape keys when using 'apply shape...
Sergey Sharybin [Mon, 7 Jun 2010 14:38:59 +0000 (14:38 +0000)]
Fix #22331: mesh deform modifier not caculate all shape keys when using 'apply shape keys in edit mode'

This modifier used undeformed coordinates from emDM.
Added method getVertCos to emDM, so meshdeform now could use it
to get deformed coordinates form any derived mesh.

10 years agominor changes to cmake, main noticable change is to disable RULE_MESSAGES which gives...
Campbell Barton [Mon, 7 Jun 2010 14:28:37 +0000 (14:28 +0000)]
minor changes to cmake, main noticable change is to disable RULE_MESSAGES which gives less output with makefiles (easier to spot warnings).

10 years agoFix [#22413] drag & drop images don't work untile you move the object
Matt Ebb [Mon, 7 Jun 2010 07:47:27 +0000 (07:47 +0000)]
Fix [#22413] drag & drop images don't work untile you move the object

10 years agoFix [#22494] Operator panel vanishes
Matt Ebb [Mon, 7 Jun 2010 06:50:56 +0000 (06:50 +0000)]
Fix [#22494] Operator panel vanishes

10 years agoFixed bug #22515, RegionView3D has weird width/height values
Nicholas Bishop [Mon, 7 Jun 2010 05:45:30 +0000 (05:45 +0000)]
Fixed bug #22515, RegionView3D has weird width/height values

* Changed the RNA for RegionView3D to not inherit from "Region", which is "ARegion" in DNA. As far as I know, in order to inherit like that the RegionView3D struct would need to start with an ARegion struct?

10 years agoFixed bug #22293, v2.49b to v2.5alpha2 incompatibility
Nicholas Bishop [Mon, 7 Jun 2010 04:48:22 +0000 (04:48 +0000)]
Fixed bug #22293, v2.49b to v2.5alpha2 incompatibility

* UV data on multires meshes wasn't getting imported properly. Fixed by separately loading in all "first-level" data from the old multires data type into mesh. Note that an "incorrect" data layers might still be loaded and be active on the mesh, but the correct layers should now also show up in the UV layer selector.

10 years agoCommitting tom's fix that went to his student's branch instead
Matt Ebb [Mon, 7 Jun 2010 03:57:49 +0000 (03:57 +0000)]
Committing tom's fix that went to his student's branch instead

10 years agoFixed bug #22361, missing graphics when sculpting with pinned shape keys
Nicholas Bishop [Mon, 7 Jun 2010 03:48:41 +0000 (03:48 +0000)]
Fixed bug #22361, missing graphics when sculpting with pinned shape keys

* Problem was that the sculpt PBVH was only used for redrawing if the derived mesh's vertices were equal the base mesh's vertices, which isn't the case when sculpting on shape keys.

10 years ago'fix' [#22527] Lens angle under View in 'N' panel does not change the camera view
Matt Ebb [Mon, 7 Jun 2010 03:44:54 +0000 (03:44 +0000)]
'fix' [#22527] Lens angle under View in 'N' panel does not change the camera view

Made the UI more clear that the Lens value is for the 3d view space data only.

10 years agoFix [#22504] Fluid is completely broken in latest 2.5 build (04.06.2010)
Matt Ebb [Mon, 7 Jun 2010 03:02:47 +0000 (03:02 +0000)]
Fix [#22504] Fluid is completely broken in latest 2.5 build (04.06.2010)

Silly typo - some other tweaks too.

10 years agoFixed bug #22518, Segfault on loading file
Nicholas Bishop [Mon, 7 Jun 2010 02:42:26 +0000 (02:42 +0000)]
Fixed bug #22518, Segfault on loading file
* Problem was a pointer not being updated after the tree was changed

10 years ago== Sequencer ==
Peter Schlaile [Sun, 6 Jun 2010 20:19:22 +0000 (20:19 +0000)]
== Sequencer ==

Applied: [#22490] Add Passepartout to Sequence Editor for frame ranges
Thanks to Keith Boshoff  (wahooney) for the patch!

10 years agoMade the operator panel larger to make more space for the operator settings. Was...
William Reynish [Sun, 6 Jun 2010 20:00:44 +0000 (20:00 +0000)]
Made the operator panel larger to make more space for the operator settings. Was always too small before.

10 years agoMerge -c 29280 from COLLADA branch into trunk.
Arystanbek Dyussenov [Sun, 6 Jun 2010 19:32:12 +0000 (19:32 +0000)]
Merge -c 29280 from COLLADA branch into trunk.

10 years agoSmall fix for sample line tool. Set luma data to 0 when out of bounds.
Xavier Thomas [Sun, 6 Jun 2010 16:26:49 +0000 (16:26 +0000)]
Small fix for sample line tool. Set luma data to 0 when out of bounds.

10 years agoRemoved non working operator options from the 'redo' user interface.
William Reynish [Sun, 6 Jun 2010 15:38:50 +0000 (15:38 +0000)]
Removed non working operator options from the 'redo' user interface.

This cleans up things like transform and duplicate a lot, which previously exposed lots of options that didn't work with tweaking.

10 years ago- Added checking if modifier is active in find_multires_modifier
Sergey Sharybin [Sun, 6 Jun 2010 15:22:27 +0000 (15:22 +0000)]
- Added checking if modifier is active in find_multires_modifier
- Pass MultiresModifierData to reshape functions

10 years agoCMake:
Campbell Barton [Sun, 6 Jun 2010 13:32:58 +0000 (13:32 +0000)]
- WITH_LCMS added option, was supported in scons.
- commented web plugin option since its not maintained.
- some formatting changes and removed includes that are not needed for source/creator/CMakeLists.txt.

10 years agoDon't report the python code for operators type which don't have the
Matt Ebb [Sun, 6 Jun 2010 08:52:33 +0000 (08:52 +0000)]
Don't report the python code for operators type which don't have the
'REGISTER' flag set.

10 years agoAdd particle system rna pointer property to the particle system modifier
Matt Ebb [Sun, 6 Jun 2010 08:51:53 +0000 (08:51 +0000)]
Add particle system rna pointer property to the particle system modifier

10 years agoremoved cmake include path in recent cleanup which was needed.
Campbell Barton [Sun, 6 Jun 2010 08:25:42 +0000 (08:25 +0000)]
removed cmake include path in recent cleanup which was needed.

10 years ago- WITH_CXX_GUARDEDALLOC working again
Campbell Barton [Sun, 6 Jun 2010 01:15:44 +0000 (01:15 +0000)]
- CMake building without python or fluidsim working again (broke in recent commit)
- remove BLI_short_filename(), it wasnt used anywhere.

10 years agoUpdate config file for win64 for OpenCOLLADA (r746)
Nathan Letwory [Sun, 6 Jun 2010 00:58:58 +0000 (00:58 +0000)]
Update config file for win64 for OpenCOLLADA (r746)

10 years agosmall warning fix.
Nathan Letwory [Sun, 6 Jun 2010 00:35:48 +0000 (00:35 +0000)]
small warning fix.

10 years ago* update CMake and SCons for the OpenCollada update (to r746).
Nathan Letwory [Sun, 6 Jun 2010 00:33:59 +0000 (00:33 +0000)]
* update CMake and SCons for the OpenCollada update (to r746).
  - DocumentExporter changed due to function name change in API
  - no more UTF lib
  - enabled by default for win32

Note: debug libs will be added later, as well as 64bit windows libs.

For other platforms, get r746 of OpenCollada and build against that.

10 years agofinish cleanup to cmake editors, also removed some stuff from scons thats not needed.
Campbell Barton [Sat, 5 Jun 2010 23:27:49 +0000 (23:27 +0000)]
finish cleanup to cmake editors, also removed some stuff from scons thats not needed.

10 years ago- [#22492] [29159] commit breaks importing of script file that has a reload to self...
Campbell Barton [Sat, 5 Jun 2010 21:19:59 +0000 (21:19 +0000)]
- [#22492] [29159] commit breaks importing of script file that has a reload to self in it
  broke when including the blend path in the modules filename.

- new function BLI_path_basename(), matches pythons os.path.basename().
  replace a number of cases where BLI_split_dirfile was being used to get the filename only.

10 years agorevert changes in own commit to fix warnings, was giving warnings with a newer swscale
Campbell Barton [Sat, 5 Jun 2010 16:52:19 +0000 (16:52 +0000)]
revert changes in own commit to fix warnings, was giving warnings with a newer swscale

10 years agoNode Editor: link to viewer (ctrl+shift click on node) now cycles through
Brecht Van Lommel [Sat, 5 Jun 2010 15:59:48 +0000 (15:59 +0000)]
Node Editor: link to viewer (ctrl+shift click on node) now cycles through
the node outputs instead of always linking the first one to the viewer.

10 years agolooks like this is needed for MSVC
Campbell Barton [Sat, 5 Jun 2010 15:48:15 +0000 (15:48 +0000)]
looks like this is needed for MSVC

10 years agoget rid of some warnings,
Campbell Barton [Sat, 5 Jun 2010 15:31:55 +0000 (15:31 +0000)]
get rid of some warnings,
removed NG_LoopBackNetworkDeviceInterface::GetNetworkVersion(), wasnt used anywhere.

10 years agoMoving FFMPEG lib path include to first in the list. This might fix '[#21312] 2.5...
Nathan Letwory [Sat, 5 Jun 2010 12:55:32 +0000 (12:55 +0000)]
Moving FFMPEG lib path include to first in the list. This might fix '[#21312] 2.5 Fails to Build Against Latest FFMPEG svn'

PS. note the nice palindromic bug report number.

10 years agoShow whether BF_DEBUG=1 or 0 in output.
Nathan Letwory [Sat, 5 Jun 2010 11:56:55 +0000 (11:56 +0000)]
Show whether BF_DEBUG=1 or 0 in output.

10 years agoChange to liblibjpeg, otherwise mingw looks for jpeg.lib instead of libjpeg.lib
Nathan Letwory [Sat, 5 Jun 2010 10:15:48 +0000 (10:15 +0000)]
Change to liblibjpeg, otherwise mingw looks for jpeg.lib instead of libjpeg.lib

10 years agoFix [#22503] Can't create any objects in new scenes.
Matt Ebb [Sat, 5 Jun 2010 00:21:26 +0000 (00:21 +0000)]
Fix [#22503] Can't create any objects in new scenes.

10 years agoMingW (both native and cross) now use the libjpeg.lib from lib/windows. This is the...
Nathan Letwory [Fri, 4 Jun 2010 23:38:17 +0000 (23:38 +0000)]
MingW (both native and cross) now use the libjpeg.lib from lib/windows. This is the compiled version from Sergey committed at r29226 (so please update your lib/windows too)

10 years agoremove cruft from cmake files, more to go
Campbell Barton [Fri, 4 Jun 2010 20:56:56 +0000 (20:56 +0000)]
remove cruft from cmake files, more to go

10 years agoFix bug #22153 and #21609
Diego Borghetti [Fri, 4 Jun 2010 19:31:14 +0000 (19:31 +0000)]
Fix bug #22153 and #21609

Can't leave edit mode if you enter to edit mode and hide the
object from the outliner.

Also fix the problem if you hide the object and enter edit mode
from the outliner.

To avoid this problem you can't enter edit mode from the outliner
if the object is not visible and also you can't hide the object
from the outliner if the object is in edit mode.

10 years agoSVN maintenance.
Guillermo S. Romero [Fri, 4 Jun 2010 18:26:15 +0000 (18:26 +0000)]
SVN maintenance.

10 years ago* Fixed a Typo in Convert menu.
Thomas Dinges [Fri, 4 Jun 2010 16:21:04 +0000 (16:21 +0000)]
* Fixed a Typo in Convert menu.

10 years ago== python api docs ==
Luca Bonavita [Fri, 4 Jun 2010 13:47:56 +0000 (13:47 +0000)]
== python api docs ==

- small change to indicate the source file we use the proper :file: directive and we link to proper file in svn
  check for example
  after you rebuild the docs

10 years agoopengl-render flag wasnt being cleared after rendering.
Campbell Barton [Fri, 4 Jun 2010 12:23:38 +0000 (12:23 +0000)]
opengl-render flag wasnt being cleared after rendering.

10 years agomissed this in filename --> filepath renaming
Campbell Barton [Fri, 4 Jun 2010 12:01:57 +0000 (12:01 +0000)]
missed this in filename --> filepath renaming

10 years agohave cmake build editors as different libs like scons and nan-makefiles
Campbell Barton [Fri, 4 Jun 2010 11:34:57 +0000 (11:34 +0000)]
have cmake build editors as different libs like scons and nan-makefiles

10 years agocheck to avoid divide by zero
Campbell Barton [Fri, 4 Jun 2010 11:31:39 +0000 (11:31 +0000)]
check to avoid divide by zero

10 years agoremove cruft from scons config.
Campbell Barton [Fri, 4 Jun 2010 07:17:12 +0000 (07:17 +0000)]
remove cruft from scons config.

10 years agoFix [#22480] brush/circle select (C-key) causes problems in other modes
Matt Ebb [Fri, 4 Jun 2010 06:02:46 +0000 (06:02 +0000)]
Fix [#22480] brush/circle select (C-key) causes problems in other modes

10 years agoFix [#22383] 3dView Layer Management (by Mouse) broken
Matt Ebb [Fri, 4 Jun 2010 01:39:34 +0000 (01:39 +0000)]
Fix [#22383] 3dView Layer Management (by Mouse) broken

10 years agosupport for building with scons & python 2.4x
Campbell Barton [Thu, 3 Jun 2010 23:37:51 +0000 (23:37 +0000)]
support for building with scons & python 2.4x

10 years agosolidify modifier wasnt requesting vertex groups when it needed them.
Campbell Barton [Thu, 3 Jun 2010 22:08:14 +0000 (22:08 +0000)]
solidify modifier wasnt requesting vertex groups when it needed them.

10 years ago[#22498] scene.objects.unlink() frees object
Campbell Barton [Thu, 3 Jun 2010 21:48:42 +0000 (21:48 +0000)]
[#22498] scene.objects.unlink() frees object
fix by Dan Eicher (dna)

10 years agoMade the sample line tool of the image editor use color management if needed.
Xavier Thomas [Thu, 3 Jun 2010 20:25:00 +0000 (20:25 +0000)]
Made the sample line tool of the image editor use color management if needed.

10 years agoremove unused env vars from --help
Campbell Barton [Thu, 3 Jun 2010 20:06:29 +0000 (20:06 +0000)]
remove unused env vars from --help

10 years agowave modifier was dividing by zero for each vertex with default settings of falloff...
Campbell Barton [Thu, 3 Jun 2010 19:56:13 +0000 (19:56 +0000)]
wave modifier was dividing by zero for each vertex with default settings of falloff == 0.0f.
annoying with --debug-fpe and better to use multiply in the loop.

10 years agodisable openmp for blenderlite scons target
Campbell Barton [Thu, 3 Jun 2010 18:25:03 +0000 (18:25 +0000)]
disable openmp for blenderlite scons target

10 years agoMerge -c 29009,29081,29189 from COLLADA branch into trunk.
Arystanbek Dyussenov [Thu, 3 Jun 2010 17:41:33 +0000 (17:41 +0000)]
Merge -c 29009,29081,29189 from COLLADA branch into trunk.

10 years ago[#22470] bpy.Image.gl_load/free()
Campbell Barton [Thu, 3 Jun 2010 16:26:04 +0000 (16:26 +0000)]
[#22470] bpy.Image.gl_load/free()
patch from Dan Eicher (dna)

10 years ago== python api docs ==
Luca Bonavita [Thu, 3 Jun 2010 14:26:38 +0000 (14:26 +0000)]
== python api docs ==

some more cleanup:

  - made structure in source/gameengine/PyDoc/ to be able to crosslink properly
  - cleaned notes and warnings syntax, and also now they are always the last elements after all the other tags
  - substituted some lists of possible values of a parameter with links to lists of values (not finished)
    like in bge.types.html#bge.types.SCA_PythonKeyboard
  - uncertain about some values, like in
    (list of KX_SENSOR_INACTIVE,... etc aren't documented or non-existant, will investigate)

10 years agosearch for scripts in the release directory relative to the blender binary.
Campbell Barton [Thu, 3 Jun 2010 13:31:50 +0000 (13:31 +0000)]
search for scripts in the release directory relative to the blender binary.

10 years agofix for buffer overrun with making a path relative.
Campbell Barton [Thu, 3 Jun 2010 13:05:45 +0000 (13:05 +0000)]
fix for buffer overrun with making a path relative.
would only happen when the names of the path and the relative location matched which isnt likely but happened today when Soenke somehow made a file link to its self.

10 years agoCopy Game Properties Operator: fix for "default enum value" out of the range. I remov...
Dalai Felinto [Thu, 3 Jun 2010 08:41:40 +0000 (08:41 +0000)]
Copy Game Properties Operator: fix for "default enum value" out of the range. I removed one item from the Enum and forgot to change the default.

10 years agoLogic Editor: more datablock lookups :)
Dalai Felinto [Thu, 3 Jun 2010 08:26:47 +0000 (08:26 +0000)]
Logic Editor: more datablock lookups :)
Now all the material properties have the nice Datablock Lookup menu (thanks a lot Matt !). They still store the property as a string, therefore if you change a material name the logic bricks using it don't get updated. it would be nice if we had a way to communicate that in the interface.

The only "datablock" field that doesn't have lookup is "property" in collision and ray sensors and Constraint Actuator. The reason being is that there is no global ListBase to gather the properties of all the objects in the scene. And it may be too overkill to create a list with all the properties on-the-fly only for that (it would be cool though)

10 years agosilly compile fix
Matt Ebb [Thu, 3 Jun 2010 07:47:49 +0000 (07:47 +0000)]
silly compile fix

10 years agoSmall memory management tweaks
Matt Ebb [Thu, 3 Jun 2010 07:28:47 +0000 (07:28 +0000)]
Small memory management tweaks

10 years agoReworked the non-blocking reports display in the info header:
Matt Ebb [Thu, 3 Jun 2010 07:27:55 +0000 (07:27 +0000)]
Reworked the non-blocking reports display in the info header:
* Now it displays the last report from the global list, not just from operators
* Rather than disappearing when a new operator is run, it stays until it times
out or a new report is added
* Fun animated transitions ;)

Now need to investigate report usage with popups. Ideally we can have most
 reports non-blocking, so they're less intrusive, only popping up for dire errors.
Problem is many things in Blender right now are marked as RPT_ERROR
when probably RPT_WARNING is more appropriate. Should probably keep
RPT_ERROR for things that demand immediate attention.

10 years agoLogic Editor: clear properties operator + logics in the object menu
Dalai Felinto [Thu, 3 Jun 2010 06:41:24 +0000 (06:41 +0000)]
Logic Editor: clear properties operator + logics in the object menu
clear properties operator
- now it's not part of the copy properties anymore (Matt's suggestion).

If anyone want to change the menu, please help yourself (renaming, putting in it's own submenu, making it invisible when mode is not Game ..)

10 years ago== python api docs ==
Luca Bonavita [Wed, 2 Jun 2010 22:56:08 +0000 (22:56 +0000)]
== python api docs ==

- now that I've made syntax changes in the previous commit I moved blocks to to have sensors/actuators grouped together
- added sections to have a nice table of contents
- formatted 2 lists and links to classes

10 years ago== python api docs ==
Luca Bonavita [Wed, 2 Jun 2010 21:28:17 +0000 (21:28 +0000)]
== python api docs ==

*  source/blender/python/doc/

changed syntax for declating attributes type to use :type: instead of *type* os it

* source/gameengine/Ketsji/KX_PythonInit.cpp

While documenting I've found that we have two naming conventions for constraints in BGE python api,
After talking with dalai and cambpell we agreed that this kind of change is better suited for NExyon GSoC
so I marked as TODO

Also, found 2 duplicate rows, fixed after askin nexyon

* source/gameengine/PyDoc/bge.logic.rst

there were 2 blocks for constraints, I've put them together in docs and fixed some other lines

* source/gameengine/PyDoc/bge.types.rst

first cleanup: mainly started using ":type:", it was mixed usage of *type* and **type**
started cleaning some bullet list in a way that varibles link to the constant in appropriate page
I'll continue later

10 years agoerror in last commit
Campbell Barton [Wed, 2 Jun 2010 19:37:53 +0000 (19:37 +0000)]
error in last commit

10 years agoSculpt & modifiers: patch by Sergey Sharybin, with modifications by me.
Brecht Van Lommel [Wed, 2 Jun 2010 18:04:31 +0000 (18:04 +0000)]
Sculpt & modifiers: patch by Sergey Sharybin, with modifications by me.

Fixes various crashes and redraw problems, most noticeable new feature
is that you can now sculpt on a multires mesh with deforming modifiers
preceding it.

I've left out support for sculpting on multires with enabled modifiers
following it, in this case only the base mesh can be sculpted now. The
code changes needed to do this are just too ugly in my opinion, would
need a more torough redesign which I don't think we should try now. In
my opinion this is also not really an important case, since it's going
to be incredibly slow anyway to run a modifier on a high res mesh while

So, to summarize current state:

* Fastest sculpting: base mesh with no modifiers or multires with only
  modifiers preceding it.
* Slower sculpting: base mesh with modifiers, depends on the speed of
  the modifiers.
* Not supported: multires mesh with modifiers following it.

10 years agorename some rna properties filename --> filepath
Campbell Barton [Wed, 2 Jun 2010 17:58:28 +0000 (17:58 +0000)]
rename some rna properties filename --> filepath
 * filename == "foo.ext"
 * filepath == "/path/to/and/including/foo.ext"

this was alredy followed in some places not not everywhere.

10 years agoBGE: Moving Constraint Actuator Defines. It was leading to some errors in documentation
Dalai Felinto [Wed, 2 Jun 2010 17:38:38 +0000 (17:38 +0000)]
BGE: Moving Constraint Actuator Defines. It was leading to some errors in documentation

10 years agoConstraint UI:
Thomas Dinges [Wed, 2 Jun 2010 17:01:50 +0000 (17:01 +0000)]
Constraint UI:
* Alphabetical order fix: [P]ivot comes before R and S ;-)

10 years agoAvoid reset the H and S value in the color picker when V is equal to zero!
Diego Borghetti [Wed, 2 Jun 2010 16:02:28 +0000 (16:02 +0000)]
Avoid reset the H and S value in the color picker when V is equal to zero!

Small change to keep the value of H and S when V come to zero, take care
that only work if you keep the color picker open.

When the color picker is closed, the H and S value are reset to zero
this is because the color picker is used in a lot of different place
and this value need to be reset.

(BTW reset to zero only when V is equal to zero!)

10 years agoinclude the blendfile name when executing python scripts, so when using libraries...
Campbell Barton [Wed, 2 Jun 2010 14:40:58 +0000 (14:40 +0000)]
include the blendfile name when executing python scripts, so when using libraries you can tell where the script is stored which raises an error.

10 years agoFix "Snap cursor to selected object" not working for linked object.
Diego Borghetti [Wed, 2 Jun 2010 13:41:05 +0000 (13:41 +0000)]
Fix "Snap cursor to selected object" not working for linked object.

The problem was CTX_DATA_BEGIN using selected_editable_objects and
not selected_objects.

10 years agoquiet warnings in screw modifier, also fix bad args for lookat_m4 and polarview_m4...
Campbell Barton [Wed, 2 Jun 2010 07:40:50 +0000 (07:40 +0000)]
quiet warnings in screw modifier, also fix bad args for lookat_m4 and polarview_m4 to rotate_m4, however these functions are not used at the moment so it didnt cause any problems.