Commit Graph

24453 Commits

Author SHA1 Message Date
Nathan Letwory
cc72f9b516 small warning fix. 2010-06-06 00:35:48 +00:00
Nathan Letwory
a6d5f43ac8 * 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.
2010-06-06 00:33:59 +00:00
Campbell Barton
2ebb1c63f7 finish cleanup to cmake editors, also removed some stuff from scons thats not needed. 2010-06-05 23:27:49 +00:00
Campbell Barton
4da179749e - [#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.
2010-06-05 21:19:59 +00:00
Campbell Barton
c120689203 revert changes in own commit to fix warnings, was giving warnings with a newer swscale 2010-06-05 16:52:19 +00:00
Brecht Van Lommel
df462b8975 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.
2010-06-05 15:59:48 +00:00
Campbell Barton
ea06e8c3fb looks like this is needed for MSVC 2010-06-05 15:48:15 +00:00
Campbell Barton
556b57febf get rid of some warnings,
removed NG_LoopBackNetworkDeviceInterface::GetNetworkVersion(), wasnt used anywhere.
2010-06-05 15:31:55 +00:00
Nathan Letwory
2403214cb4 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.
2010-06-05 12:55:32 +00:00
Nathan Letwory
24d5a1ce3a Show whether BF_DEBUG=1 or 0 in output. 2010-06-05 11:56:55 +00:00
Nathan Letwory
9ba5c24d01 Change to liblibjpeg, otherwise mingw looks for jpeg.lib instead of libjpeg.lib 2010-06-05 10:15:48 +00:00
Matt Ebb
eff8c83a1d Fix [#22503] Can't create any objects in new scenes. 2010-06-05 00:21:26 +00:00
Nathan Letwory
35ea04cfc7 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) 2010-06-04 23:38:17 +00:00
Campbell Barton
129bee4743 remove cruft from cmake files, more to go 2010-06-04 20:56:56 +00:00
Diego Borghetti
e40f425619 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.
2010-06-04 19:31:14 +00:00
Guillermo S. Romero
7639c5146f SVN maintenance. 2010-06-04 18:26:15 +00:00
Thomas Dinges
fff9b88ba8 * Fixed a Typo in Convert menu. 2010-06-04 16:21:04 +00:00
Luca Bonavita
677a0434a4 == 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 http://www.blender.org/documentation/250PythonDoc/bpy.ops.cloth.html#bpy.ops.cloth.preset_add
  after you rebuild the docs
2010-06-04 13:47:56 +00:00
Campbell Barton
8a42eebad5 opengl-render flag wasnt being cleared after rendering. 2010-06-04 12:23:38 +00:00
Campbell Barton
cac1b3c67f missed this in filename --> filepath renaming 2010-06-04 12:01:57 +00:00
Campbell Barton
55d3a2014c have cmake build editors as different libs like scons and nan-makefiles 2010-06-04 11:34:57 +00:00
Campbell Barton
9b94aaa211 check to avoid divide by zero 2010-06-04 11:31:39 +00:00
Campbell Barton
eb5f310e05 remove cruft from scons config. 2010-06-04 07:17:12 +00:00
Matt Ebb
6255105896 Fix [#22480] brush/circle select (C-key) causes problems in other modes 2010-06-04 06:02:46 +00:00
Matt Ebb
b0eee216d4 Fix [#22383] 3dView Layer Management (by Mouse) broken 2010-06-04 01:39:34 +00:00
Campbell Barton
ab5367e09f support for building with scons & python 2.4x 2010-06-03 23:37:51 +00:00
Campbell Barton
0729a58224 solidify modifier wasnt requesting vertex groups when it needed them. 2010-06-03 22:08:14 +00:00
Campbell Barton
591c8e8346 [#22498] scene.objects.unlink() frees object
fix by Dan Eicher (dna)
2010-06-03 21:48:42 +00:00
Xavier Thomas
a87dbe03e7 Made the sample line tool of the image editor use color management if needed. 2010-06-03 20:25:00 +00:00
Campbell Barton
b9cb3c91a8 remove unused env vars from --help 2010-06-03 20:06:29 +00:00
Campbell Barton
6d72150312 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.
2010-06-03 19:56:13 +00:00
Campbell Barton
54d764095f disable openmp for blenderlite scons target 2010-06-03 18:25:03 +00:00
Arystanbek Dyussenov
a545998c84 Merge -c 29009,29081,29189 from COLLADA branch into trunk. 2010-06-03 17:41:33 +00:00
Campbell Barton
6ac2ee5929 [#22470] bpy.Image.gl_load/free()
patch from Dan Eicher (dna)
2010-06-03 16:26:04 +00:00
Luca Bonavita
2beef23a9b == python api docs ==
some more cleanup:

  - made structure in source/gameengine/PyDoc/bge.events.rst 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 http://www.blender.org/documentation/250PythonDoc/bge.types.html#bge.types.SCA_ISensor.status 
    (list of KX_SENSOR_INACTIVE,... etc aren't documented or non-existant, will investigate)
2010-06-03 14:26:38 +00:00
Campbell Barton
c0a32f2f65 search for scripts in the release directory relative to the blender binary. 2010-06-03 13:31:50 +00:00
Campbell Barton
566c92fff7 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.
2010-06-03 13:05:45 +00:00
Dalai Felinto
4385add665 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. 2010-06-03 08:41:40 +00:00
Dalai Felinto
44845b8965 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)
2010-06-03 08:26:47 +00:00
Matt Ebb
115b0e2c0b silly compile fix 2010-06-03 07:47:49 +00:00
Matt Ebb
1b517c0926 Small memory management tweaks 2010-06-03 07:28:47 +00:00
Matt Ebb
21d112c36f 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 ;)
http://mke3.net/blender/devel/2.5/reports_header.mov

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.
2010-06-03 07:27:55 +00:00
Dalai Felinto
3b6aa5b6a5 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 ..)
2010-06-03 06:41:24 +00:00
Luca Bonavita
f5951ac2ea == 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
2010-06-02 22:56:08 +00:00
Luca Bonavita
e58bb562d2 == python api docs ==
*  source/blender/python/doc/sphinx_doc_gen.py
	
	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,
	example: KX_CONSTRAINTACT_DIRPZ and KX_ACT_CONSTRAINT_FHPX: the right convention is KX_CONSTRAINTACT_xxx
	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
2010-06-02 21:28:17 +00:00
Campbell Barton
cb26b4d7b9 error in last commit 2010-06-02 19:37:53 +00:00
Brecht Van Lommel
89320c911e 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
sculpting.


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.
2010-06-02 18:04:31 +00:00
Campbell Barton
9cbbc9d3af 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.
2010-06-02 17:58:28 +00:00
Dalai Felinto
fc59a6c6c8 BGE: Moving Constraint Actuator Defines. It was leading to some errors in documentation 2010-06-02 17:38:38 +00:00
Thomas Dinges
7d2f5a5c5d Constraint UI:
* Alphabetical order fix: [P]ivot comes before R and S ;-)
2010-06-02 17:01:50 +00:00