[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] [dev] pygame.transform.threshold changes to old behaviour
- To: pygame-users@xxxxxxxx
- Subject: [pygame] [dev] pygame.transform.threshold changes to old behaviour
- From: "René Dudfield" <renesd@xxxxxxxxx>
- Date: Wed, 26 Nov 2008 15:42:23 +1100
- Cc: "Marcus von Appen" <mva@xxxxxxxxxxxx>, "Nirav Patel" <nrpatel@xxxxxxxxx>
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Tue, 25 Nov 2008 23:42:27 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition; bh=2wYd3/FeHSrtR4omnmCzHzG3zHR8ShXTku7xcUSgMEQ=; b=JhS2oKL73Fram7wt2uNriPBd2XKrATDjQ21AztgiJUWB3br5ubCu36YtlztPDXASXd B/IsHdEkH5uFJYDbcBUn5RCrb665xeABz1tNl30Dwk3uFkFogNLYsOjpQJrN08CDTxkR IqjTQp109jywJM5NzbRCRABXrMlGc5iqQ0bdg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=CnQmiGBICMsV9jmjdVsByv6JFAVP/FEmcSzIl9zh5xpFEyru/2l7pIaEWf38CQOJBS j2P18Dcx2cHyBMPFz6I5Suyg1ShyvflM4YJxgeBEqwkVJuk6gHqRtbIhjm3wafSW1HMA 1OKEUhOEzvlj++gbDhdnN/6qcVvTOVf9XSVy4=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
I changed the behaviour in svn of this function back to pygame 1.8
functionality. In 1.8 it was changing the return to the value
specified in the color argument. However in svn it was changing the
return to the color obtained from the first surface.
I left the new functionality in there with the change_return == 2
argument, and left change_return == 1 to
I also updated the docs, and tests to match.
I don't know many people using the svn version behaviour except
Nirav... however if you are expecting that behaviour, please modify
your change_return to 2 to get that behaviour.
cu!